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

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

Issue 342923002: Remove GL query processing from DrawElements/DrawArrays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 95b92ecf4ee8e104c1873e1aab9f9d698f4aae1a..02ac2f68eff5d11c63625616e781cedb442ce94b 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -6447,7 +6447,6 @@ error::Error GLES2DecoderImpl::DoDrawArrays(
} else {
glDrawArraysInstancedANGLE(mode, first, count, primcount);
}
- ProcessPendingQueries();
if (textures_set) {
RestoreStateForTextures();
}
@@ -6587,7 +6586,6 @@ error::Error GLES2DecoderImpl::DoDrawElements(
element_array_buffer->service_id());
}
- ProcessPendingQueries();
if (textures_set) {
RestoreStateForTextures();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698