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

Unified Diff: cc/test/fake_output_surface.h

Issue 2693723002: cc: Move output color space from DrawingFrame to RenderPass (Closed)
Patch Set: Fix typo Created 3 years, 10 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
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index 5049827e59a34faf4d4ea74506ac63ea911e6003..4a83f8d9c7793339f8c7033c6c2d76be32022b4a 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -98,6 +98,10 @@ class FakeOutputSurface : public OutputSurface {
return last_swap_rect_;
}
+ const gfx::ColorSpace& last_reshape_color_space() {
+ return last_reshape_color_space_;
+ }
+
protected:
explicit FakeOutputSurface(scoped_refptr<ContextProvider> context_provider);
explicit FakeOutputSurface(
@@ -113,6 +117,7 @@ class FakeOutputSurface : public OutputSurface {
OverlayCandidateValidator* overlay_candidate_validator_ = nullptr;
bool last_swap_rect_valid_ = false;
gfx::Rect last_swap_rect_;
+ gfx::ColorSpace last_reshape_color_space_;
private:
void SwapBuffersAck();

Powered by Google App Engine
This is Rietveld 408576698