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

Side by Side Diff: app/gfx/gl/gl_interface.h

Issue 3146002: Fixed build problems on Mac OS X when using GLContext from Chromium's... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « app/gfx/gl/gl_context_osmesa.cc ('k') | app/gfx/gl/gl_mock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 implements glue to a GL interface so we can mock it for unit 5 // This file implements glue to a GL interface so we can mock it for unit
6 // testing. It has to be Desktop GL, not GLES2 as it is used to test the service 6 // testing. It has to be Desktop GL, not GLES2 as it is used to test the service
7 // side code. 7 // side code.
8 8
9 #ifndef APP_GFX_GL_GL_INTERFACE_H_ 9 #ifndef APP_GFX_GL_GL_INTERFACE_H_
10 #define APP_GFX_GL_GL_INTERFACE_H_ 10 #define APP_GFX_GL_GL_INTERFACE_H_
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 virtual void GetVertexAttribPointerv( 234 virtual void GetVertexAttribPointerv(
235 GLuint index, GLenum pname, void** pointer) = 0; 235 GLuint index, GLenum pname, void** pointer) = 0;
236 236
237 virtual void Hint(GLenum target, GLenum mode) = 0; 237 virtual void Hint(GLenum target, GLenum mode) = 0;
238 238
239 virtual GLboolean IsBuffer(GLuint buffer) = 0; 239 virtual GLboolean IsBuffer(GLuint buffer) = 0;
240 240
241 virtual GLboolean IsEnabled(GLenum cap) = 0; 241 virtual GLboolean IsEnabled(GLenum cap) = 0;
242 242
243 virtual GLboolean IsFramebuffer(GLuint framebuffer) = 0; 243 virtual GLboolean IsFramebufferEXT(GLuint framebuffer) = 0;
244 244
245 virtual GLboolean IsProgram(GLuint program) = 0; 245 virtual GLboolean IsProgram(GLuint program) = 0;
246 246
247 virtual GLboolean IsRenderbuffer(GLuint renderbuffer) = 0; 247 virtual GLboolean IsRenderbufferEXT(GLuint renderbuffer) = 0;
248 248
249 virtual GLboolean IsShader(GLuint shader) = 0; 249 virtual GLboolean IsShader(GLuint shader) = 0;
250 250
251 virtual GLboolean IsTexture(GLuint texture) = 0; 251 virtual GLboolean IsTexture(GLuint texture) = 0;
252 252
253 virtual void LineWidth(GLfloat width) = 0; 253 virtual void LineWidth(GLfloat width) = 0;
254 254
255 virtual void LinkProgram(GLuint program) = 0; 255 virtual void LinkProgram(GLuint program) = 0;
256 256
257 virtual void PixelStorei(GLenum pname, GLint param) = 0; 257 virtual void PixelStorei(GLenum pname, GLint param) = 0;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 private: 397 private:
398 static GLInterface* interface_; 398 static GLInterface* interface_;
399 }; 399 };
400 400
401 } // namespace gfx 401 } // namespace gfx
402 402
403 #endif // APP_GFX_GL_GL_INTERFACE_H_ 403 #endif // APP_GFX_GL_GL_INTERFACE_H_
404 404
405 405
406 406
OLDNEW
« no previous file with comments | « app/gfx/gl/gl_context_osmesa.cc ('k') | app/gfx/gl/gl_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698