aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
Commit message (Collapse)AuthorAge
* Add convex path renderer (disabled)Gravatar bsalomon@google.com2012-01-17
| | | | | | | | Review URL: http://codereview.appspot.com/5533061/ git-svn-id: http://skia.googlecode.com/svn/trunk@3040 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix vs2010 int to scalar warningsGravatar bsalomon@google.com2012-01-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3032 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add code path to SW rasterize paths and upload as a mask textureGravatar bsalomon@google.com2012-01-12
| | | | | | | | Review URL: http://codereview.appspot.com/5542043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3031 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove supports per-vertex coverage caps bitGravatar bsalomon@google.com2012-01-12
| | | | | | | | Review URL: http://codereview.appspot.com/5529071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix variable renaming in asserts related to r3015Gravatar bsalomon@google.com2012-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove shadersupport caps bitGravatar bsalomon@google.com2012-01-11
| | | | | | | | Review URL: http://codereview.appspot.com/5528076/ git-svn-id: http://skia.googlecode.com/svn/trunk@3015 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correct GPU glyph positioning.Gravatar bungeman@google.com2012-01-11
| | | | | | | http://codereview.appspot.com/5522050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3010 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix compilation error in GrContext.cpp when PREFER_MSAA_OFFSCREEN_AA is enabledGravatar bsalomon@google.com2012-01-11
| | | | | | | | http://codereview.appspot.com/5534068/ git-svn-id: http://skia.googlecode.com/svn/trunk@3009 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix commentGravatar bsalomon@google.com2012-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3008 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove accidentally checked in printfGravatar bsalomon@google.com2012-01-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2997 2bbb7eff-a529-9590-31e7-b0007b416f81
* Towards enabling -Werror in skia on LinuxGravatar bsalomon@google.com2012-01-06
| | | | | | | | Review URL: http://codereview.appspot.com/5516044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2983 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix check for glTexStorage2D fn ptrGravatar bsalomon@google.com2012-01-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2982 2bbb7eff-a529-9590-31e7-b0007b416f81
* add filterImage() entry-point to SkDevice, to allow it to specialize on ↵Gravatar reed@google.com2012-01-05
| | | | | | | | | | subclasses of SkImageFilter. If that returns false, then the filter itself is invoked. git-svn-id: http://skia.googlecode.com/svn/trunk@2977 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
* Fix Mac buildGravatar bsalomon@google.com2012-01-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2967 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL texture storageGravatar bsalomon@google.com2012-01-05
| | | | | | | | Review URL: http://codereview.appspot.com/5462046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Trash cached render target when creating a new FBO and its ID is bound.Gravatar bsalomon@google.com2012-01-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2964 2bbb7eff-a529-9590-31e7-b0007b416f81
* Speculative fix to please the skia buildbots. I couldn't repro the failureGravatar senorblanco@chromium.org2012-01-03
| | | | | | | | | | | locally, but I did get valgrind to point out some uninitialized data, which this fix suppresses. Build fix; unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@2950 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add null check to createPlatformTextureGravatar bsalomon@google.com2012-01-03
| | | | | | | | Review URL: http://codereview.appspot.com/5498100/ git-svn-id: http://skia.googlecode.com/svn/trunk@2949 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
* Add flags to GrStencilSettingsGravatar bsalomon@google.com2012-01-03
| | | | | | | | Review URL: http://codereview.appspot.com/5489057/ git-svn-id: http://skia.googlecode.com/svn/trunk@2945 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkDEBUGFAIL to clean up use of SkASSERT(!"text");Gravatar tomhudson@google.com2011-12-28
| | | | | | | | | | catch a couple of latent SkASSERT("text") bugs. http://codereview.appspot.com/5504090/ git-svn-id: http://skia.googlecode.com/svn/trunk@2926 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete printfGravatar reed@google.com2011-12-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2891 2bbb7eff-a529-9590-31e7-b0007b416f81
* GCC requires reinterpret_cast rather than static_cast to cast to privately ↵Gravatar bsalomon@google.com2011-12-15
| | | | | | inherited subclass git-svn-id: http://skia.googlecode.com/svn/trunk@2882 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrStencilState a class to enable future optimizationsGravatar bsalomon@google.com2011-12-15
| | | | | | | Review URL: http://codereview.appspot.com/5492047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2881 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compile time vertex layout masksGravatar bsalomon@google.com2011-12-15
| | | | | | | Review URL: http://codereview.appspot.com/5493049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2878 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2872Gravatar bsalomon@google.com2011-12-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2873 2bbb7eff-a529-9590-31e7-b0007b416f81
* two loops for setting stage descsGravatar bsalomon@google.com2011-12-14
| | | | | | | Review URL: http://codereview.appspot.com/5486054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2872 2bbb7eff-a529-9590-31e7-b0007b416f81
* reset cpu shadow of vertex buffer to our usual vb sizeGravatar bsalomon@google.com2011-12-14
| | | | | | | | Review URL: reset cpu shadow of vertex buffer to our usual vb size git-svn-id: http://skia.googlecode.com/svn/trunk@2871 2bbb7eff-a529-9590-31e7-b0007b416f81
* Skip flush functions for disabled stagesGravatar bsalomon@google.com2011-12-13
| | | | | | | | Review URL: http://codereview.appspot.com/5483061 git-svn-id: http://skia.googlecode.com/svn/trunk@2870 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use a stack variable for hash computation in GrBinHashKeyGravatar bsalomon@google.com2011-12-12
| | | | | | | | Review URL: http://codereview.appspot.com/5484054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2863 2bbb7eff-a529-9590-31e7-b0007b416f81
* skip paint->drawstate sampler copies when there is no textureGravatar bsalomon@google.com2011-12-12
| | | | | | | | | Review URL: http://codereview.appspot.com/5484053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2859 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't update vertex/index buffer twice! Gravatar bsalomon@google.com2011-12-12
| | | | | | | Review URL: http://codereview.appspot.com/5483053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2855 2bbb7eff-a529-9590-31e7-b0007b416f81
* Access sampler matrices directly, cleanup GrSamplerState::reset()sGravatar bsalomon@google.com2011-12-12
| | | | | | | Review URL: http://codereview.appspot.com/5488048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2854 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrDrawState::setSampler, use direct access to samplerGravatar bsalomon@google.com2011-12-12
| | | | | | | | Review URL: http://codereview.appspot.com/5476052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2852 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove static initiazled gClampNearest in gpu backendGravatar bsalomon@google.com2011-12-12
| | | | | | | Review URL: http://codereview.appspot.com/5487044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2851 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix inverse union complex clip stencil rules, skip screen filling rectanglesGravatar bsalomon@google.com2011-12-09
| | | | | | | | Review URL: http://codereview.appspot.com/5480054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2848 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_ANGLE_texture_usageGravatar bsalomon@google.com2011-12-09
| | | | | | | | Review URL: http://codereview.appspot.com/5478052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2845 2bbb7eff-a529-9590-31e7-b0007b416f81
* use uploadTexData() to create init textures w/out data, and restore ↵Gravatar bsalomon@google.com2011-12-09
| | | | | | | | | | pixelstorei state on failure Review URL: http://codereview.appspot.com/5467053/ git-svn-id: http://skia.googlecode.com/svn/trunk@2844 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add back compressed image upload (accidently removed in earlier refactor)Gravatar bsalomon@google.com2011-12-09
| | | | | | | | Review URL: http://codereview.appspot.com/5468043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2843 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll more changes from r2830 back inGravatar bsalomon@google.com2011-12-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2842 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup of r2830.Gravatar bsalomon@google.com2011-12-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2841 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 2830 and 2831.Gravatar bsalomon@google.com2011-12-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2832 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assertGravatar bsalomon@google.com2011-12-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2831 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrDrawState a real class with getters and settersGravatar bsalomon@google.com2011-12-08
| | | | | | | | Review URL: http://codereview.appspot.com/5448119/ git-svn-id: http://skia.googlecode.com/svn/trunk@2830 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add missing interfaces for AndroidGravatar djsollen@google.com2011-12-08
| | | | | | Review URL: http://codereview.appspot.com/5463048 git-svn-id: http://skia.googlecode.com/svn/trunk@2829 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrGLShaderVar objects aware of whether they are uniform, varying, orGravatar tomhudson@google.com2011-12-08
| | | | | | | | | attribute varibles. Extract GLSL generation enum and utility function into new GrGLSL header. git-svn-id: http://skia.googlecode.com/svn/trunk@2827 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_OVERRIDEs, move impl of virtuals into .cppGravatar reed@google.com2011-12-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2819 2bbb7eff-a529-9590-31e7-b0007b416f81