OLD | NEW |
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 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 // This file is included by gles2_interface.h to declare the | 9 // This file is included by gles2_interface.h to declare the |
10 // GL api functions. | 10 // GL api functions. |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) = 0; | 244 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) = 0; |
245 virtual void GenSharedIdsCHROMIUM( | 245 virtual void GenSharedIdsCHROMIUM( |
246 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) = 0; | 246 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) = 0; |
247 virtual void DeleteSharedIdsCHROMIUM( | 247 virtual void DeleteSharedIdsCHROMIUM( |
248 GLuint namespace_id, GLsizei n, const GLuint* ids) = 0; | 248 GLuint namespace_id, GLsizei n, const GLuint* ids) = 0; |
249 virtual void RegisterSharedIdsCHROMIUM( | 249 virtual void RegisterSharedIdsCHROMIUM( |
250 GLuint namespace_id, GLsizei n, const GLuint* ids) = 0; | 250 GLuint namespace_id, GLsizei n, const GLuint* ids) = 0; |
251 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0; | 251 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0; |
252 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0; | 252 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0; |
253 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0; | 253 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0; |
| 254 virtual void* MapImageCHROMIUM(GLuint image_id, GLenum access) = 0; |
| 255 virtual void UnmapImageCHROMIUM(GLuint image_id) = 0; |
254 virtual void* MapBufferSubDataCHROMIUM( | 256 virtual void* MapBufferSubDataCHROMIUM( |
255 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) = 0; | 257 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) = 0; |
256 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0; | 258 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0; |
257 virtual void* MapTexSubImage2DCHROMIUM( | 259 virtual void* MapTexSubImage2DCHROMIUM( |
258 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 260 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
259 GLsizei height, GLenum format, GLenum type, GLenum access) = 0; | 261 GLsizei height, GLenum format, GLenum type, GLenum access) = 0; |
260 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; | 262 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; |
261 virtual void ResizeCHROMIUM(GLuint width, GLuint height) = 0; | 263 virtual void ResizeCHROMIUM(GLuint width, GLuint height) = 0; |
262 virtual const GLchar* GetRequestableExtensionsCHROMIUM() = 0; | 264 virtual const GLchar* GetRequestableExtensionsCHROMIUM() = 0; |
263 virtual void RequestExtensionCHROMIUM(const char* extension) = 0; | 265 virtual void RequestExtensionCHROMIUM(const char* extension) = 0; |
264 virtual void RateLimitOffscreenContextCHROMIUM() = 0; | 266 virtual void RateLimitOffscreenContextCHROMIUM() = 0; |
265 virtual void GetMultipleIntegervCHROMIUM( | 267 virtual void GetMultipleIntegervCHROMIUM( |
266 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) = 0; | 268 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) = 0; |
267 virtual void GetProgramInfoCHROMIUM( | 269 virtual void GetProgramInfoCHROMIUM( |
268 GLuint program, GLsizei bufsize, GLsizei* size, void* info) = 0; | 270 GLuint program, GLsizei bufsize, GLsizei* size, void* info) = 0; |
269 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) = 0; | 271 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) = 0; |
270 virtual void DestroyStreamTextureCHROMIUM(GLuint texture) = 0; | 272 virtual void DestroyStreamTextureCHROMIUM(GLuint texture) = 0; |
| 273 virtual GLuint CreateImageCHROMIUM( |
| 274 GLsizei width, GLsizei height, GLenum internalformat) = 0; |
| 275 virtual void DestroyImageCHROMIUM(GLuint image_id) = 0; |
| 276 virtual void GetImageParameterivCHROMIUM( |
| 277 GLuint image_id, GLenum pname, GLint* params) = 0; |
271 virtual void GetTranslatedShaderSourceANGLE( | 278 virtual void GetTranslatedShaderSourceANGLE( |
272 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) = 0; | 279 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) = 0; |
273 virtual void PostSubBufferCHROMIUM( | 280 virtual void PostSubBufferCHROMIUM( |
274 GLint x, GLint y, GLint width, GLint height) = 0; | 281 GLint x, GLint y, GLint width, GLint height) = 0; |
275 virtual void TexImageIOSurface2DCHROMIUM( | 282 virtual void TexImageIOSurface2DCHROMIUM( |
276 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 283 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
277 GLuint plane) = 0; | 284 GLuint plane) = 0; |
278 virtual void CopyTextureCHROMIUM( | 285 virtual void CopyTextureCHROMIUM( |
279 GLenum target, GLenum source_id, GLenum dest_id, GLint level, | 286 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
280 GLint internalformat, GLenum dest_type) = 0; | 287 GLint internalformat, GLenum dest_type) = 0; |
(...skipping 21 matching lines...) Expand all Loading... |
302 const void* pixels) = 0; | 309 const void* pixels) = 0; |
303 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) = 0; | 310 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) = 0; |
304 virtual void DiscardFramebufferEXT( | 311 virtual void DiscardFramebufferEXT( |
305 GLenum target, GLsizei count, const GLenum* attachments) = 0; | 312 GLenum target, GLsizei count, const GLenum* attachments) = 0; |
306 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) = 0; | 313 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) = 0; |
307 virtual GLuint InsertSyncPointCHROMIUM() = 0; | 314 virtual GLuint InsertSyncPointCHROMIUM() = 0; |
308 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) = 0; | 315 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) = 0; |
309 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) = 0; | 316 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) = 0; |
310 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ | 317 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ |
311 | 318 |
OLD | NEW |