aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
Commit message (Collapse)AuthorAge
* Replace GrMatrix with SkMatrix.Gravatar bsalomon@google.com2012-11-01
| | | | | | Review URL: https://codereview.appspot.com/6814067 git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename GrSamplerState to GrEffectStage.Gravatar bsalomon@google.com2012-10-26
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6777053 git-svn-id: http://skia.googlecode.com/svn/trunk@6135 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move some auto restore helpers from GrDrawTarget to GrDrawState.Gravatar bsalomon@google.com2012-10-05
| | | | | | R=robertphillips@google.com git-svn-id: http://skia.googlecode.com/svn/trunk@5846 2bbb7eff-a529-9590-31e7-b0007b416f81
* Moved paint color to vertex colors for batched rectsGravatar robertphillips@google.com2012-10-05
| | | | | | | | https://codereview.appspot.com/6620045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5830 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add "class" missing from "friend class". How did this compile on windows?Gravatar bsalomon@google.com2012-08-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5329 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hide GrDrawTarget::Caps's member varsGravatar bsalomon@google.com2012-08-28
| | | | | | | | Review URL: https://codereview.appspot.com/6499044 git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed GrClip & related classesGravatar robertphillips@google.com2012-08-01
| | | | | | | | http://codereview.appspot.com/6450071/ git-svn-id: http://skia.googlecode.com/svn/trunk@4899 2bbb7eff-a529-9590-31e7-b0007b416f81
* Altered Ganesh's clip stack plumbing to pass down new GrClipData classGravatar robertphillips@google.com2012-07-26
| | | | | | | | http://codereview.appspot.com/6454047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4788 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove stage masksGravatar bsalomon@google.com2012-07-20
| | | | | | | | Review URL: http://codereview.appspot.com/6422047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4688 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove redundant vlayout masks and wasted vlayout bitsGravatar bsalomon@google.com2012-07-10
| | | | | | | Review URL: http://codereview.appspot.com/6345080/ git-svn-id: http://skia.googlecode.com/svn/trunk@4506 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rolling back r4034 (Proposed plumbing to propagate save & restore)Gravatar robertphillips@google.com2012-07-03
| | | | | | | | http://codereview.appspot.com/6346066/ git-svn-id: http://skia.googlecode.com/svn/trunk@4456 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initial support for GL_NV_path_renering. Experimental, there are still some ↵Gravatar bsalomon@google.com2012-06-28
| | | | | | | | | | issues to resolve, set gyp variable skia_nv_path_rendering=1 or build flag GR_GL_USE_NV_PATH_RENDERING to enable. http://codereview.appspot.com/6349049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4390 2bbb7eff-a529-9590-31e7-b0007b416f81
* plumb SkInstCnt to all subclasses of GrRefCntGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrPaint::*StageEnabled() and GrDrawState::stageEnabled() functions.Gravatar tomhudson@google.com2012-06-25
| | | | | | | | | | | | | | These wrap the question of "is this stage of the shader enabled?" so that we can change the semantics - previously iff there was a texture, now if there is a texture OR a GrCustomStage, soon (post-cl 6306097) iff there is a GrCustomStage, which at that point will hold whatever texture is necessary. http://codereview.appspot.com/6306104/ git-svn-id: http://skia.googlecode.com/svn/trunk@4325 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify vertex layout bitfields by making Position-as-texcoords theGravatar tomhudson@google.com2012-06-25
| | | | | | | | | | default. http://codereview.appspot.com/6337050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4321 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed two bugs in SW-only clip mask generationGravatar robertphillips@google.com2012-06-21
| | | | | | | | http://codereview.appspot.com/6306086/ git-svn-id: http://skia.googlecode.com/svn/trunk@4290 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrClipMaskManager configure the stencil and scissor on GrGpuGravatar bsalomon@google.com2012-06-21
| | | | | | | | Review URL: http://codereview.appspot.com/6308096/ git-svn-id: http://skia.googlecode.com/svn/trunk@4288 2bbb7eff-a529-9590-31e7-b0007b416f81
* Towards NV path renderingGravatar bsalomon@google.com2012-06-11
| | | | | | | | Review URL: http://codereview.appspot.com/6302049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4219 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
* Attached ClipMaskManager to GPU resource freeing systemGravatar robertphillips@google.com2012-05-14
| | | | | | | | http://codereview.appspot.com/6208058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3927 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
* Added gpu AA clipping to old shader pathGravatar robertphillips@google.com2012-05-01
| | | | | | | | http://codereview.appspot.com/6139065/ git-svn-id: http://skia.googlecode.com/svn/trunk@3812 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make fewer copies when using GrDrawTarget::AutoStateRestoreGravatar bsalomon@google.com2012-03-30
| | | | | | | | Review URL: http://codereview.appspot.com/5938043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3557 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't look at current vertex layout when vertex source hasn't been setGravatar bsalomon@google.com2012-03-29
| | | | | | | | Review URL: http://codereview.appspot.com/5959047 git-svn-id: http://skia.googlecode.com/svn/trunk@3545 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
* Add GrDrawTarget::drawIndexedInstance, use in default text context.Gravatar bsalomon@google.com2012-03-20
| | | | | | | | Review URL: http://codereview.appspot.com/5848064/ git-svn-id: http://skia.googlecode.com/svn/trunk@3444 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3435, no perf winGravatar bsalomon@google.com2012-03-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3436 2bbb7eff-a529-9590-31e7-b0007b416f81
* inline GrDrawTarget::copyDrawStateGravatar bsalomon@google.com2012-03-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3435 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix missing return statementGravatar bsalomon@google.com2012-03-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3373 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option to automatically flush GrInOrderDrawBuffer based on previewing ↵Gravatar bsalomon@google.com2012-03-13
| | | | | | | | | | vtx/idx request sizes Review URL: http://codereview.appspot.com/5794079/ git-svn-id: http://skia.googlecode.com/svn/trunk@3372 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change interface on GrDrawTarget to reserve vtx/idx space at same timeGravatar bsalomon@google.com2012-03-13
| | | | | | | Review URL: https://codereview.appspot.com/5796066/ git-svn-id: http://skia.googlecode.com/svn/trunk@3371 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn clipping back on in OSAA pass 1. Skip default cons on GrDrawState when ↵Gravatar bsalomon@google.com2012-01-18
| | | | | | | | | | saving off a GrDrawTarget's state. Review URL: http://codereview.appspot.com/5553051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3067 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
* 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
* 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
* fix commentGravatar bsalomon@google.com2012-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3008 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
* 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
* Prep #1 for making GrDrawState a classGravatar bsalomon@google.com2011-12-06
| | | | | | | | | Review URL: http://codereview.appspot.com/5437138/ git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove allocated size vs content size in texturesGravatar bsalomon@google.com2011-11-15
| | | | | | | | Review URL: http://codereview.appspot.com/5373100/ git-svn-id: http://skia.googlecode.com/svn/trunk@2687 2bbb7eff-a529-9590-31e7-b0007b416f81
* consolidate debug draw param checking codeGravatar bsalomon@google.com2011-11-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2613 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix pure virtual call from destructor and turn VertBench back onGravatar bsalomon@google.com2011-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2556 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