diff options
Diffstat (limited to 'cc/output/software_renderer.cc')
-rw-r--r-- | cc/output/software_renderer.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc index 69c3b7e..fec4f3e 100644 --- a/cc/output/software_renderer.cc +++ b/cc/output/software_renderer.cc @@ -407,15 +407,6 @@ void SoftwareRenderer::DrawUnsupportedQuad(const DrawingFrame* frame, current_paint_); } -void SoftwareRenderer::CopyCurrentRenderPassToBitmap(DrawingFrame* frame, - SkBitmap* bitmap) { - gfx::Size render_pass_size = frame->current_render_pass->output_rect.size(); - bitmap->setConfig(SkBitmap::kARGB_8888_Config, - render_pass_size.width(), - render_pass_size.height()); - current_canvas_->readPixels(bitmap, 0, 0); -} - void SoftwareRenderer::GetFramebufferPixels(void* pixels, gfx::Rect rect) { TRACE_EVENT0("cc", "SoftwareRenderer::GetFramebufferPixels"); SkBitmap subset_bitmap; |