| 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 37bdecdaa82eb6e4ede3d61fcbd6201e61e296a9..487d0a66e503894021728a69ea392c076dda3182 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| @@ -3276,6 +3276,27 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
|
| CheckGLError();
|
| }
|
|
|
| +void GLES2Implementation::ScheduleCALayerInUseQueryCHROMIUM(
|
| + GLsizei count,
|
| + const GLuint* textures) {
|
| + GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| + GPU_CLIENT_LOG("[" << GetLogPrefix()
|
| + << "] glScheduleCALayerInUseQueryCHROMIUM(" << count
|
| + << ", " << static_cast<const void*>(textures) << ")");
|
| + GPU_CLIENT_LOG_CODE_BLOCK({
|
| + for (GLsizei i = 0; i < count; ++i) {
|
| + GPU_CLIENT_LOG(" " << i << ": " << textures[0 + i * 1]);
|
| + }
|
| + });
|
| + if (count < 0) {
|
| + SetGLError(GL_INVALID_VALUE, "glScheduleCALayerInUseQueryCHROMIUM",
|
| + "count < 0");
|
| + return;
|
| + }
|
| + helper_->ScheduleCALayerInUseQueryCHROMIUMImmediate(count, textures);
|
| + CheckGLError();
|
| +}
|
| +
|
| void GLES2Implementation::FlushDriverCachesCHROMIUM() {
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM("
|
|
|