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

Unified Diff: cc/output/output_surface.h

Issue 14417014: cc: Add tile-free software compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tests and optimize quad generation Created 7 years, 7 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/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 8ebf01c3c728bb13de9d784b1c6f084477f8edb0..e8d6fe3b3e4b9a033f3c4662b39f58e4143f1b47 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -66,6 +66,11 @@ class CC_EXPORT OutputSurface {
return software_device_.get();
}
+ // In the case where both the context3d and software_device are present
+ // (namely Android WebView), this is called to determine whether the software
+ // device should be used on the current frame.
+ virtual bool ForcedDrawToSoftwareDevice() const;
+
// Called by the compositor on the compositor thread. This is a place where
// thread-specific data for the output surface can be initialized, since from
// this point on the output surface will only be used on the compositor

Powered by Google App Engine
This is Rietveld 408576698