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

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

Issue 1477593002: gpu: Initial implementation of CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-cop-command
Patch Set: Remove NativeViewGLSurfaceEGL changes Created 5 years 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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void DisableVertexAttribArray(GLuint index) override; 195 void DisableVertexAttribArray(GLuint index) override;
196 void EnableVertexAttribArray(GLuint index) override; 196 void EnableVertexAttribArray(GLuint index) override;
197 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override; 197 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override;
198 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override; 198 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override;
199 void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) override; 199 void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) override;
200 void GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) override; 200 void GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) override;
201 201
202 // ContextSupport implementation. 202 // ContextSupport implementation.
203 void Swap() override; 203 void Swap() override;
204 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 204 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
205 void CommitOverlayPlanes() override;
205 void ScheduleOverlayPlane(int plane_z_order, 206 void ScheduleOverlayPlane(int plane_z_order,
206 gfx::OverlayTransform plane_transform, 207 gfx::OverlayTransform plane_transform,
207 unsigned overlay_texture_id, 208 unsigned overlay_texture_id,
208 const gfx::Rect& display_bounds, 209 const gfx::Rect& display_bounds,
209 const gfx::RectF& uv_rect) override; 210 const gfx::RectF& uv_rect) override;
210 GLuint InsertFutureSyncPointCHROMIUM() override; 211 GLuint InsertFutureSyncPointCHROMIUM() override;
211 void RetireSyncPointCHROMIUM(GLuint sync_point) override; 212 void RetireSyncPointCHROMIUM(GLuint sync_point) override;
212 uint64_t ShareGroupTracingGUID() const override; 213 uint64_t ShareGroupTracingGUID() const override;
213 214
214 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); 215 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result);
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 847
847 inline bool GLES2Implementation::GetTexParameterivHelper( 848 inline bool GLES2Implementation::GetTexParameterivHelper(
848 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 849 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
849 return false; 850 return false;
850 } 851 }
851 852
852 } // namespace gles2 853 } // namespace gles2
853 } // namespace gpu 854 } // namespace gpu
854 855
855 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 856 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698