diff options
Diffstat (limited to 'chromium/third_party/skia/src/gpu/GrSWMaskHelper.h')
-rw-r--r-- | chromium/third_party/skia/src/gpu/GrSWMaskHelper.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/third_party/skia/src/gpu/GrSWMaskHelper.h b/chromium/third_party/skia/src/gpu/GrSWMaskHelper.h index b274e84c66d..0ffaa649822 100644 --- a/chromium/third_party/skia/src/gpu/GrSWMaskHelper.h +++ b/chromium/third_party/skia/src/gpu/GrSWMaskHelper.h @@ -38,7 +38,7 @@ class GrDrawTarget; * The result of this process will be the final mask (on the GPU) in the * upper left hand corner of the texture. */ -class GrSWMaskHelper : public SkNoncopyable { +class GrSWMaskHelper : SkNoncopyable { public: GrSWMaskHelper(GrContext* context) : fContext(context) { @@ -101,6 +101,11 @@ private: SkDraw fDraw; SkRasterClip fRasterClip; + // Actually sends the texture data to the GPU. This is called from + // toTexture with the data filled in depending on the texture config. + void sendTextureData(GrTexture *texture, const GrTextureDesc& desc, + const void *data, int rowbytes); + typedef SkNoncopyable INHERITED; }; |