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

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

Issue 2163493002: Break glScheduleCALayerCHROMIUM into smaller functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp37_cleanup_calayeroverlay
Patch Set: Rebase. Created 4 years, 5 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 f53df9dca290030a795457214525c7b0e375f87b..74b90b5b7b1c1411cd4d5b91d159983e99f891f5 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3276,6 +3276,15 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
CheckGLError();
}
+void GLES2Implementation::UnscheduleCALayerSharedStateCHROMIUM() {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix()
+ << "] glUnscheduleCALayerSharedStateCHROMIUM("
+ << ")");
+ helper_->UnscheduleCALayerSharedStateCHROMIUM();
+ CheckGLError();
+}
+
void GLES2Implementation::ScheduleCALayerInUseQueryCHROMIUM(
GLsizei count,
const GLuint* textures) {

Powered by Google App Engine
This is Rietveld 408576698