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

Unified Diff: cc/output/output_surface.h

Issue 376683004: Pass resourceless software mode in BeginFrameArgs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tiny clean up Created 6 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: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 98a48304b8b1fa0c85c700cd7c4a5d38d4de335e..9c5ce6f81bbeb46fa8b80bee971325358ecee017 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -94,11 +94,6 @@ 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
@@ -175,6 +170,7 @@ class CC_EXPORT OutputSurface {
void SetExternalDrawConstraints(const gfx::Transform& transform,
const gfx::Rect& viewport,
const gfx::Rect& clip,
+ bool resourceless_software_draw,
bool valid_for_tile_management);
private:

Powered by Google App Engine
This is Rietveld 408576698