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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 2849743002: Allow binding multiple textures to one DC Layer overlay. (Closed)
Patch Set: improve test Created 3 years, 8 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: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 4b096cddf4cb1594e551ab0bedcc8b3b4cbe719e..af37043e31351238a60be24324e1b234d5f16a40 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -2221,17 +2221,22 @@ void GLES2TraceImplementation::ScheduleDCLayerSharedStateCHROMIUM(
z_order, transform);
}
+void GLES2TraceImplementation::SetDCLayerTextureCHROMIUM(
+ GLuint index,
+ GLuint contents_texture_id) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SetDCLayerTextureCHROMIUM");
+ gl_->SetDCLayerTextureCHROMIUM(index, contents_texture_id);
+}
+
void GLES2TraceImplementation::ScheduleDCLayerCHROMIUM(
- GLuint contents_texture_id,
const GLfloat* contents_rect,
GLuint background_color,
GLuint edge_aa_mask,
const GLfloat* bounds_rect,
GLuint filter) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ScheduleDCLayerCHROMIUM");
- gl_->ScheduleDCLayerCHROMIUM(contents_texture_id, contents_rect,
- background_color, edge_aa_mask, bounds_rect,
- filter);
+ gl_->ScheduleDCLayerCHROMIUM(contents_rect, background_color, edge_aa_mask,
+ bounds_rect, filter);
}
void GLES2TraceImplementation::MatrixLoadfCHROMIUM(GLenum matrixMode,

Powered by Google App Engine
This is Rietveld 408576698