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

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

Issue 638143003: Enabled EXT_sRGB WebGL extension support in the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added suggested comment 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
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | no next file » | 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 #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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #define GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EE 189 #define GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EE
190 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EF 190 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EF
191 191
192 /* GL_EXT_discard_framebuffer */ 192 /* GL_EXT_discard_framebuffer */
193 #ifndef GL_EXT_discard_framebuffer 193 #ifndef GL_EXT_discard_framebuffer
194 #define GL_COLOR_EXT 0x1800 194 #define GL_COLOR_EXT 0x1800
195 #define GL_DEPTH_EXT 0x1801 195 #define GL_DEPTH_EXT 0x1801
196 #define GL_STENCIL_EXT 0x1802 196 #define GL_STENCIL_EXT 0x1802
197 #endif 197 #endif
198 198
199 // GL_EXT_sRGB
200 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
201
199 // GL_ARB_get_program_binary 202 // GL_ARB_get_program_binary
200 #define PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 203 #define PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
201 // GL_OES_get_program_binary 204 // GL_OES_get_program_binary
202 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 205 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
203 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 206 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
204 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 207 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
205 208
206 #ifndef GL_EXT_multisampled_render_to_texture 209 #ifndef GL_EXT_multisampled_render_to_texture
207 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 210 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
208 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 211 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 #elif defined(OS_ANDROID) 376 #elif defined(OS_ANDROID)
374 377
375 GL_EXPORT extern EGLApi* g_current_egl_context; 378 GL_EXPORT extern EGLApi* g_current_egl_context;
376 GL_EXPORT extern DriverEGL g_driver_egl; 379 GL_EXPORT extern DriverEGL g_driver_egl;
377 380
378 #endif 381 #endif
379 382
380 } // namespace gfx 383 } // namespace gfx
381 384
382 #endif // UI_GL_GL_BINDINGS_H_ 385 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698