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

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix for windows Created 6 years, 6 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 | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('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) 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 contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #ifndef GL_CHROMIUM_texture_mailbox 48 #ifndef GL_CHROMIUM_texture_mailbox
49 #define GL_CHROMIUM_texture_mailbox 1 49 #define GL_CHROMIUM_texture_mailbox 1
50 50
51 #ifndef GL_MAILBOX_SIZE_CHROMIUM 51 #ifndef GL_MAILBOX_SIZE_CHROMIUM
52 #define GL_MAILBOX_SIZE_CHROMIUM 64 52 #define GL_MAILBOX_SIZE_CHROMIUM 64
53 #endif 53 #endif
54 #ifdef GL_GLEXT_PROTOTYPES 54 #ifdef GL_GLEXT_PROTOTYPES
55 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM(GLbyte* mailbox); 55 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM(GLbyte* mailbox);
56 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM( 56 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM(
57 GLenum target, const GLbyte* mailbox); 57 GLenum target, const GLbyte* mailbox);
58 GL_APICALL void GL_APIENTRY glProduceTextureDirectCHROMIUM(
59 GLuint texture, GLenum target, const GLbyte* mailbox);
58 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM( 60 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM(
59 GLenum target, const GLbyte* mailbox); 61 GLenum target, const GLbyte* mailbox);
62 GL_APICALL GLuint GL_APIENTRY glCreateAndConsumeTextureCHROMIUM(
63 GLenum target, const GLbyte* mailbox);
60 #endif 64 #endif
61 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUMPROC) (GLbyte* mailbox); 65 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUMPROC) (GLbyte* mailbox);
62 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUMPROC) ( 66 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUMPROC) (
63 GLenum target, const GLbyte* mailbox); 67 GLenum target, const GLbyte* mailbox);
68 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTUREDIRECTCHROMIUMPROC) (
69 GLuint texture, GLenum target, const GLbyte* mailbox);
64 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) ( 70 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) (
65 GLenum target, const GLbyte* mailbox); 71 GLenum target, const GLbyte* mailbox);
72 typedef GLuint (GL_APIENTRYP PFNGLCREATEANDCONSUMETEXTURECHROMIUMPROC) (
73 GLenum target, const GLbyte* mailbox);
66 #endif /* GL_CHROMIUM_texture_mailbox */ 74 #endif /* GL_CHROMIUM_texture_mailbox */
67 75
68 /* GL_CHROMIUM_pixel_transfer_buffer_object */ 76 /* GL_CHROMIUM_pixel_transfer_buffer_object */
69 #ifndef GL_CHROMIUM_pixel_transfer_buffer_object 77 #ifndef GL_CHROMIUM_pixel_transfer_buffer_object
70 #define GL_CHROMIUM_pixel_transfer_buffer_object 1 78 #define GL_CHROMIUM_pixel_transfer_buffer_object 1
71 79
72 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 80 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM
73 // TODO(reveman): Get official numbers for this constants. 81 // TODO(reveman): Get official numbers for this constants.
74 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC 82 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
75 #define GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED 83 #define GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM 715 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
708 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 716 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
709 #endif 717 #endif
710 #endif /* GL_CHROMIUM_sync_query */ 718 #endif /* GL_CHROMIUM_sync_query */
711 719
712 #ifdef __cplusplus 720 #ifdef __cplusplus
713 } 721 }
714 #endif 722 #endif
715 723
716 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 724 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698