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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 869433003: (not for commit) Simplified multi-threaded Ganesh with lock on Flush only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 GLES2CmdHelper* helper() const; 187 GLES2CmdHelper* helper() const;
188 188
189 // Gets client side generated errors. 189 // Gets client side generated errors.
190 GLenum GetClientSideGLError(); 190 GLenum GetClientSideGLError();
191 191
192 // Include the auto-generated part of this class. We split this because 192 // Include the auto-generated part of this class. We split this because
193 // it means we can easily edit the non-auto generated parts right here in 193 // it means we can easily edit the non-auto generated parts right here in
194 // this file instead of having to edit some template or the code generator. 194 // this file instead of having to edit some template or the code generator.
195 #include "gpu/command_buffer/client/gles2_implementation_autogen.h" 195 #include "gpu/command_buffer/client/gles2_implementation_autogen.h"
196 196
197 void SetSafeFlushPoint() override;
198 void SafeFlush() override;
199
197 void DisableVertexAttribArray(GLuint index) override; 200 void DisableVertexAttribArray(GLuint index) override;
198 void EnableVertexAttribArray(GLuint index) override; 201 void EnableVertexAttribArray(GLuint index) override;
199 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override; 202 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override;
200 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override; 203 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override;
201 204
202 // ContextSupport implementation. 205 // ContextSupport implementation.
203 void Swap() override; 206 void Swap() override;
204 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 207 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
205 void ScheduleOverlayPlane(int plane_z_order, 208 void ScheduleOverlayPlane(int plane_z_order,
206 gfx::OverlayTransform plane_transform, 209 gfx::OverlayTransform plane_transform,
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 798
796 inline bool GLES2Implementation::GetTexParameterivHelper( 799 inline bool GLES2Implementation::GetTexParameterivHelper(
797 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 800 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
798 return false; 801 return false;
799 } 802 }
800 803
801 } // namespace gles2 804 } // namespace gles2
802 } // namespace gpu 805 } // namespace gpu
803 806
804 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 807 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698