aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrDrawTarget.cpp
Commit message (Collapse)AuthorAge
* Add color filters to gpu path.Gravatar Scroggo2011-05-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1297 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make reserveAndLockGeometry set index/vertex ptr to null if none requested. ↵Gravatar bsalomon@google.com2011-04-28
| | | | | | We are expecting this behavior in a caller and it seems reasonable. git-svn-id: http://skia.googlecode.com/svn/trunk@1210 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSSA for drawVerts, cleanup determination of when stage is enabledGravatar bsalomon@google.com2011-04-26
| | | | | | | | Review URL: http://codereview.appspot.com/4430066/ git-svn-id: http://skia.googlecode.com/svn/trunk@1195 2bbb7eff-a529-9590-31e7-b0007b416f81
* Per-draw super sampling. Disabled, path only, 2x2 onlyGravatar bsalomon@google.com2011-04-26
| | | | | | | | Review URL: http://codereview.appspot.com/4452048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1186 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove static from template functionsGravatar reed@google.com2011-04-19
| | | | | | | | http://codereview.appspot.com/4437055/ git-svn-id: http://skia.googlecode.com/svn/trunk@1151 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename XHelper members to onXGravatar bsalomon@google.com2011-04-12
| | | | | | | | Review URL: http://codereview.appspot.com/4380056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1113 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
* Add support for clipstack to Gr. GrClip is now a list of rects and paths ↵Gravatar bsalomon@google.com2011-03-03
| | | | | | with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL. git-svn-id: http://skia.googlecode.com/svn/trunk@878 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
* Batch consecutive draw rects.Gravatar bsalomon@google.com2011-02-16
| | | | | | Review URL: http://codereview.appspot.com/4178057/ git-svn-id: http://skia.googlecode.com/svn/trunk@800 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
* Fix warnings on linux build (strict aliasing, cons init order, vars used ↵Gravatar bsalomon@google.com2011-02-03
| | | | | | only in asserts) git-svn-id: http://skia.googlecode.com/svn/trunk@756 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds ability to draw rects using a unit square vertex buffer. Useful when ↵Gravatar bsalomon@google.com2011-02-01
| | | | | | | | | | matrix/uniform changes are less expensive than sending new verts. Adds optional matrix parameters to GrContext drawRect and drawRectToRect so that non-axis-aligned matrices can be drawn using these functions. codereview Issue 4105049 git-svn-id: http://skia.googlecode.com/svn/trunk@749 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
* Rev the GrContext interface. Context has draw* functions that take a new ↵Gravatar bsalomon@google.com2011-01-21
| | | | | | | | | | | GrPaint object. Removed many of the lower-level GrGpu function call-throughs on context. Remove unused/unsupported point size (we don't draw non-hairline points using GL points). Change current* getter functions to get* for consistency. Fix bounds when drawing inverse-filled paths. git-svn-id: http://skia.googlecode.com/svn/trunk@718 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove static from template specilizations (linux build complained)Gravatar reed@google.com2011-01-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@695 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
* 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