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

Unified Diff: cc/output/gl_renderer.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: #include and comment cleanup 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/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 6045e2c7684ce862275ca5b15b5d064c96eec363..eb679073b9f61c7ed5fec7a4f3a5e826026f61b7 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2472,6 +2472,9 @@ void GLRenderer::DrawStreamVideoQuad(const DrawingFrame* frame,
GetVideoStreamTextureProgram(tex_coord_precision);
SetUseProgram(program->program());
+ bool is_promotable = IsResourcePromotable(quad->resource_id());
+ LOG(ERROR) << "AVDA: " << __FUNCTION__ << ": promotable: " << is_promotable;
+
ToGLMatrix(&gl_matrix[0], quad->matrix);
ResourceProvider::ScopedReadLockGL lock(resource_provider_,

Powered by Google App Engine
This is Rietveld 408576698