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

Side by Side Diff: gles/real_gles2_interface.h

Issue 3599002: wm: Add two pass rendering to OpenGL|ES backend. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/window_manager.git
Patch Set: final. Created 10 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 | Annotate | Revision Log
« no previous file with comments | « gles/opengles_visitor.cc ('k') | gles/real_gles2_interface.cc » ('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 OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ 5 #ifndef WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_
6 #define WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ 6 #define WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void Clear(GLbitfield mask); 63 void Clear(GLbitfield mask);
64 void ClearColor(GLclampf red, GLclampf green, GLclampf blue, 64 void ClearColor(GLclampf red, GLclampf green, GLclampf blue,
65 GLclampf alpha); 65 GLclampf alpha);
66 void CompileShader(GLuint shader); 66 void CompileShader(GLuint shader);
67 GLuint CreateProgram(); 67 GLuint CreateProgram();
68 GLuint CreateShader(GLenum type); 68 GLuint CreateShader(GLenum type);
69 void DeleteBuffers(GLsizei n, const GLuint* buffers); 69 void DeleteBuffers(GLsizei n, const GLuint* buffers);
70 void DeleteProgram(GLuint program); 70 void DeleteProgram(GLuint program);
71 void DeleteShader(GLuint shader); 71 void DeleteShader(GLuint shader);
72 void DeleteTextures(GLsizei n, const GLuint* textures); 72 void DeleteTextures(GLsizei n, const GLuint* textures);
73 void DepthMask(GLboolean flag);
73 void Disable(GLenum cap); 74 void Disable(GLenum cap);
74 void DisableVertexAttribArray(GLuint index); 75 void DisableVertexAttribArray(GLuint index);
75 void DrawArrays(GLenum mode, GLint first, GLsizei count); 76 void DrawArrays(GLenum mode, GLint first, GLsizei count);
76 void Enable(GLenum cap); 77 void Enable(GLenum cap);
77 void EnableVertexAttribArray(GLuint index); 78 void EnableVertexAttribArray(GLuint index);
78 void GenBuffers(GLsizei n, GLuint* buffers); 79 void GenBuffers(GLsizei n, GLuint* buffers);
79 void GenTextures(GLsizei n, GLuint* textures); 80 void GenTextures(GLsizei n, GLuint* textures);
80 int GetAttribLocation(GLuint program, const char* name); 81 int GetAttribLocation(GLuint program, const char* name);
81 GLenum GetError(); 82 GLenum GetError();
82 void GetIntegerv(GLenum pname, GLint* params); 83 void GetIntegerv(GLenum pname, GLint* params);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 gl_egl_image_target_texture_2d_oes_; 146 gl_egl_image_target_texture_2d_oes_;
146 PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC 147 PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC
147 gl_egl_image_target_renderbuffer_storage_oes_; 148 gl_egl_image_target_renderbuffer_storage_oes_;
148 149
149 DISALLOW_COPY_AND_ASSIGN(RealGles2Interface); 150 DISALLOW_COPY_AND_ASSIGN(RealGles2Interface);
150 }; 151 };
151 152
152 } // namespace window_manager 153 } // namespace window_manager
153 154
154 #endif 155 #endif
OLDNEW
« no previous file with comments | « gles/opengles_visitor.cc ('k') | gles/real_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698