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

Side by Side Diff: gpu/command_buffer/service/gl_utils.h

Issue 12049070: Avoids irregular OnMoreData callbacks on Windows using Core Audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « no previous file | ui/gl/gl_bindings.h » ('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 includes all the necessary GL headers and implements some useful 5 // This file includes all the necessary GL headers and implements some useful
6 // utilities. 6 // utilities.
7 7
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
10 10
(...skipping 16 matching lines...) Expand all
27 #define GL_SHADER_BINARY_FORMATS 0x8DF8 27 #define GL_SHADER_BINARY_FORMATS 0x8DF8
28 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 28 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
29 #define GL_SHADER_COMPILER 0x8DFA 29 #define GL_SHADER_COMPILER 0x8DFA
30 #define GL_RGB565 0x8D62 30 #define GL_RGB565 0x8D62
31 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 31 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
32 #define GL_RGB8_OES 0x8051 32 #define GL_RGB8_OES 0x8051
33 #define GL_RGBA8_OES 0x8058 33 #define GL_RGBA8_OES 0x8058
34 #define GL_HALF_FLOAT_OES 0x8D61 34 #define GL_HALF_FLOAT_OES 0x8D61
35 35
36 // GL_OES_EGL_image_external 36 // GL_OES_EGL_image_external
37 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
38 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 37 #define GL_SAMPLER_EXTERNAL_OES 0x8D66
39 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 38 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
40 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 39 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
41 40
42 // GL_ANGLE_translated_shader_source 41 // GL_ANGLE_translated_shader_source
43 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 42 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
44 43
45 // GL_CHROMIUM_flipy 44 // GL_CHROMIUM_flipy
46 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240 45 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240
47 46
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 #ifdef GL_ERROR_DEBUGGING 148 #ifdef GL_ERROR_DEBUGGING
150 #define CHECK_GL_ERROR() do { \ 149 #define CHECK_GL_ERROR() do { \
151 GLenum gl_error = glGetError(); \ 150 GLenum gl_error = glGetError(); \
152 LOG_IF(ERROR, gl_error != GL_NO_ERROR) << "GL Error :" << gl_error; \ 151 LOG_IF(ERROR, gl_error != GL_NO_ERROR) << "GL Error :" << gl_error; \
153 } while (0) 152 } while (0)
154 #else // GL_ERROR_DEBUGGING 153 #else // GL_ERROR_DEBUGGING
155 #define CHECK_GL_ERROR() void(0) 154 #define CHECK_GL_ERROR() void(0)
156 #endif // GL_ERROR_DEBUGGING 155 #endif // GL_ERROR_DEBUGGING
157 156
158 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 157 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698