diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-13 17:24:24 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-13 17:24:24 +0000 |
commit | 42dacab4e7366d9f53989558cc8d045c3d065bcd (patch) | |
tree | b4659c9888df3193960c1dd1cfb01650dcc12cdb /include/gpu/SkGpuDevice.h | |
parent | 0408a346962ef0939704fe435a0cdde52da4613f (diff) |
Make GrPaint have a variable sized array of color and coverage stages rather than a fixed size.
R=robertphillips@google.com, jvanverth@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/18686007
git-svn-id: http://skia.googlecode.com/svn/trunk@10062 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/SkGpuDevice.h')
-rw-r--r-- | include/gpu/SkGpuDevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h index 0dd363fa36..b0b15591ca 100644 --- a/include/gpu/SkGpuDevice.h +++ b/include/gpu/SkGpuDevice.h @@ -152,7 +152,6 @@ private: Usage usage) SK_OVERRIDE; SkDrawProcs* initDrawForText(GrTextContext*); - bool bindDeviceAsTexture(GrPaint* paint); // sets the render target, clip, and matrix on GrContext. Use forceIdenity to override // SkDraw's matrix and draw in device coords. @@ -178,12 +177,12 @@ private: const SkRect&, const SkMatrix&, const GrTextureParams& params, - GrPaint* grPaint); + const SkPaint& paint); void drawTiledBitmap(const SkBitmap& bitmap, const SkRect& srcRect, const SkMatrix& m, const GrTextureParams& params, - GrPaint* grPaint); + const SkPaint& paint); /** * Returns non-initialized instance. |