qt6-bb10/tests/auto/gui
Laszlo Agocs 8827cd657d rhi: gl: Add support for importing an existing renderbuffer object
Normally we only allow creating wrappers for texture objects. These
can then be used with a QRhiTextureRenderTarget to allow rendering into
an externally created texture.

With OpenGL (ES), there are additional, special cases, especially on
embedded. Consider EGLImages for example. An EGLImageKHR can be bound to
a renderbuffer object (glEGLImageTargetRenderbufferStorageOES), which
can then be associated with a framebuffer object to allow rendering into
the external buffer represented by the EGLImage. To implement the same
via QRhi one needs a way to create a wrapping QRhiRenderBuffer for the
native OpenGL renderbuffer object.

Here we add a createFrom() to QRhiRenderBuffer, while providing a dummy,
default implementation. The only real implementation is in the OpenGL
backend, which simply takes a renderbuffer id, without taking ownership.

Task-number: QTBUG-92116
Change-Id: I4e68e665fb35a7d7803b7780db901c8bed5740e2
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2021-05-19 17:35:35 +02:00
..
image Fix tst_qicon for fractional dpr 2021-04-20 21:33:00 +02:00
itemmodels Fix QStandardItemModel signals on takeChild 2021-05-11 18:55:09 +01:00
kernel Remove Qt6 switches from QtGui 2021-05-05 19:26:56 +02:00
math3d Fix warnings about lossy double/float conversion in tests 2021-04-11 19:53:32 +02:00
painting Android: unblock passing tests 2021-04-27 21:12:50 +03:00
platform Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00
qopengl Skip tst_QOpenGL::glxContext test on Wayland 2021-03-11 11:58:42 +01:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan tst_qvulkan: Skip assumption about supportedApiVersion 2021-01-21 17:00:32 +01:00
rhi rhi: gl: Add support for importing an existing renderbuffer object 2021-05-19 17:35:35 +02:00
text Allow background inheritance between non-body block elements 2021-05-08 09:28:02 +02:00
util QTextureFileData: support key value metadata 2021-02-09 13:39:47 +01:00
CMakeLists.txt Move QtX11Extras into QtGui as private API 2021-05-10 21:19:46 +00:00