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

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

Issue 7977031: Roll skia to 2303 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | no next file » | 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) 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 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 UI_GFX_GL_GL_INTERFACE_H_ 9 #ifndef UI_GFX_GL_GL_INTERFACE_H_
10 #define UI_GFX_GL_GL_INTERFACE_H_ 10 #define UI_GFX_GL_GL_INTERFACE_H_
(...skipping 21 matching lines...) Expand all
32 GLuint index, 32 GLuint index,
33 const char* name) = 0; 33 const char* name) = 0;
34 34
35 virtual void BindBuffer(GLenum target, GLuint buffer) = 0; 35 virtual void BindBuffer(GLenum target, GLuint buffer) = 0;
36 36
37 virtual void BindFragDataLocationIndexedARB(GLuint program, 37 virtual void BindFragDataLocationIndexedARB(GLuint program,
38 GLuint colorNumber, 38 GLuint colorNumber,
39 GLuint index, 39 GLuint index,
40 const char* name) = 0; 40 const char* name) = 0;
41 41
42 virtual void BindFragDataLocation(GLuint program,
43 GLuint colorNumber,
44 const char* name) = 0;
45
42 virtual void BindFramebufferEXT(GLenum target, GLuint framebuffer) = 0; 46 virtual void BindFramebufferEXT(GLenum target, GLuint framebuffer) = 0;
43 47
44 virtual void BindRenderbufferEXT(GLenum target, GLuint renderbuffer) = 0; 48 virtual void BindRenderbufferEXT(GLenum target, GLuint renderbuffer) = 0;
45 49
46 virtual void BindTexture(GLenum target, GLuint texture) = 0; 50 virtual void BindTexture(GLenum target, GLuint texture) = 0;
47 51
48 virtual void BlendColor(GLclampf red, 52 virtual void BlendColor(GLclampf red,
49 GLclampf green, 53 GLclampf green,
50 GLclampf blue, 54 GLclampf blue,
51 GLclampf alpha) = 0; 55 GLclampf alpha) = 0;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 557
554 virtual GLenum GetGraphicsResetStatusARB() = 0; 558 virtual GLenum GetGraphicsResetStatusARB() = 0;
555 559
556 private: 560 private:
557 static GLInterface* interface_; 561 static GLInterface* interface_;
558 }; 562 };
559 563
560 } // namespace gfx 564 } // namespace gfx
561 565
562 #endif // UI_GFX_GL_GL_INTERFACE_H_ 566 #endif // UI_GFX_GL_GL_INTERFACE_H_
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698