aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGLProgram.cpp
Commit message (Collapse)AuthorAge
* Move GL-specific source code to make room for D3D back end.Gravatar tomhudson@google.com2012-02-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3165 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pull GLSL helpers out of GrGLProgram.cppGravatar bsalomon@google.com2012-02-10
| | | | | | | | | Review URL: http://codereview.appspot.com/5652047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3161 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r3078 (original failures that led to revert were problems with the bot)Gravatar bsalomon@google.com2012-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3101 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 3078Gravatar bsalomon@google.com2012-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3079 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix interior issues in convex path rendererGravatar bsalomon@google.com2012-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3078 2bbb7eff-a529-9590-31e7-b0007b416f81
* Attempt to reland 3054Gravatar bsalomon@google.com2012-01-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3056 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3054 for failing testsGravatar bsalomon@google.com2012-01-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3055 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add constant coverage to GrDrawStateGravatar bsalomon@google.com2012-01-17
| | | | | | | | Review URL: http://codereview.appspot.com/5543052/ git-svn-id: http://skia.googlecode.com/svn/trunk@3054 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* 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
* 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 method to GrGLShadeVar to create GLSL string accessing an elementGravatar tomhudson@google.com2011-12-07
| | | | | | | | | of an array. codereview.appspot.com/5437149/ git-svn-id: http://skia.googlecode.com/svn/trunk@2818 2bbb7eff-a529-9590-31e7-b0007b416f81
* supportsES() -> supportsES2() in assertsGravatar bsalomon@google.com2011-11-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2680 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrGpuGLFixed subclass and ES1 supportGravatar bsalomon@google.com2011-11-14
| | | | | | | Review URL: http://codereview.appspot.com/5376094/ git-svn-id: http://skia.googlecode.com/svn/trunk@2678 2bbb7eff-a529-9590-31e7-b0007b416f81
* Do writepixels alpha-premul using gpuGravatar bsalomon@google.com2011-11-11
| | | | | | | | Review URL: http://codereview.appspot.com/5373064/ git-svn-id: http://skia.googlecode.com/svn/trunk@2668 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removes warnings generated by gcc and clang.Gravatar tomhudson@google.com2011-11-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] when writing to unpremult dest and alpha is 0, make rgb=0Gravatar bsalomon@google.com2011-11-09
| | | | | | | Review URL: http://codereview.appspot.com/5340062/ git-svn-id: http://skia.googlecode.com/svn/trunk@2640 2bbb7eff-a529-9590-31e7-b0007b416f81
* When GL_RGBA readPixels are slow do swizzle using a draw then readPixels ↵Gravatar bsalomon@google.com2011-11-08
| | | | | | | | | with GL_BGRA Review URL: http://codereview.appspot.com/5339051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2631 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] Add explicit byte order and PM vs. UPM 8888 configsGravatar bsalomon@google.com2011-11-07
| | | | | | | | Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_ARB_texture_swizzleGravatar bsalomon@google.com2011-11-07
| | | | | | | | Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2615 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extract GrDrawTarget::DrState into independent GrDrawState struct.Gravatar tomhudson@google.com2011-10-27
| | | | | | | | | This is intended to be a first step towards making the stack of states maintained by GrDrawTarget cheaper to maintain. git-svn-id: http://skia.googlecode.com/svn/trunk@2544 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move helper functions out of header file, write new genProgram helpers.Gravatar tomhudson@google.com2011-10-25
| | | | | | | | Review: codereview.appspot.com/5304045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2532 2bbb7eff-a529-9590-31e7-b0007b416f81
* Virtualize SkGLContext with subclasses SkNativeGLContext and ↵Gravatar bsalomon@google.com2011-10-19
| | | | | | | | | | SkMesaGLContext, allow both in gm Review URL: http://codereview.appspot.com/5307045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2499 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extract six functions from GrGLProgram::genStageCode() to shorten it byGravatar tomhudson@google.com2011-10-19
| | | | | | | | ~170 LOC. git-svn-id: http://skia.googlecode.com/svn/trunk@2498 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move gpu/include/* to include/gpu and gpu/src/* to src/gpuGravatar bsalomon@google.com2011-10-12
Review URL: http://codereview.appspot.com/5250070/ git-svn-id: http://skia.googlecode.com/svn/trunk@2471 2bbb7eff-a529-9590-31e7-b0007b416f81