Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 4fcb0b3217102debe568bd972bbadbecf86a0d34..e0e1e7b9961d918e1e787b7697e783c33501eab2 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -4842,7 +4842,7 @@ void GLES2Implementation::GetTransformFeedbackVaryingsCHROMIUM( |
memcpy(info, &result[0], result.size()); |
} |
-GLuint GLES2Implementation::CreateStreamTextureCHROMIUM(GLuint texture) { |
+GLint GLES2Implementation::CreateStreamTextureCHROMIUM(GLuint texture) { |
GPU_CLIENT_SINGLE_THREAD_CHECK(); |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] CreateStreamTextureCHROMIUM(" |
<< texture << ")"); |
@@ -4851,6 +4851,18 @@ GLuint GLES2Implementation::CreateStreamTextureCHROMIUM(GLuint texture) { |
return gpu_control_->CreateStreamTexture(texture); |
} |
+void GLES2Implementation::SetStreamTextureSizeCHROMIUM(GLuint texture, |
+ GLint stream_id, |
+ GLsizei width, |
+ GLsizei height) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] SetStreamTextureSizeCHROMIUM(" |
+ << texture << ", " << stream_id << ", " << width << "," |
+ << height << ")"); |
+ TRACE_EVENT0("gpu", "GLES2::SetStreamTextureSizeCHROMIUM"); |
+ return gpu_control_->SetStreamTextureSize(texture, stream_id, width, height); |
+} |
+ |
void GLES2Implementation::PostSubBufferCHROMIUM( |
GLint x, GLint y, GLint width, GLint height) { |
GPU_CLIENT_SINGLE_THREAD_CHECK(); |