aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGpuGLShaders2.cpp
Commit message (Collapse)AuthorAge
* Adds a build flag for GL to never use vertex attributes that don't have ↵Gravatar bsalomon@google.com2011-04-19
| | | | | | | | | | per-vertex values. Also promotes the ATTRIBUTE_MATRIX flag that was local to cpp files to the public config file. Review URL: http://codereview.appspot.com/4434057/ git-svn-id: http://skia.googlecode.com/svn/trunk@1155 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds read pixels to GrTexture and GrRenderTargetGravatar bsalomon@google.com2011-04-05
| | | | | | | | | Adds SkGrRenderTargetPixelRef for SkBitmaps that are backed by RTs that aren't textures. Adds onReadPixels implementations for SkGr pixel ref types git-svn-id: http://skia.googlecode.com/svn/trunk@1056 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove the compile-time selection of the GL implementation based on theGravatar twiz@google.com2011-03-18
| | | | | | | | | | | | | GR_SUPPORT_GLDESKTOP family of macros. Support for the platform is configured dynamically, by querying the fBindingsExported member of active GrGLInterface instance. Review: http://codereview.appspot.com/4298048/ git-svn-id: http://skia.googlecode.com/svn/trunk@960 2bbb7eff-a529-9590-31e7-b0007b416f81
* This CL removes all dependencies on GL headers across all of Ganesh. NewGravatar twiz@google.com2011-03-18
| | | | | | | | | | | GrGLint, etc. types are introduced, and new GR_GL_XXXX constants for use at all GL call-sites. Review: http://codereview.appspot.com/4272061/ git-svn-id: http://skia.googlecode.com/svn/trunk@959 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make flush discardable and lazily reset contextGravatar bsalomon@google.com2011-03-10
| | | | | | | | Review URL: http://codereview.appspot.com/4259059/ git-svn-id: http://skia.googlecode.com/svn/trunk@914 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixups for clipstack, convexity test for paths.Gravatar bsalomon@google.com2011-03-04
| | | | | | Review URL http://codereview.appspot.com/4250056/ git-svn-id: http://skia.googlecode.com/svn/trunk@891 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make a separate path renderer object. Move enum types to GrTypes.hGravatar bsalomon@google.com2011-02-22
| | | | | | | | Review URL http://codereview.appspot.com/4167067/ git-svn-id: http://skia.googlecode.com/svn/trunk@829 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hide alloc size vs content size below APIGravatar bsalomon@google.com2011-02-17
| | | | | | | Remove old gl shaders class Move texture matrix to sampler class git-svn-id: http://skia.googlecode.com/svn/trunk@808 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor how Gr handles vertex and index data. GrGpu and GrInOrderDrawBuffer ↵Gravatar bsalomon@google.com2011-02-14
| | | | | | | | both GrBufferAllocPool to manage reserved and set-to-array vertex and index data. rietveld issue 4188049 git-svn-id: http://skia.googlecode.com/svn/trunk@786 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@783 ↵Gravatar bsalomon@google.com2011-02-11
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make aggressive shader opts an option in GrUserConfig.h. Currently just ↵Gravatar bsalomon@google.com2011-02-02
| | | | | | controls whether color=white optimization is applied (eliminates reading color varying and modulation by color). This was already a compile time option just not exposed through user config. git-svn-id: http://skia.googlecode.com/svn/trunk@754 2bbb7eff-a529-9590-31e7-b0007b416f81
* initialize int var-args to placate chrome's runtime checkGravatar reed@google.com2011-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@746 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace UINT32_MAX with portable macroGravatar reed@google.com2011-01-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@741 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings, including using GrTCast<> to go from &Obj -> uint32_t*Gravatar reed@google.com2011-01-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Increase number of stages from 1 to 2Gravatar bsalomon@google.com2011-01-24
| | | | | | | | | Move GrTextContext from stage 0 to stage 1 so it doesn't conflict with GrPaint (allow textured text) Switch to dynamically generated shaders git-svn-id: http://skia.googlecode.com/svn/trunk@721 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove notion of default rendertarget. This doesn't map well to usage ↵Gravatar bsalomon@google.com2011-01-18
| | | | | | patterns outside sample app. Make binding between SkGpuDevice and a GrRenderTarget more explicit. Create method on GrContext to wrap the current target in the 3D API with a GrRenderTarget. git-svn-id: http://skia.googlecode.com/svn/trunk@706 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use macro to call gl.Gravatar bsalomon@google.com2011-01-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@696 2bbb7eff-a529-9590-31e7-b0007b416f81
* Towards issue #106Gravatar bsalomon@google.com2011-01-13
| | | | | | | Adds notion of texture multiple stages but currently just uses 1. git-svn-id: http://skia.googlecode.com/svn/trunk@694 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SampleApp build on Win32 (still requires glew, this needs to be fixed)Gravatar bsalomon@google.com2011-01-05
| | | | | | | | In fbo test funciton set min filter to nearest (for systems that don't support rendering to level of a texture that isn't mip map complete.) Add a lot more sample slides to the win32 build Fix texture red/blue color swap on windows. git-svn-id: http://skia.googlecode.com/svn/trunk@677 2bbb7eff-a529-9590-31e7-b0007b416f81
* Force bool StageDesc to be a byte so that our memcmp equality test will ↵Gravatar bsalomon@google.com2010-12-22
| | | | | | work. Fixes static assert failure in xcode release build. git-svn-id: http://skia.googlecode.com/svn/trunk@650 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gpu backend (not hooked up yet)Gravatar reed@google.com2010-12-22
git-svn-id: http://skia.googlecode.com/svn/trunk@649 2bbb7eff-a529-9590-31e7-b0007b416f81