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

Unified Diff: ui/compositor/compositor_switches.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Merged PaintContext Offset into paint_recording_bounds_ Created 3 years, 5 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: ui/compositor/compositor_switches.h
diff --git a/ui/compositor/compositor_switches.h b/ui/compositor/compositor_switches.h
index 0cc31be97b383808b4bf3797a3961ffc7d2b0c1f..54a9dcf76c6b060acb2f7df856bfe039d361d3d0 100644
--- a/ui/compositor/compositor_switches.h
+++ b/ui/compositor/compositor_switches.h
@@ -16,6 +16,7 @@ COMPOSITOR_EXPORT extern const char kUIEnableRGBA4444Textures[];
COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
COMPOSITOR_EXPORT extern const char kUISlowAnimations[];
+COMPOSITOR_EXPORT extern const char kEnablePixelCanvasRecording[];
} // namespace switches
@@ -23,6 +24,9 @@ namespace ui {
bool IsUIZeroCopyEnabled();
+bool IsPixelCanvasRecordingEnabled();
+COMPOSITOR_EXPORT void SetPixelCanvasForTesting(bool value);
+
} // namespace ui
#endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_

Powered by Google App Engine
This is Rietveld 408576698