QRasterMode allows a user to change the raster mode from fill to lines or points
Change-Id: If96848e38ac4b5a615040b3bae2dec38a03cb031
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
The feature has been unused for some time and shall be reduced from
qtbase in due course.
Change-Id: I9e2b655dacd8290fa396588b03238399139259f7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Slightly reorganize jobs between jobs needed for rendering and jobs
that should run even when no rendering is required.
Change-Id: I02d262efd8cb46c71c40ac6dbcd4d1b25bb725e1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
This node allows to copy the content from one FBO to another or to screen
Task-number: QTBUG-58162
Change-Id: I6016c46d9d538a012c2f641116ed766dd70ad021
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Conflicts:
src/render/backend/renderer.cpp
src/render/backend/renderview.cpp
src/render/graphicshelpers/graphicscontext_p.h
src/render/graphicshelpers/graphicshelperes2_p.h
src/render/graphicshelpers/graphicshelpergl2_p.h
src/render/graphicshelpers/graphicshelpergl3_2_p.h
src/render/graphicshelpers/graphicshelpergl3_3_p.h
src/render/graphicshelpers/graphicshelpergl4_p.h
src/render/graphicshelpers/graphicshelperinterface_p.h
src/render/jobs/pickboundingvolumejob.cpp
tests/auto/animation/clipanimator/tst_clipanimator.cpp
tests/auto/auto.pro
tests/manual/manual.pro
Also disabled the QQmlMetaType codepaths following commit
49a11e882059ee1729f776722e085dd21d378c36 in qtdeclarative. The
QQmlMetaType codepaths will be re-enabled once a qt5.git
integration has succeeded.
Change-Id: Ia654d75425e6d406c472d19864383612208cad2b
Needed to work around QTBUG-43199 to be able to specify integer
vertex attributes such as joint indices.
Change-Id: I39ab83e881b6afb75467c76b56125917013b3bca
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Up until now, RenderCapture would read back from the back buffer. In cases
where it's used within a RenderTargetSelector, it should instead read back
from the ColorAttachment0 of the framebuffer.
Later on we might allow to specify the ColorAttachment.
Change-Id: I9ca94333184338b2fdb79c5c2668d5929ac8d405
Task-number: QTBUG-61547
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Now that the underlying problem from QTBUG-58107 in the macOS QPA is
fixed we can go back to using a fresh window for each test function.
Task-number: QTBUG-58107
Change-Id: If77fa7dbcb5b8b1a7e096e262832297ce871313d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Got fixed in the meanwhile.
Change-Id: I3efccd988b39b77bebab628bbf637b302a247cef
Task-number: QTBUG-59828
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
We can't just generate a multisampled 2D texture with 4 samples per texel;
we need to check the implementation-defined maximum amount of samples.
Lacking glGetInternalformat*, query GL_MAX_SAMPLES. Since OpenGL does not
mandate a minimum, getting 0 is actually allowed; glTexImage2DMultisample
however does not accept 0 as number of samples, hence skip the test in that
case.
Change-Id: Id1b0c9705aed0665093aae44983eac8b656b676f
Task-number: QTBUG-59828
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Something in the QPA or with hardware GL in macOS must have changed
that now makes this scenario crash at random. Let's bypass it by
just creating a single context and window for the whole set of
tests.
Task-number: QTBUG-58107
Change-Id: Ib9a9daf2fe8502ab99c280edf46c007d44a5a1b7
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Check that when a cube map is used with the AllFaces attachment point, then it
should appear as layered when queried and non layered if a single face was
used as the attachment point.
Change-Id: Ia47152aff8b47f717de3c40fa894a15c17503269
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>