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

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

Issue 18492005: Add GL_EXT_multisampled_render_to_texture support to command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved ahead to TOT Created 7 years, 5 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 | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('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 #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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 #define GL_STENCIL_EXT 0x1802 163 #define GL_STENCIL_EXT 0x1802
164 #endif 164 #endif
165 165
166 // GL_ARB_get_program_binary 166 // GL_ARB_get_program_binary
167 #define PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 167 #define PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
168 // GL_OES_get_program_binary 168 // GL_OES_get_program_binary
169 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 169 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
170 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 170 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
171 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 171 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
172 172
173 #ifndef GL_EXT_multisampled_render_to_texture
174 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
175 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
176 #define GL_MAX_SAMPLES_EXT 0x8D57
177 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
178 #endif
179
180 #ifndef GL_IMG_multisampled_render_to_texture
181 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
182 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
183 #define GL_MAX_SAMPLES_IMG 0x9135
184 #define GL_TEXTURE_SAMPLES_IMG 0x9136
185 #endif
173 186
174 #define GL_GLEXT_PROTOTYPES 1 187 #define GL_GLEXT_PROTOTYPES 1
175 188
176 #if defined(OS_WIN) 189 #if defined(OS_WIN)
177 #define GL_BINDING_CALL WINAPI 190 #define GL_BINDING_CALL WINAPI
178 #else 191 #else
179 #define GL_BINDING_CALL 192 #define GL_BINDING_CALL
180 #endif 193 #endif
181 194
182 #define GL_SERVICE_LOG(args) DLOG(INFO) << args; 195 #define GL_SERVICE_LOG(args) DLOG(INFO) << args;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 GL_EXPORT extern DriverEGL g_driver_egl; 329 GL_EXPORT extern DriverEGL g_driver_egl;
317 330
318 #endif 331 #endif
319 332
320 // Find an entry point to the mock GL implementation. 333 // Find an entry point to the mock GL implementation.
321 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); 334 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name);
322 335
323 } // namespace gfx 336 } // namespace gfx
324 337
325 #endif // UI_GL_GL_BINDINGS_H_ 338 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698