qt6-bb10/src/opengl
Marc Mutz ccb2e4dbb1 QOpenGLBuffer: add move-SMFs and swap()s
- add move special member functions (docs copied from QHostInfo)

- add member swap

- use move-and-swap, not pure-swap, because these objects hold
  resources (handles) other than just memory

- Q_DECLARE_SHARED (it's not implicitly shared, but explicitly)
  - adds ADL swap and Q_DECLARE_TYPEINFO

[ChangeLog][QtOpenGL][QOpenGLBuffer] Added member-swap(), move
constructor, move assignment operator.

Change-Id: I22dc92108bdd393fff4361db23e94eaf3d7ea9cc
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-07-20 13:15:55 +02:00
..
doc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Add missing header files to the module sources 2022-05-12 16:34:25 +02:00
qopengl2pexvertexarray.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengl2pexvertexarray_p.h Gui: mark types Q_PRIMITIVE_TYPE when they're held in QDataBuffer 2022-07-08 20:14:52 +00:00
qopenglbuffer.cpp QOpenGLBuffer: add move-SMFs and swap()s 2022-07-20 13:15:55 +02:00
qopenglbuffer.h QOpenGLBuffer: add move-SMFs and swap()s 2022-07-20 13:15:55 +02:00
qopenglcompositor.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglcompositor_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglcompositorbackingstore.cpp Make rhiFlush() support custom source DPR 2022-06-14 21:16:35 +02:00
qopenglcompositorbackingstore_p.h Make rhiFlush() support custom source DPR 2022-06-14 21:16:35 +02:00
qopenglcustomshaderstage.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglcustomshaderstage_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengldebug.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengldebug.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglengineshadermanager.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglengineshadermanager_p.h Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglengineshadersource_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglframebufferobject.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglframebufferobject.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglframebufferobject_p.h Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglfunctions_1_0.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_0.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_1.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_2.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_2.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_3.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_3.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_4.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_4.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_5.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_1_5.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_2_0.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_2_0.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_2_1.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_2_1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_0.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_0.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_1.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_2_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_3_3_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_0_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_1_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_2_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_3_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_4_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_compatibility.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_compatibility.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_core.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_4_5_core.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_es2.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglfunctions_es2.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglgradientcache.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglgradientcache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintdevice_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpaintengine.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglpaintengine_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpixeltransferoptions.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglpixeltransferoptions.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglqueryhelper_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglshadercache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglshaderprogram.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglshaderprogram.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexture.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopengltexture.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexture_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureblitter.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureblitter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturecache.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturecache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureglyphcache.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureglyphcache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturehelper.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltexturehelper_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureuploader.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureuploader_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltimerquery.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltimerquery.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctions.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctions.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctions_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctionsfactory.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionfunctionsfactory.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionprofile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglversionprofile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglvertexarrayobject.cpp Avoid including qopenglfunctions header files if Qt is built with GLES2 2022-06-28 10:52:23 +02:00
qopenglvertexarrayobject.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglvertexarrayobject_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglwindow.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qopenglwindow.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtopengl.tracepoints Fix compilation error when LTTng enabled 2021-03-25 15:37:55 +09:00
qtopenglglobal.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvkconvenience.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvkconvenience_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00