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

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

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)
Patch Set: fix windows compile warning Created 3 years, 10 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_handlers.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
index aba98b61a3d750ea5d67f7c867e44ba33c48db2e..221a968daccbeafef16e8bd6918df7e06edb6994 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc
@@ -1514,23 +1514,6 @@ error::Error GLES2DecoderPassthroughImpl::HandleGetTranslatedShaderSourceANGLE(
return error::kNoError;
}
-error::Error GLES2DecoderPassthroughImpl::HandleSwapBuffersWithDamageCHROMIUM(
- uint32_t immediate_data_size,
- const volatile void* cmd_data) {
- const volatile gles2::cmds::SwapBuffersWithDamageCHROMIUM& c =
- *static_cast<const volatile gles2::cmds::SwapBuffersWithDamageCHROMIUM*>(
- cmd_data);
- GLint x = static_cast<GLint>(c.x);
- GLint y = static_cast<GLint>(c.y);
- GLint width = static_cast<GLint>(c.width);
- GLint height = static_cast<GLint>(c.height);
- error::Error error = DoSwapBuffersWithDamageCHROMIUM(x, y, width, height);
- if (error != error::kNoError) {
- return error;
- }
- return error::kNoError;
-}
-
error::Error GLES2DecoderPassthroughImpl::HandlePostSubBufferCHROMIUM(
uint32_t immediate_data_size,
const volatile void* cmd_data) {

Powered by Google App Engine
This is Rietveld 408576698