Chromium Code Reviews| Index: src/gpu/GrTest.cpp |
| diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
| index fd2908eb766e2a519d21d5a6cb866c960cdda9cd..9f066d29beaab265e03c6c782c5a9f3ead45cf1f 100644 |
| --- a/src/gpu/GrTest.cpp |
| +++ b/src/gpu/GrTest.cpp |
| @@ -204,7 +204,7 @@ private: |
| void onDraw(const DrawArgs&, const GrNonInstancedVertices&) override {} |
|
robertphillips
2015/07/30 12:57:17
target -> surface or remove ?
bsalomon
2015/07/30 14:23:14
Done.
|
| - bool onReadPixels(GrRenderTarget* target, |
| + bool onReadPixels(GrSurface* target, |
| int left, int top, int width, int height, |
| GrPixelConfig, |
| void* buffer, |
| @@ -212,10 +212,10 @@ private: |
| return false; |
| } |
|
robertphillips
2015/07/30 12:57:17
texture -> surface or remove ?
bsalomon
2015/07/30 14:23:14
Done.
|
| - bool onWriteTexturePixels(GrTexture* texture, |
| - int left, int top, int width, int height, |
| - GrPixelConfig config, const void* buffer, |
| - size_t rowBytes) override { |
| + bool onWritePixels(GrSurface* texture, |
| + int left, int top, int width, int height, |
| + GrPixelConfig config, const void* buffer, |
| + size_t rowBytes) override { |
| return false; |
| } |