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

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

Issue 2801783002: Revert of Update robust read pixels to output number of columns and rows written. (Closed)
Patch Set: Created 3 years, 8 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 d602360c369fbf5981ce8050b6f0eeb0b74b56a8..f6e723d54e2bec72412c79a5bcc88c45bbf297e2 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
@@ -1687,13 +1687,11 @@
GLenum type,
GLsizei bufsize,
GLsizei* length,
- GLsizei* columns,
- GLsizei* rows,
void* pixels,
int32_t* success) {
FlushErrors();
glReadPixelsRobustANGLE(x, y, width, height, format, type, bufsize, length,
- columns, rows, pixels);
+ pixels);
*success = FlushErrors() ? 0 : 1;
return error::kNoError;
}

Powered by Google App Engine
This is Rietveld 408576698