aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
Commit message (Collapse)AuthorAge
* Add asAGradient shader extraction API.Gravatar vandebo@chromium.org2011-02-24
| | | | | | | | | Store initial gradient parameters. Add compile asserts in GPU code for BitmapType ordering. Review URL: http://codereview.appspot.com/4178063 git-svn-id: http://skia.googlecode.com/svn/trunk@845 2bbb7eff-a529-9590-31e7-b0007b416f81
* change virtual setMatrixClip() to take a SkClipStack parameter.Gravatar reed@google.com2011-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@831 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
* need to apply the prepathmatrix (or perhaps push it on our mv stack)Gravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@804 2bbb7eff-a529-9590-31e7-b0007b416f81
* upload generated mask for maskfilter to gpu (does not work with ↵Gravatar reed@google.com2011-02-16
| | | | | | complex-paints yet) git-svn-id: http://skia.googlecode.com/svn/trunk@802 2bbb7eff-a529-9590-31e7-b0007b416f81
* first steps for supporting maskfilters (disabled right now)Gravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@801 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
* Attempt to simplify NPOT texture caps. Also fixes case where textures would ↵Gravatar bsalomon@google.com2011-02-01
| | | | | | unnecessarily be bloated to POT. Adds setting of sampler's filter setting in paint conversion. git-svn-id: http://skia.googlecode.com/svn/trunk@751 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
* fix slow performance on desktops by uping our max-texture-dim from 512 toGravatar reed@google.com2011-01-28
| | | | | | | | whatever the gpu itself broadcasts. git-svn-id: http://skia.googlecode.com/svn/trunk@742 2bbb7eff-a529-9590-31e7-b0007b416f81
* make xfermode warning printf be debug-onlyGravatar reed@google.com2011-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@720 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 notion of default rendertarget. This doesn't map well to usage ↵Gravatar bsalomon@google.com2011-01-18
| | | | | | patterns outside sample app. Make binding between SkGpuDevice and a GrRenderTarget more explicit. Create method on GrContext to wrap the current target in the 3D API with a GrRenderTarget. git-svn-id: http://skia.googlecode.com/svn/trunk@706 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
* expose gpu-device-factoryGravatar reed@google.com2011-01-11
| | | | | | | | | | use that factory in gpucanvas, rather than overriding createDevice note: I think we now don't need the canvas parameter in device-factory git-svn-id: http://skia.googlecode.com/svn/trunk@684 2bbb7eff-a529-9590-31e7-b0007b416f81
* add template macro to "safely" perform casts w/o breaking strict-aliasingGravatar reed@google.com2011-01-05
| | | | | | | | fix aliasing warnings git-svn-id: http://skia.googlecode.com/svn/trunk@674 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix build for scalar==fixedGravatar reed@google.com2011-01-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@671 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gpu to the default makefileGravatar reed@google.com2010-12-23
move skia-gpu files into skia/src/gpu git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81