summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/clearbuffers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix compile warningsMike Krus2019-10-081-4/+4
| | | | | Change-Id: Iac24c13fa77bb0c6317af77f61016ee6fbf9a916 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Clean up includesMike Krus2019-10-011-1/+0
| | | | | | | | | Remove include statements for classes that are no longer used. Makes it easier to find remaining use cases that need addressed before complete removal in Qt 6. Change-Id: I60529ba1929ad64b162d3847d5df47cde2a60dad Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* ClearBuffer: properly initialize clear color vectorPaul Lemire2019-09-241-0/+4
| | | | | Change-Id: Ib2cb3ac47916ecdf3726e37ddd15cab4936ec3ff Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Update QClearBuffers to use direct syncPaul Lemire2019-09-191-33/+31
| | | | | Change-Id: Ieb060a3e02a3dbc30f7c3cdaeedf63d0e4125633 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Make backend FG node use FrameGraphDirty instead of AllDirtyPaul Lemire2018-10-121-1/+5
| | | | | | | | So as to later on allow finer grained job launching and not force every job to be rerun when we know only the FG has changed. Change-Id: I09f935f8a1793722159ba645acc2ad4b00983041 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QNodePropertyChange -> QPropertyUpdatedChangeSean Harmer2016-05-101-2/+2
| | | | | | Task-number: QTBUG-51494 Change-Id: Ic326499f80b5a91b2d19c09770de926f220cc805 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Rename NodeUpdated ChangeFlag to PropertyUpdatedSean Harmer2016-05-101-1/+1
| | | | | | | | This more correctly reflects the semantic meaning. Task-number: QTBUG-51494 Change-Id: I3a230e959ea007f1d19808eae73b5d95b6f06514 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QClearBuffers: clear specific QRenderTargetOutputsWieland Hagen2016-05-031-7/+33
| | | | | | | | | | | | | If QClearBuffers::colorBuffer is set to a non-NULL value, only this color buffer will be affected by the Clear operation. Right now, only clamped color values are supported by the frontend. OpenGL also supports non-clamped float and integer values, depending on the type of the target buffer. Task-number: QTBUG-50116 Change-Id: I2786c0603b24b4af0d24751151d64be7504b3e92 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove QBackendNode::updateFromPeer()Sean Harmer2016-05-031-9/+0
| | | | | | | | | | Implemented a few missing initializeFromPeer() implementations along with the corresponding frontend node creation change creation functions. Adapted unit tests. Change-Id: I571e53a7b68a5544bd0e308df0baf7e52533306e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Rename QScenePropertyChange -> QNodePropertyChangeSean Harmer2016-04-211-2/+2
| | | | | | | Trying to unify naming of change types. Change-Id: I0bfca0b7ba5adeaaa6145f75ddb41731f76adc09 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* ClearBuffers: sceneChangeEvent call FrameGraphNode::sceneChangeEventPaul Lemire2016-04-151-4/+1
| | | | | | | To handle changes that modify the enabled property Change-Id: I45d9ea337f93b1df27247b773d8fa0eac2e90ba1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Do enabled state and parent/child relationship init in framegraph baseSean Harmer2016-04-101-0/+1
| | | | | | | | | | | | | Move this out of the creation functor as the peerId is not set at this point which breaks the setParentId() function. Move this to the initializeFromPeer() function and have each FrameGraphNode type call the base class implementation to set the basic stuff up. With this change, the main loop now runs through using the QT3D_NO_CLONE env var. However, it does not render again, yet. Change-Id: Ied12deb4732b5c103e647cc4cfea935114ea31ca Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* ClearBuffers handles creationSean Harmer2016-03-311-0/+12
| | | | | | | | Also add missing members to data payload since refactoring of this class. Change-Id: I6d99189beafe5cd8754bcfd935fa3d1565c18906 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Added properties to QClearBuffersMike Krus2016-03-221-0/+26
| | | | | | | | | | - clearColor - clearDepthValue - clearStencilValue Task-number: QTBUG-51460 Change-Id: Ib31efde0b6ab97ef1f57d4ce71fb2fbca218dc85 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rename QClearBuffer to QClearBuffersMike Krus2016-03-201-0/+83
Task-number: QTBUG-51460 Change-Id: I3f522f5eaea7bf0f94dbcdc1e7463f2827c0fe3b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>