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

Side by Side Diff: ppapi/proxy/ppb_opengles2_proxy.cc

Issue 7253052: Execute all GL commands up to the put offset reported by a flush. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #include "ppapi/proxy/ppb_opengles2_proxy.h" 9 #include "ppapi/proxy/ppb_opengles2_proxy.h"
10 10
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 GetGLES( 743 GetGLES(
744 context_id)->VertexAttribPointer( 744 context_id)->VertexAttribPointer(
745 indx, size, type, normalized, stride, ptr); 745 indx, size, type, normalized, stride, ptr);
746 } 746 }
747 747
748 void Viewport( 748 void Viewport(
749 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { 749 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) {
750 GetGLES(context_id)->Viewport(x, y, width, height); 750 GetGLES(context_id)->Viewport(x, y, width, height);
751 } 751 }
752 752
753 void SetLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) {
754 GetGLES(context_id)->SetLatchCHROMIUM(latch_id);
755 }
756
757 void WaitLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) {
758 GetGLES(context_id)->WaitLatchCHROMIUM(latch_id);
759 }
760
761 const struct PPB_OpenGLES2_Dev opengles2_interface = { 753 const struct PPB_OpenGLES2_Dev opengles2_interface = {
762 &ActiveTexture, 754 &ActiveTexture,
763 &AttachShader, 755 &AttachShader,
764 &BindAttribLocation, 756 &BindAttribLocation,
765 &BindBuffer, 757 &BindBuffer,
766 &BindFramebuffer, 758 &BindFramebuffer,
767 &BindRenderbuffer, 759 &BindRenderbuffer,
768 &BindTexture, 760 &BindTexture,
769 &BlendColor, 761 &BlendColor,
770 &BlendEquation, 762 &BlendEquation,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 }; 922 };
931 return &info; 923 return &info;
932 } 924 }
933 925
934 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { 926 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) {
935 return false; 927 return false;
936 } 928 }
937 929
938 } // namespace proxy 930 } // namespace proxy
939 } // namespace pp 931 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_context_3d_proxy.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698