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

Side by Side Diff: ui/gl/gl_bindings.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 | « gpu/command_buffer/service/gl_utils.h ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #if defined(OS_WIN) 61 #if defined(OS_WIN)
62 #include "gl_bindings_autogen_egl.h" 62 #include "gl_bindings_autogen_egl.h"
63 #include "gl_bindings_autogen_wgl.h" 63 #include "gl_bindings_autogen_wgl.h"
64 #elif defined(USE_X11) 64 #elif defined(USE_X11)
65 #include "gl_bindings_autogen_egl.h" 65 #include "gl_bindings_autogen_egl.h"
66 #include "gl_bindings_autogen_glx.h" 66 #include "gl_bindings_autogen_glx.h"
67 #elif defined(OS_ANDROID) 67 #elif defined(OS_ANDROID)
68 #include "gl_bindings_autogen_egl.h" 68 #include "gl_bindings_autogen_egl.h"
69 #endif 69 #endif
70 70
71 // GL_OES_EGL_image_external
72 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
73
71 namespace gfx { 74 namespace gfx {
72 75
73 GL_EXPORT extern GLApi* g_current_gl_context; 76 GL_EXPORT extern GLApi* g_current_gl_context;
74 GL_EXPORT extern OSMESAApi* g_current_osmesa_context; 77 GL_EXPORT extern OSMESAApi* g_current_osmesa_context;
75 GL_EXPORT extern DriverGL g_driver_gl; 78 GL_EXPORT extern DriverGL g_driver_gl;
76 GL_EXPORT extern DriverOSMESA g_driver_osmesa; 79 GL_EXPORT extern DriverOSMESA g_driver_osmesa;
77 80
78 #if defined(OS_WIN) 81 #if defined(OS_WIN)
79 82
80 GL_EXPORT extern EGLApi* g_current_egl_context; 83 GL_EXPORT extern EGLApi* g_current_egl_context;
(...skipping 14 matching lines...) Expand all
95 GL_EXPORT extern DriverEGL g_driver_egl; 98 GL_EXPORT extern DriverEGL g_driver_egl;
96 99
97 #endif 100 #endif
98 101
99 // Find an entry point to the mock GL implementation. 102 // Find an entry point to the mock GL implementation.
100 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); 103 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name);
101 104
102 } // namespace gfx 105 } // namespace gfx
103 106
104 #endif // UI_GL_GL_BINDINGS_H_ 107 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gl_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698