summaryrefslogtreecommitdiffstats
path: root/tests/manual/rendercapture-qml
Commit message (Collapse)AuthorAgeFilesLines
* RenderBufferCapture test: use good OpenGL profile for multi-sample blittingWieland Hagen2017-05-301-0/+6
| | | | | | | Multi-sampling wouldn't work on 2.0 GL Change-Id: I61168bf70b5d0b74aa3645f413bf5259d2a3b8d6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QRenderCapture: add saveImage() to replace saveToFile()Andy Maloney2017-04-121-1/+1
| | | | | | | | | QRenderCapture::saveToFile() does not return success/failure. Returning this properly means we don't have to verify success somehow. So add a new method called saveImage() to return the information, and deprecate saveToFile(). Change-Id: I7cf6639d90baa8bce8b90ee795d953a021de7978 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Clean up QRenderCapture(Reply) APIKevin Ottens2017-02-232-4/+4
| | | | | | | | | | | | | | | | We don't need the captureId in the public API so deprecate the functions which make it appear and create overloads with no such id when appropriate. Only a pointer to a QRenderCaptureReply is needed to represent a capture request. Also the "isCompleted" parameter is unneeded on the signal since it is always true anyway. If we'd want to do error management it would go via a status flag property or similar. Change-Id: I9571ece3e3f82f46db5b3993ccf035e770c9d55e Task-Id: QTBUG-58877 Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* RenderCapture: register with version 2.1Paul Lemire2016-12-072-2/+2
| | | | | | | To clearly identify this was added in 5.8 and not part of 5.7 Change-Id: Ifd713efa34f0092c250eae58260fab71865bb49e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Update rendercapture-qml exampleAntti Määttä2016-10-201-8/+11
| | | | | | | | Add checkbox to toggle multisampling to test that multisampled framebuffers work with rendercapture. Change-Id: I40e15bca457c47cf4cbd9be6667819c69f4e8b15 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add rendercapture-qml exampleAntti Määttä2016-10-206-0/+466
Add new example to test the RenderCapture functionality in QML. The test is based on simple-qml example. Change-Id: Ie6aeaffd9ebe1faa0fb120e7f4d440618a3f79d3 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>