Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index 066a237e590710ea1023518556127ebe810525dc..0442e1109bc16aa26245753bada8f4c0af026dd3 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -57,15 +57,13 @@ public: |
// Used by GrGLProgram to configure OpenGL state. |
void bindTexture(int unitIdx, const GrTextureParams& params, GrGLTexture* texture); |
- bool getReadPixelsInfo(GrSurface* srcSurface, int readWidth, int readHeight, size_t rowBytes, |
- GrPixelConfig readConfig, DrawPreference*, |
- ReadPixelTempDrawInfo*) override; |
+ bool onGetReadPixelsInfo(GrSurface* srcSurface, int readWidth, int readHeight, size_t rowBytes, |
+ GrPixelConfig readConfig, DrawPreference*, |
+ ReadPixelTempDrawInfo*) override; |
- |
- // GrGpu overrides |
- GrPixelConfig preferredWritePixelsConfig(GrPixelConfig writeConfig, |
- GrPixelConfig surfaceConfig) const override; |
- bool canWriteTexturePixels(const GrTexture*, GrPixelConfig srcConfig) const override; |
+ bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, |
+ size_t rowBytes, GrPixelConfig srcConfig, DrawPreference*, |
+ WritePixelTempDrawInfo*) override; |
bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) const override; |