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

Side by Side Diff: ui/gl/gl_bindings.h

Issue 617693003: gpu: Add CHROMIUM_gpu_memory_buffer_image extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@map-image-rename
Patch Set: include WebGraphicsContext3DImpl changes Created 6 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
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 #ifndef UI_GL_GL_BINDINGS_H_ 5 #ifndef UI_GL_GL_BINDINGS_H_
6 #define UI_GL_GL_BINDINGS_H_ 6 #define UI_GL_GL_BINDINGS_H_
7 7
8 // Includes the platform independent and platform dependent GL headers. 8 // Includes the platform independent and platform dependent GL headers.
9 // Only include this in cc files. It pulls in system headers, including 9 // Only include this in cc files. It pulls in system headers, including
10 // the X11 headers on linux, which define all kinds of macros that are 10 // the X11 headers on linux, which define all kinds of macros that are
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6
130 130
131 // GL_CHROMIUM_sync_query 131 // GL_CHROMIUM_sync_query
132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
133 133
134 // GL_CHROMIUM_image 134 // GL_CHROMIUM_image
135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0 135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0
136 #define GL_IMAGE_MAP_CHROMIUM 0x78F1 136 #define GL_IMAGE_MAP_CHROMIUM 0x78F1
137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2 137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2
138 138
139 // GL_CHROMIUM_gpu_memory_buffer_image
140 #define GL_MAP_CHROMIUM 0x78F1
141 #define GL_SCANOUT_CHROMIUM 0x78F2
142
139 // GL_CHROMIUM_schedule_overlay_plane 143 // GL_CHROMIUM_schedule_overlay_plane
140 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 144 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
141 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 145 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
142 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 146 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
143 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 147 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
144 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 148 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
145 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A 149 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
146 150
147 // GL_OES_texure_3D 151 // GL_OES_texure_3D
148 #define GL_SAMPLER_3D_OES 0x8B5F 152 #define GL_SAMPLER_3D_OES 0x8B5F
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 #elif defined(OS_ANDROID) 373 #elif defined(OS_ANDROID)
370 374
371 GL_EXPORT extern EGLApi* g_current_egl_context; 375 GL_EXPORT extern EGLApi* g_current_egl_context;
372 GL_EXPORT extern DriverEGL g_driver_egl; 376 GL_EXPORT extern DriverEGL g_driver_egl;
373 377
374 #endif 378 #endif
375 379
376 } // namespace gfx 380 } // namespace gfx
377 381
378 #endif // UI_GL_GL_BINDINGS_H_ 382 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_opengles2_shared.cc ('k') | webkit/common/gpu/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698