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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 2127001: Makes shader translation a runtime switch.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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_autogen.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder_autogen.h (revision 47428)
+++ gpu/command_buffer/service/gles2_cmd_decoder_autogen.h (working copy)
@@ -2735,17 +2735,5 @@
return error::kNoError;
}
-error::Error GLES2DecoderImpl::HandleCommandBufferEnable(
- uint32 immediate_data_size, const gles2::CommandBufferEnable& c) {
- GLenum cap = static_cast<GLenum>(c.cap);
- GLboolean enable = static_cast<GLboolean>(c.enable);
- if (!ValidateGLenumCommandBufferState(cap)) {
- SetGLError(GL_INVALID_ENUM, "glCommandBufferEnable: cap GL_INVALID_ENUM");
- return error::kNoError;
- }
- DoCommandBufferEnable(cap, enable);
- return error::kNoError;
-}
-
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698