bool GrRenderTarget::readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) { // 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); }