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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 1719019: GPU service interprets glFinish as glFlush.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated. DO NOT EDIT! 5 // This file is auto-generated. DO NOT EDIT!
6 6
7 // It is included by gles2_cmd_decoder.cc 7 // It is included by gles2_cmd_decoder.cc
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
10 10
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 680
681 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray( 681 error::Error GLES2DecoderImpl::HandleEnableVertexAttribArray(
682 uint32 immediate_data_size, const gles2::EnableVertexAttribArray& c) { 682 uint32 immediate_data_size, const gles2::EnableVertexAttribArray& c) {
683 GLuint index = static_cast<GLuint>(c.index); 683 GLuint index = static_cast<GLuint>(c.index);
684 DoEnableVertexAttribArray(index); 684 DoEnableVertexAttribArray(index);
685 return error::kNoError; 685 return error::kNoError;
686 } 686 }
687 687
688 error::Error GLES2DecoderImpl::HandleFinish( 688 error::Error GLES2DecoderImpl::HandleFinish(
689 uint32 immediate_data_size, const gles2::Finish& c) { 689 uint32 immediate_data_size, const gles2::Finish& c) {
690 glFinish(); 690 glFlush();
691 return error::kNoError; 691 return error::kNoError;
692 } 692 }
693 693
694 error::Error GLES2DecoderImpl::HandleFlush( 694 error::Error GLES2DecoderImpl::HandleFlush(
695 uint32 immediate_data_size, const gles2::Flush& c) { 695 uint32 immediate_data_size, const gles2::Flush& c) {
696 glFlush(); 696 glFlush();
697 return error::kNoError; 697 return error::kNoError;
698 } 698 }
699 699
700 error::Error GLES2DecoderImpl::HandleFramebufferRenderbuffer( 700 error::Error GLES2DecoderImpl::HandleFramebufferRenderbuffer(
(...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after
2831 if (!ValidateGLenumIndexType(type)) { 2831 if (!ValidateGLenumIndexType(type)) {
2832 SetGLError(GL_INVALID_ENUM); 2832 SetGLError(GL_INVALID_ENUM);
2833 return error::kNoError; 2833 return error::kNoError;
2834 } 2834 }
2835 *result_dst = DoGetMaxValueInBuffer(buffer_id, count, type, offset); 2835 *result_dst = DoGetMaxValueInBuffer(buffer_id, count, type, offset);
2836 return error::kNoError; 2836 return error::kNoError;
2837 } 2837 }
2838 2838
2839 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_ 2839 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
2840 2840
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698