qtbase/examples/opengl
Laszlo Agocs 9fbc5f1c73 cube example: Switch to a power-of-two texture
Just to make sure it runs with strict WebGL 1 implementations.

This cannot generally be a solution, naturally, so requiring
WebGL 2 is more likely the way to go, but in the case of this
example it seems the only thing we need is to resize the image
file, so we might just as well do that.

Task-number: QTBUG-111304
Change-Id: I1b4a72ac1a7b94575bf1abd61c5aa722959c92e4
Reviewed-by: Inho Lee <inho.lee@qt.io>
(cherry picked from commit 051ba40997)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-04-19 17:12:09 +00:00
..
2dpainting Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
contextinfo Fix ContextInfo example crashing on Android 2023-01-31 19:45:21 +00:00
cube cube example: Switch to a power-of-two texture 2023-04-19 17:12:09 +00:00
doc Move hellogles3 docs to where the rest of these files live 2023-03-31 06:44:07 +00:00
hellogl2 Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
hellogles3 Move hellogles3 docs to where the rest of these files live 2023-03-31 06:44:07 +00:00
openglwindow Examples: Add missing include guards 2023-02-01 22:58:09 +00:00
qopenglwidget Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
stereoqopenglwidget Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01:00
textures Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Remove erroneous widget dependency for hellogles3 2023-03-31 06:44:05 +00:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00
opengl.pro Remove erroneous widget dependency for hellogles3 2023-03-31 06:44:05 +00:00

README

Qt provides support for integration with OpenGL implementations on all
platforms, giving developers the opportunity to display hardware accelerated
3D graphics alongside a more conventional user interface.

These examples demonstrate the basic techniques used to take advantage of
OpenGL in Qt applications.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.