aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
Commit message (Collapse)AuthorAge
* move texture flush and param update to separate functionGravatar bsalomon@google.com2012-06-04
| | | | | | | | Review URL: http://codereview.appspot.com/6266044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4142 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r4134 due to bot failuresGravatar bsalomon@google.com2012-06-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4136 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GrGpuGL::programUnitTest into its own fileGravatar bsalomon@google.com2012-06-04
| | | | | | | | | Review URL: http://codereview.appspot.com/6272043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4134 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move texture descriptor into GrTextureGravatar robertphillips@google.com2012-06-04
| | | | | | | | http://codereview.appspot.com/6258068/ git-svn-id: http://skia.googlecode.com/svn/trunk@4133 2bbb7eff-a529-9590-31e7-b0007b416f81
* Flip the switch to turn on GrCustomStage implementation of gradients;Gravatar tomhudson@google.com2012-06-01
| | | | | | | | | | remove old implementation, including enums & state on various structs. http://codereview.appspot.com/6245078/ git-svn-id: http://skia.googlecode.com/svn/trunk@4129 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GrGpuGL::programUnitTest into its own fileGravatar bsalomon@google.com2012-06-01
| | | | | | | | | Review URL: http://codereview.appspot.com/6272043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4124 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move max vertex attributes value to GL CapsGravatar bsalomon@google.com2012-06-01
| | | | | | | | Review URL: http://codereview.appspot.com/6271043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4123 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove dirty flags from GrGpuGL state flushGravatar bsalomon@google.com2012-06-01
| | | | | | | | Review URL: http://codereview.appspot.com/6255073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4122 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkBool8 -> bool to suppress warning (verbal LGTM from TomH)Gravatar bsalomon@google.com2012-06-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4121 2bbb7eff-a529-9590-31e7-b0007b416f81
* Suppress dumb warning.Gravatar bsalomon@google.com2012-06-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4120 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clean up duplicate code in Ganesh, moving more function onto GrGLShaderBuilder.Gravatar tomhudson@google.com2012-06-01
| | | | | | | | http://codereview.appspot.com/6245082/ git-svn-id: http://skia.googlecode.com/svn/trunk@4116 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GrGpuGL::ProgramCache declaration to headerGravatar bsalomon@google.com2012-06-01
| | | | | | | | Review URL: http://codereview.appspot.com/6245083/ git-svn-id: http://skia.googlecode.com/svn/trunk@4113 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using deprecated functions in Mac GrGLInterface setupGravatar bsalomon@google.com2012-05-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4109 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SK_OVERRIDE error caught by Clang in r4105; wrong params for setData().Gravatar tomhudson@google.com2012-05-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4105 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrGradientEffects files. These implementations will be invoked fromGravatar tomhudson@google.com2012-05-31
| | | | | | | | | | | GrGLPrograms in a further change, replacing the current CoordMapping enums. http://codereview.appspot.com/6250081/ git-svn-id: http://skia.googlecode.com/svn/trunk@4104 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement morphology as a custom effectGravatar bsalomon@google.com2012-05-31
| | | | | | | | Review URL: http://codereview.appspot.com/6250073/ git-svn-id: http://skia.googlecode.com/svn/trunk@4102 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add glTexParameteriv to MESA GrGLInterface (missing from r4099)Gravatar bsalomon@google.com2012-05-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4100 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add glTexParameteriv to GL interfaceGravatar bsalomon@google.com2012-05-31
| | | | | | | | | | Comitted on behalf of jin.a.yang@intel.com Review URL: http://codereview.appspot.com/6213069/ git-svn-id: http://skia.googlecode.com/svn/trunk@4099 2bbb7eff-a529-9590-31e7-b0007b416f81
* Merge GrGpuGLShaders into its parent class, GrGpuGLGravatar bsalomon@google.com2012-05-31
| | | | | | | | Review URL: http://codereview.appspot.com/6245076/ git-svn-id: http://skia.googlecode.com/svn/trunk@4095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a bunch of SK_OVERRIDES and remove and unused functionGravatar bsalomon@google.com2012-05-31
| | | | | | | | Review URL: http://codereview.appspot.com/6245072/ git-svn-id: http://skia.googlecode.com/svn/trunk@4088 2bbb7eff-a529-9590-31e7-b0007b416f81
* Condense setupFSUnis, setupVSUnis, setupVaryings intoGravatar tomhudson@google.com2012-05-30
| | | | | | | | | | | GrGLProgramStage::setupVariables(). Rename appendVarying() to addVarying(), matching addUniform(). http://codereview.appspot.com/6262046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4083 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove a couple things missed when deleting the tessellated path rendererGravatar bsalomon@google.com2012-05-30
| | | | | | | | Review URL: http://codereview.appspot.com/6249070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4082 2bbb7eff-a529-9590-31e7-b0007b416f81
* Encapsulate code required to create a uniform var into a single function onGravatar tomhudson@google.com2012-05-30
| | | | | | | | | | | GrGLShaderBuilder. This isolates internal dependencies from somebody writing a CustomStage. http://codereview.appspot.com/6248050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4081 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added knowledge of GL_RED textures to debugGLReadPixelsGravatar robertphillips@google.com2012-05-30
| | | | | | | | http://codereview.appspot.com/6257070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4071 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed small bug in shader generationGravatar robertphillips@google.com2012-05-30
| | | | | | | | http://codereview.appspot.com/6259053/ git-svn-id: http://skia.googlecode.com/svn/trunk@4064 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rolling back 4053Gravatar robertphillips@google.com2012-05-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4054 2bbb7eff-a529-9590-31e7-b0007b416f81
* Speculative fix for Android Debug only crash in r4049Gravatar robertphillips@google.com2012-05-28
| | | | | | | | http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4053 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rolling back r4049Gravatar robertphillips@google.com2012-05-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4051 2bbb7eff-a529-9590-31e7-b0007b416f81
* Altered GrDrawState to always ref textures and render targetGravatar robertphillips@google.com2012-05-25
| | | | | | | | http://codereview.appspot.com/6251049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4049 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move swizzle & modulation computation, non-virtual functions ontoGravatar tomhudson@google.com2012-05-24
| | | | | | | | | | | | | GrGLShaderBuilder. This lets us access all the default computations when there's no GrCustomStage specified, and means that GrGLProgramStage is effectively an interface class, all of whose functions can/should be overriden. http://codereview.appspot.com/6242051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4045 2bbb7eff-a529-9590-31e7-b0007b416f81
* First stage of reworking custom shader infrastructure to allowGravatar tomhudson@google.com2012-05-24
| | | | | | | | | | radial mappings. http://codereview.appspot.com/6239043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4040 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some EOLs, mark files with the LF property.Gravatar bsalomon@google.com2012-05-24
| | | | | | | | | Review URL: http://codereview.appspot.com/6230046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4039 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated useSWOnlyPath method to use path chain instead of raw path renderer ↵Gravatar robertphillips@google.com2012-05-24
| | | | | | | | | | methods http://codereview.appspot.com/6211083/ git-svn-id: http://skia.googlecode.com/svn/trunk@4038 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed SoftwarePathRenderer from GrContext's path renderer chainGravatar robertphillips@google.com2012-05-23
| | | | | | | | http://codereview.appspot.com/6221065/ git-svn-id: http://skia.googlecode.com/svn/trunk@4036 2bbb7eff-a529-9590-31e7-b0007b416f81
* "fix" for r4034 issuesGravatar robertphillips@google.com2012-05-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4035 2bbb7eff-a529-9590-31e7-b0007b416f81
* Plumbing to propagate save & restore from SkCanvas down to GrContext & lowerGravatar robertphillips@google.com2012-05-23
| | | | | | | | http://codereview.appspot.com/6203067/ git-svn-id: http://skia.googlecode.com/svn/trunk@4034 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrClipMaskManager's path renderer chain (in favor of GrContext's)Gravatar robertphillips@google.com2012-05-22
| | | | | | | | http://codereview.appspot.com/6211078/ git-svn-id: http://skia.googlecode.com/svn/trunk@4032 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor tweaks to SW-only clip mask generation logicGravatar robertphillips@google.com2012-05-22
| | | | | | | | http://codereview.appspot.com/6218064/ git-svn-id: http://skia.googlecode.com/svn/trunk@4030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Commit comment change that was supposed to go into r4024 but wasn't because ↵Gravatar bsalomon@google.com2012-05-22
| | | | | | I forgot to save. git-svn-id: http://skia.googlecode.com/svn/trunk@4028 2bbb7eff-a529-9590-31e7-b0007b416f81
* Kill GrGpuGL::fHWDrawStateGravatar bsalomon@google.com2012-05-21
| | | | | | | | | Review URL: http://codereview.appspot.com/6227048/ git-svn-id: http://skia.googlecode.com/svn/trunk@4024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changes accidentally omitted from 4022.Gravatar bsalomon@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4023 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop Tracking const vertex attrib color and coverage using GrDrawStateGravatar bsalomon@google.com2012-05-21
| | | | | | | | | Review URL: http://codereview.appspot.com/6219056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4022 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track stencil stateGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6227047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4021 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename GrProgramStageFactory::stageKey to GrProgramStageFactory::glStageKey ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | since it is GL-specific Review URL: http://codereview.appspot.com/6218060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4020 2bbb7eff-a529-9590-31e7-b0007b416f81
* Tunnel name requests through factory, forcing custom effect and custom prog ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | stage to use same impl Review URL: http://codereview.appspot.com/6220061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4019 2bbb7eff-a529-9590-31e7-b0007b416f81
* When GL context is reset set some desktop-only GL state to values that we ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | | assume later. Review URL: http://codereview.appspot.com/6222052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4018 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use tristate in HW AA tracking, fix msaa disabled for non-smoothed lines bugGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6222051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4015 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track bound textures and render targetGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6208086/ git-svn-id: http://skia.googlecode.com/svn/trunk@4013 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track draw face, dither, and color maskGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6215071/ git-svn-id: http://skia.googlecode.com/svn/trunk@4009 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track GPU's blend stateGravatar bsalomon@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4007 2bbb7eff-a529-9590-31e7-b0007b416f81