summaryrefslogtreecommitdiffstats
path: root/examples/effects
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to graphics effects API after review round.Samuel Rødal2009-11-104-6/+6
| | | | | | | | | | | | * 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
* customshader won't work on OpenGL/ES 1.1 so disable for those platformsRhys Weatherley2009-10-151-1/+5
| | | | Reviewed-by: trustme
* Add an example that shows strength animation QGraphicsColorizeEffect.Ariya Hidayat2009-09-148-1/+274
| | | | | | | | When a button is pressed, a popup message is shown and the background (everything, every items, behind the popup message) is faded to light green. Reviewed-by: Bjørn Erik Nilsen
* Bring back the blurry drop shadow in the lighting example.Ariya Hidayat2009-09-141-1/+3
| | | | Reviewed-by: Bjørn Erik Nilsen
* Update license headers again.Jason McDonald2009-09-0915-60/+60
| | | | 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
* Cleanup examples/effects/lighting.Bjørn Erik Nilsen2009-09-015-149/+21
| | | | There's no need to re-implement QGraphicsDropShadowEffect anymore.
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-3117-221/+221
| | | | 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-262-2/+2
| | | | | | | | | 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-2117-34/+34
| | | | Reviewed-by: Trust Me
* Only compile shader effect example when having OpenGL.Bjørn Erik Nilsen2009-08-211-2/+3
|
* Move shader effect example from examples/graphicsview to examples/effectsBjørn Erik Nilsen2009-08-2120-1/+569
|
* Use pixmap filter for the drop shadow effect.Bjørn Erik Nilsen2009-08-212-2/+5
|
* Rename QGraphicsShadowEffect to QGraphicsDropShadowEffect.Bjørn Erik Nilsen2009-08-202-4/+4
| | | | Discussed with Andreas.
* Move examples/graphicsview/blurpicker|lighting to examples/effects.Bjørn Erik Nilsen2009-08-1924-0/+828