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

Unified Diff: cc/output/direct_renderer.h

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: Created 4 years, 1 month 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/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index af7327784683dc3373a148ca8e8a55e3291e94b8..e4bb44b65876837d685989b5e388c2672a633ce7 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -173,6 +173,8 @@ class CC_EXPORT DirectRenderer {
return reshape_surface_size_;
}
+ bool IsResourcePromotable(ResourceId resource_id);
+
const RendererSettings* const settings_;
OutputSurface* const output_surface_;
ResourceProvider* const resource_provider_;

Powered by Google App Engine
This is Rietveld 408576698