Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: cc/output/software_renderer.h

Issue 24239006: cc: Don't discard framebuffer when using partial swaps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_renderer.h
diff --git a/cc/output/software_renderer.h b/cc/output/software_renderer.h
index e534f808289c66e9d31856d23a329bd4ab9e1954..5a8780e043c16d4116fb5e9e8d17fc090d86d61b 100644
--- a/cc/output/software_renderer.h
+++ b/cc/output/software_renderer.h
@@ -57,7 +57,10 @@ class CC_EXPORT SoftwareRenderer : public DirectRenderer {
gfx::Rect target_rect) OVERRIDE;
virtual void SetDrawViewport(gfx::Rect window_space_viewport) OVERRIDE;
virtual void SetScissorTestRect(gfx::Rect scissor_rect) OVERRIDE;
- virtual void ClearFramebuffer(DrawingFrame* frame) OVERRIDE;
+ virtual void DiscardPixels(bool has_external_stencil_test,
+ bool draw_rect_covers_full_surface) OVERRIDE;
+ virtual void ClearFramebuffer(DrawingFrame* frame,
+ bool has_external_stencil_test) OVERRIDE;
virtual void DoDrawQuad(DrawingFrame* frame, const DrawQuad* quad) OVERRIDE;
virtual void BeginDrawingFrame(DrawingFrame* frame) OVERRIDE;
virtual void FinishDrawingFrame(DrawingFrame* frame) OVERRIDE;
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698