aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGpuGL.cpp
Commit message (Collapse)AuthorAge
* Move clientID into texture descGravatar robertphillips@google.com2012-06-07
| | | | | | | | http://codereview.appspot.com/6305044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4201 2bbb7eff-a529-9590-31e7-b0007b416f81
* Search and replace change. Some Gr enum value names didn't have a "Gr" in ↵Gravatar bsalomon@google.com2012-06-06
| | | | | | | | | | | their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove gpu stats trackingGravatar bsalomon@google.com2012-06-06
| | | | | | | | Review URL: http://codereview.appspot.com/6300052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4194 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in src/gpu and include/gpuGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6296044 git-svn-id: http://skia.googlecode.com/svn/trunk@4180 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move stencil param adjustment to GrClipMaskManager, attempt to make ↵Gravatar bsalomon@google.com2012-06-05
| | | | | | | | | | GrGpuGL::flushStencil readable Review URL: http://codereview.appspot.com/6295046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4173 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move stuff from protected to private in GrGpuGLGravatar bsalomon@google.com2012-06-05
| | | | | | | | Review URL: http://codereview.appspot.com/6295044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4161 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove 4x4 downsample filter modeGravatar bsalomon@google.com2012-06-04
| | | | | | | | Review URL: http://codereview.appspot.com/6267046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4149 2bbb7eff-a529-9590-31e7-b0007b416f81
* Break up GrGpuGL::flushGLCommonStateGravatar bsalomon@google.com2012-06-04
| | | | | | | | Review URL: http://codereview.appspot.com/6270049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4144 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* 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
* 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
* 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 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
* 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
* 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
* 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
* Remove tesselated path renderer and supporting code, glu, and libtess targetGravatar bsalomon@google.com2012-05-11
| | | | | | | | Review URL: http://codereview.appspot.com/6197075/ git-svn-id: http://skia.googlecode.com/svn/trunk@3912 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move convolution from code in GrGLProgram to new GrConvolutionEffectGravatar tomhudson@google.com2012-05-10
| | | | | | | | | | | | | class. This is the first test of the new Ganesh shader pipeline. Also includes some cleanup of the gpu.gyp file: added src/gpu, allowing us to remove ../ from many #include directives. http://codereview.appspot.com/6199053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for performance regression due to r3832Gravatar robertphillips@google.com2012-05-04
| | | | | | | | http://codereview.appspot.com/6188045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3840 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed texture ref/unref bug in GrInOrderDrawBuffer/GrDrawStateGravatar robertphillips@google.com2012-05-03
| | | | | | | | http://codereview.appspot.com/6186043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3832 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-adding red texture support (by rolling back r3800)Gravatar robertphillips@google.com2012-04-30
| | | | | | | | | http://code.google.com/p/skia/source/detail?r=3622 - for original review http://crbug.com/125596 ('M20 windows renderer stability maze') - for issue git-svn-id: http://skia.googlecode.com/svn/trunk@3802 2bbb7eff-a529-9590-31e7-b0007b416f81
* Roll back http://code.google.com/p/skia/source/detail?r=3622 to deal with ↵Gravatar epoger@google.com2012-04-30
| | | | | | http://crbug.com/125596 ('M20 windows renderer stability maze') git-svn-id: http://skia.googlecode.com/svn/trunk@3800 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bumped num stages to 4 in preparation for AA clippingGravatar robertphillips@google.com2012-04-27
| | | | | | | | http://codereview.appspot.com/6135046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3783 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clamp requested MSAA sample count to GL_MAX_SAMPLESGravatar bsalomon@google.com2012-04-27
| | | | | | | | Review URL: http://codereview.appspot.com/6135044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3777 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove expired commentGravatar bsalomon@google.com2012-04-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3776 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix reset of scissor state in onResetContextGravatar bsalomon@google.com2012-04-17
| | | | | | | | Review URL: http://codereview.appspot.com/6061046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3709 2bbb7eff-a529-9590-31e7-b0007b416f81
* First pass at stencil clip mask refactoringGravatar robertphillips@google.com2012-04-16
| | | | | | | | http://codereview.appspot.com/6031043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3692 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_NV_framebuffer_multisample_coverageGravatar bsalomon@google.com2012-04-11
| | | | | | | Review URL: http://codereview.appspot.com/6005043 git-svn-id: http://skia.googlecode.com/svn/trunk@3651 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated blur to use A8/R8 (instead of RGBA8) when available - this provides ↵Gravatar robertphillips@google.com2012-04-10
| | | | | | | | | | a performance gain for large blurs http://codereview.appspot.com/5988071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3647 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initial version of R8 supportGravatar robertphillips@google.com2012-04-06
| | | | | | | | http://codereview.appspot.com/5967067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3622 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 3857 (which was committed from wrong tree)Gravatar bsalomon@google.com2012-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3588 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GL attach/detach in Mac SampleAppGravatar bsalomon@google.com2012-04-03
| | | | | | | Review URL: http://codereview.appspot.com/5984043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3587 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove deprecated names from Gr (WK is no longer using them)Gravatar bsalomon@google.com2012-03-30
| | | | | | | | Review URL: http://codereview.appspot.com/5969046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3553 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland 3503 with fixGravatar bsalomon@google.com2012-03-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3506 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 3503Gravatar bsalomon@google.com2012-03-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3504 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrDrawState object used by GrDrawTarget be settable; set in ↵Gravatar bsalomon@google.com2012-03-27
| | | | | | | | | | GrInOrderDrawBuffer playback Review URL: http://codereview.appspot.com/5908062/ git-svn-id: http://skia.googlecode.com/svn/trunk@3503 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extended debug GL interface to include textures.Gravatar robertphillips@google.com2012-03-26
| | | | | | | | http://codereview.appspot.com/5903043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3495 2bbb7eff-a529-9590-31e7-b0007b416f81
* Erode and dilate image filter effects, CPU and GPU implementations.Gravatar senorblanco@chromium.org2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5656067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU device preserves pixel values across read/write/read of unpremul pixel ↵Gravatar bsalomon@google.com2012-02-23
| | | | | | | | | | values Review URL: http://codereview.appspot.com/5695047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3237 2bbb7eff-a529-9590-31e7-b0007b416f81