| Index: src/gpu/GrRenderTarget.cpp
|
| diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp
|
| index b9763325d89b6363e67dfcc486099ea64fd98121..7ed70c954ebfc17868369e7be29d4ceca6f6ff87 100644
|
| --- a/src/gpu/GrRenderTarget.cpp
|
| +++ b/src/gpu/GrRenderTarget.cpp
|
| @@ -13,38 +13,6 @@
|
| #include "GrGpu.h"
|
| #include "GrStencilBuffer.h"
|
|
|
| -bool GrRenderTarget::readPixels(int left, int top, int width, int height,
|
| - GrPixelConfig config,
|
| - void* buffer,
|
| - size_t rowBytes,
|
| - uint32_t pixelOpsFlags) {
|
| - // go through context so that all necessary flushing occurs
|
| - GrContext* context = this->getContext();
|
| - if (NULL == context) {
|
| - return false;
|
| - }
|
| - return context->readRenderTargetPixels(this,
|
| - left, top, width, height,
|
| - config, buffer, rowBytes,
|
| - pixelOpsFlags);
|
| -}
|
| -
|
| -void GrRenderTarget::writePixels(int left, int top, int width, int height,
|
| - GrPixelConfig config,
|
| - const void* buffer,
|
| - size_t rowBytes,
|
| - uint32_t pixelOpsFlags) {
|
| - // go through context so that all necessary flushing occurs
|
| - GrContext* context = this->getContext();
|
| - if (NULL == context) {
|
| - return;
|
| - }
|
| - context->writeRenderTargetPixels(this,
|
| - left, top, width, height,
|
| - config, buffer, rowBytes,
|
| - pixelOpsFlags);
|
| -}
|
| -
|
| void GrRenderTarget::resolve() {
|
| // go through context so that all necessary flushing occurs
|
| GrContext* context = this->getContext();
|
|
|