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

Unified Diff: gpu/command_buffer/client/gles2_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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index a5a5091eed8901a1962b807c87dab330f03b722f..345278672866ed657117640ffe0938037386379c 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3329,6 +3329,16 @@ void GLES2Implementation::FlushDriverCachesCHROMIUM() {
CheckGLError();
}
+void GLES2Implementation::SetDCLayerTextureCHROMIUM(
+ GLuint index,
+ GLuint contents_texture_id) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glSetDCLayerTextureCHROMIUM("
+ << index << ", " << contents_texture_id << ")");
+ helper_->SetDCLayerTextureCHROMIUM(index, contents_texture_id);
+ CheckGLError();
+}
+
void GLES2Implementation::MatrixLoadfCHROMIUM(GLenum matrixMode,
const GLfloat* m) {
GPU_CLIENT_SINGLE_THREAD_CHECK();

Powered by Google App Engine
This is Rietveld 408576698