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

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

Issue 1406643002: Stash: Alternate prototype for NativeLayer renderer with GL fallback Base URL: https://chromium.googlesource.com/chromium/src.git@solid
Patch Set: Created 5 years, 2 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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ScheduleOverlayPlane(int plane_z_order, 205 void ScheduleOverlayPlane(int plane_z_order,
206 gfx::OverlayTransform plane_transform, 206 gfx::OverlayTransform plane_transform,
207 unsigned overlay_texture_id, 207 unsigned overlay_texture_id,
208 const gfx::Rect& display_bounds, 208 const gfx::Rect& display_bounds,
209 const gfx::RectF& uv_rect) override; 209 const gfx::RectF& uv_rect) override;
210 void ScheduleSolidColorOverlayPlane(int z_order,
211 const gfx::Rect& bounds_rect,
212 float red,
213 float green,
214 float blue,
215 float alpha) override;
210 GLuint InsertFutureSyncPointCHROMIUM() override; 216 GLuint InsertFutureSyncPointCHROMIUM() override;
211 void RetireSyncPointCHROMIUM(GLuint sync_point) override; 217 void RetireSyncPointCHROMIUM(GLuint sync_point) override;
212 uint64_t ShareGroupTracingGUID() const override; 218 uint64_t ShareGroupTracingGUID() const override;
213 219
214 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); 220 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result);
215 GLint GetAttribLocationHelper(GLuint program, const char* name); 221 GLint GetAttribLocationHelper(GLuint program, const char* name);
216 GLint GetUniformLocationHelper(GLuint program, const char* name); 222 GLint GetUniformLocationHelper(GLuint program, const char* name);
217 GLint GetFragDataLocationHelper(GLuint program, const char* name); 223 GLint GetFragDataLocationHelper(GLuint program, const char* name);
218 bool GetActiveAttribHelper( 224 bool GetActiveAttribHelper(
219 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 225 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 833
828 inline bool GLES2Implementation::GetTexParameterivHelper( 834 inline bool GLES2Implementation::GetTexParameterivHelper(
829 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 835 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
830 return false; 836 return false;
831 } 837 }
832 838
833 } // namespace gles2 839 } // namespace gles2
834 } // namespace gpu 840 } // namespace gpu
835 841
836 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 842 #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