aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/shaders
Commit message (Collapse)AuthorAgeFilesLines
* Improve stability of animated lancelot test sceneEirik Aavitsland2020-11-261-1/+1
| | | | | | | | | | The lancelot test has shown sensitivity to timing on some platforms; this change improves stability there. Change-Id: I9c8519423635fc22724d96e0a09bcdd1dd0a0102 Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 473ce18934d067dd3fcfd5ac4c1e8d54235497c5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Improve lancelot test case for recursive ShaderEffectSourceEirik Aavitsland2020-07-312-29/+1
| | | | | | | | | | | | | | Choose a rotation degree which makes it more obviously visible if it gets applied multiple times, and which avoids the risk of an accidental match by rotating a full round. As a drive-by, remove the second recursive test case, as it does not test anything other than the first. Change-Id: I019743cd8a85763c4704019f7fb7b24c3451308c Pick-to: 5.15 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Reimplement UniformAnimator for ShaderEffectJonas Karlsson2020-06-291-0/+52
| | | | | | Fixes: QTBUG-83976 Change-Id: I307e96be0d3d2edeb8d9065d100c1ef38c8824c7 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Lancelot test for ShaderEffect atlas texturesPaul Olav Tvete2020-05-191-0/+51
| | | | | | | Task-number: QTBUG-83975 Pick-to: 5.15 Change-Id: Icfff2aa9172bf10a1918be5364f27ed6faf94575 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Make the test actually test somethingPaul Olav Tvete2020-05-181-29/+19
| | | | | | | | | | | Have some source rects that are inside the source, so the shader effect will have something to work with. Also get rid of the MouseArea, since that is completely pointless for a lancelot test. Task-number: QTBUG-83975 Pick-to: 5.15 Change-Id: I23e6eb0d2bdf05704124a5dc83816e923413c031 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Add lancelot test for ShaderEffect on layerPaul Olav Tvete2020-05-151-0/+23
| | | | | | | Task-number: QTBUG-83975 Pick-to: 5.15 Change-Id: I40e3836205c62f52a80925384070175a7bcb5856 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Lancelot tests for ShaderEffect uniform bindingsPaul Olav Tvete2020-05-152-0/+51
| | | | | | | | | | | Test that properties are bound to shader uniforms. Three ways of setting the property: initial value, PropertyAnimation, and UniformAnimator. Task-number: QTBUG-83975 Pick-to: 5.15 Change-Id: I61518dc1bf680d0d28dd0171c5dcf8b4a6b3695e Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Add lancelot test for ShaderEffect blendingPaul Olav Tvete2020-05-151-0/+33
| | | | | | | Task-number: QTBUG-83975 Pick-to: 5.15 Change-Id: I719fd206b8fa8ee29958eecbac9d618c7850ed80 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Further RHI adaptation of shaders in lancelot test scenesEirik Aavitsland2020-02-032-73/+1
| | | | | | | | | | | In the recent commit that added RHI shaders, a couple of the test scenes were overlooked. The attributes.qml test file is simply removed as it adds no significant test coverage. Change-Id: Ic3af7b4447da322323f67faa1cf93c160c5043e8 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Add RHI shaders to ShaderEffect test scenesEirik Aavitsland2020-01-0629-353/+46
| | | | | | | | | | | Add RHI versions of the fragment and vertex shaders in the lancelot test scenes. Move all shaders into external files and include them as resources, so that the automatic file selector mechanism will pick up the right version at runtime. Task-number: QTBUG-78683 Change-Id: I5eb1669d09a650301ac2a3012db8b3d1814c7bcb Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Add a hidden XandYAxis enum valueAlan Alpert2012-12-151-1/+1
| | | | | | | | | For Qt 5 XandYAxis is being renamed to XAndYAxis to more consistently follow capitalization rules. Add an undocumented XandYAxis variable to ease porting. Change-Id: Id9e41dd5578373f5f557937da889a9326ff12e53 Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
* Update qml test scenes with new property namesaavit2012-10-292-2/+2
| | | | | Change-Id: I67953f257f8948f3ec821cf3e5bc4763aff8d1aa Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Added lancelot-based scenegraph rendering regression testaavit2012-09-2741-0/+2007
Change-Id: I6718d00ba96dc9c96dac82de4ded9228f6bfb990 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>