summaryrefslogtreecommitdiffstats
path: root/examples/effects/customshader
Commit message (Collapse)AuthorAgeFilesLines
* Remove examples/effects/customshader which uses private APITom Cooksey2009-11-1919-572/+0
| | | | | | | | Commit 3f109fd85cbdc49dc3ef1c14066073079f4e34bf made QGraphicsShaderEffect private API, however the example showing how to use it was kept. This patch just removes that example. Reviewed-by: Samuel
* Merge commit 'widget/4.6' into oslo-staging-2/4.6Olivier Goffart2009-11-112-29/+36
|\ | | | | | | | | Conflicts: src/gui/painting/qbrush.cpp
| * Make the new examples for effects use the Qt Animation FrameworkThierry Bastian2009-11-102-29/+36
| | | | | | | | | | Task-number: QTBUG-5640 Reviewed-by: Leo
* | Improvements to graphics effects API after review round.Samuel Rødal2009-11-102-3/+3
|/ | | | | | | | | | | | * Get rid of QGraphicsEffectSource from the public API, instead add convenience functions in QGraphicsEffect. This way we commit to less API, and are free to introduce a customizable QGraphicsEffectSource in a future release. * Move PixmapPadMode into QGraphicsEffect and tweak the names of the enum values. * Make QGraphicsBlurEffect::BlurHint into a bit flag, for extensibility. Reviewed-by: Bjørn Erik Nilsen
* Update license headers again.Jason McDonald2009-09-097-28/+28
| | | | Reviewed-by: Trust Me
* Make QGraphicsShaderEffect private API for 4.6Rhys Weatherley2009-09-063-5/+5
| | | | | | | The custom shader code in the OpenGL2 paint engine needs time to mature before we make this official public API. Reviewed-by: trustme
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-317-91/+91
| | | | Reviewed-by: Trust Me
* Fixed custom shader example to correctly use premultiplied colors.Samuel Rødal2009-08-311-1/+1
| | | | Reviewed-by: Gunnar
* Added missing precision specifiers to custom shader effect.Samuel Rødal2009-08-261-1/+1
| | | | | | The precision specifiers need to be there on OpenGL ES 2.0. Reviewed-by: Tom
* Make the 'effects' examples compile when qreal == float.Jason Barron2009-08-261-1/+1
| | | | | | | | | All of the types supplied to qBound() must be the same and in the case where qreal is typedef'ed to a float, this is not the case because the outer 2 arguments are considered doubles. We explicitly cast them to qreal to guarantee they are all the same type. Reviewed-by: bnilsen
* Fixed documentation and use of incorrect entry point for custom shaders.Samuel Rødal2009-08-251-3/+1
| | | | | | | The entry point has been changed to be customShader, taking source image and texture coordinates as parameters. Reviewed-by: Tom
* Fix obsolete license headers.Jason McDonald2009-08-217-14/+14
| | | | Reviewed-by: Trust Me
* Move shader effect example from examples/graphicsview to examples/effectsBjørn Erik Nilsen2009-08-2119-0/+567