| Index: src/gpu/gl/GrGpuGL.h
|
| diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
|
| index 4224ba64fdd3f7279c73ece0cbfdc388e5c2bb76..a176c95bca5841c04e7a789ffdc7d92564535a72 100644
|
| --- a/src/gpu/gl/GrGpuGL.h
|
| +++ b/src/gpu/gl/GrGpuGL.h
|
| @@ -68,7 +68,7 @@
|
| size_t rowBytes) const SK_OVERRIDE;
|
| virtual bool fullReadPixelsIsFasterThanPartial() const SK_OVERRIDE;
|
|
|
| - virtual bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) SK_OVERRIDE;
|
| + virtual void initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) SK_OVERRIDE;
|
|
|
| // These functions should be used to bind GL objects. They track the GL state and skip redundant
|
| // bindings. Making the equivalent glBind calls directly will confuse the state tracking.
|
| @@ -94,15 +94,16 @@
|
| fHWGeometryState.notifyIndexBufferDelete(id);
|
| }
|
|
|
| - bool copySurface(GrSurface* dst,
|
| - GrSurface* src,
|
| - const SkIRect& srcRect,
|
| - const SkIPoint& dstPoint) SK_OVERRIDE;
|
| -
|
| - bool canCopySurface(const GrSurface* dst,
|
| - const GrSurface* src,
|
| - const SkIRect& srcRect,
|
| - const SkIPoint& dstPoint) SK_OVERRIDE;
|
| + // DrawTarget overrides
|
| + virtual bool copySurface(GrSurface* dst,
|
| + GrSurface* src,
|
| + const SkIRect& srcRect,
|
| + const SkIPoint& dstPoint) SK_OVERRIDE;
|
| +
|
| + virtual bool canCopySurface(const GrSurface* dst,
|
| + const GrSurface* src,
|
| + const SkIRect& srcRect,
|
| + const SkIPoint& dstPoint) SK_OVERRIDE;
|
|
|
| protected:
|
| virtual void buildProgramDesc(const GrOptDrawState&,
|
|
|