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

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

Issue 592933003: Fix for surfaceless implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #endif 111 #endif
112 112
113 #ifndef GL_IMAGE_MAP_CHROMIUM 113 #ifndef GL_IMAGE_MAP_CHROMIUM
114 #define GL_IMAGE_MAP_CHROMIUM 0x78F1 114 #define GL_IMAGE_MAP_CHROMIUM 0x78F1
115 #endif 115 #endif
116 116
117 #ifndef GL_IMAGE_SCANOUT_CHROMIUM 117 #ifndef GL_IMAGE_SCANOUT_CHROMIUM
118 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2 118 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2
119 #endif 119 #endif
120 120
121 #ifndef GL_RGBX8_CHROMIUM
122 #define GL_RGBX8_CHROMIUM 0x78F3
123 #endif
124
121 #ifdef GL_GLEXT_PROTOTYPES 125 #ifdef GL_GLEXT_PROTOTYPES
122 GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(GLsizei width, 126 GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(GLsizei width,
123 GLsizei height, 127 GLsizei height,
124 GLenum internalformat, 128 GLenum internalformat,
125 GLenum usage); 129 GLenum usage);
126 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id); 130 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id);
127 GL_APICALL void GL_APIENTRY glGetImageParameterivCHROMIUM( 131 GL_APICALL void GL_APIENTRY glGetImageParameterivCHROMIUM(
128 GLuint image_id, GLenum pname, GLint* params); 132 GLuint image_id, GLenum pname, GLint* params);
129 GL_APICALL void* GL_APIENTRY glMapImageCHROMIUM(GLuint image_id); 133 GL_APICALL void* GL_APIENTRY glMapImageCHROMIUM(GLuint image_id);
130 GL_APICALL void GL_APIENTRY glUnmapImageCHROMIUM(GLuint image_id); 134 GL_APICALL void GL_APIENTRY glUnmapImageCHROMIUM(GLuint image_id);
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( 735 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
732 GLenum matrixMode); 736 GLenum matrixMode);
733 737
734 #endif /* GL_CHROMIUM_path_rendering */ 738 #endif /* GL_CHROMIUM_path_rendering */
735 739
736 #ifdef __cplusplus 740 #ifdef __cplusplus
737 } 741 }
738 #endif 742 #endif
739 743
740 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 744 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698