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

Unified Diff: cc/test/fake_output_surface.h

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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/test/data/scaled_render_surface_layer_sw.png ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index f28fcccf58602f65ea2f5f9538d99d5e7a0e3b65..a564eef1546e09f1a828d0af04e2571c6c080f17 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -96,6 +96,9 @@ class FakeOutputSurface : public OutputSurface {
bool BindToClient(OutputSurfaceClient* client) override;
+ void set_framebuffer(unsigned framebuffer) { framebuffer_ = framebuffer; }
+ void BindFramebuffer() override;
+
using OutputSurface::ReleaseGL;
using OutputSurface::InitializeAndSetContext3d;
@@ -138,6 +141,7 @@ class FakeOutputSurface : public OutputSurface {
CompositorFrame last_sent_frame_;
size_t num_sent_frames_;
bool has_external_stencil_test_;
+ unsigned framebuffer_;
TransferableResourceArray resources_held_by_parent_;
scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
gfx::Rect last_swap_rect_;
« no previous file with comments | « cc/test/data/scaled_render_surface_layer_sw.png ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698