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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc

Issue 2163493002: Break glScheduleCALayerCHROMIUM into smaller functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp37_cleanup_calayeroverlay
Patch Set: Comments from piman. 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/service/gles2_cmd_decoder_passthrough_doers.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
index d935f17aef87b421ec088fe86474f1d009e4367a..72c8ded6cf62026ef5272cd9f32fecc219275af4 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
@@ -1858,13 +1858,8 @@ error::Error GLES2DecoderPassthroughImpl::DoScheduleOverlayPlaneCHROMIUM(
return error::kNoError;
}
-error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM(
- GLuint contents_texture_id,
- const GLfloat* contents_rect,
+error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerSharedStateCHROMIUM(
GLfloat opacity,
- GLuint background_color,
- GLuint edge_aa_mask,
- const GLfloat* bounds_rect,
GLboolean is_clipped,
const GLfloat* clip_rect,
GLint sorting_context_id,
@@ -1872,6 +1867,15 @@ error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM(
return error::kNoError;
}
+error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM(
+ GLuint contents_texture_id,
+ const GLfloat* contents_rect,
+ GLuint background_color,
+ GLuint edge_aa_mask,
+ const GLfloat* bounds_rect) {
+ return error::kNoError;
+}
+
error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerInUseQueryCHROMIUM(
GLuint n,
const GLuint* textures) {

Powered by Google App Engine
This is Rietveld 408576698