aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/colormatrix.cpp
Commit message (Collapse)AuthorAge
* delay any drawing until first call to onDraw (eases debugging)Gravatar reed@google.com2012-03-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3461 2bbb7eff-a529-9590-31e7-b0007b416f81
* When applying a color matrix, unpremultiply the source, and premultiply theGravatar senorblanco@chromium.org2012-01-05
| | | | | | | | | | | result. If the input color is missing, set to all-zeros or all-ones as appropriate. Add an alpha test case to the colormatrix GM. Review URL: http://codereview.appspot.com/5520046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2974 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r2969, since it broke the GLPrograms RunTests step.Gravatar senorblanco@chromium.org2012-01-05
| | | | | | | | Unreviewed; build fix. git-svn-id: http://skia.googlecode.com/svn/trunk@2972 2bbb7eff-a529-9590-31e7-b0007b416f81
* When applying a color matrix, unpremultiply the source, and premultiplyGravatar senorblanco@chromium.org2012-01-05
| | | | | | | | | | the result. Review URL: http://codereview.appspot.com/5520046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2969 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement the color matrix filter in Ganesh. Also, fix and enable the colorGravatar senorblanco@chromium.org2012-01-03
| | | | | | | | | | | | matrix test slide. This was basically implemented in the same places where the blending-based color filter was being done. The shader simply does a mat4 matrix multiply and a vec4 add. Review URL: http://codereview.appspot.com/5489107/ git-svn-id: http://skia.googlecode.com/svn/trunk@2948 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement SkColorFilter::asColorMatrix() virtual, and override inGravatar senorblanco@chromium.org2011-12-20
SkColorMatrixFilter. Implement missing SkColorMatrixFilter::setMatrix() and setArray() functions (were in .h, just not implemented). Add a gm for color matrix filters. Review URL: http://codereview.appspot.com/5500044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2909 2bbb7eff-a529-9590-31e7-b0007b416f81