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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [RFC] gpu: Reuse transfer buffers more aggressively Created 6 years, 11 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 /* GL_CHROMIUM_get_error_query */ 120 /* GL_CHROMIUM_get_error_query */
121 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 121 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3
122 122
123 /* GL_CHROMIUM_command_buffer_latency_query */ 123 /* GL_CHROMIUM_command_buffer_latency_query */
124 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 124 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4
125 125
126 /* GL_CHROMIUM_async_pixel_transfers */ 126 /* GL_CHROMIUM_async_pixel_transfers */
127 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 127 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5
128 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 128 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6
129 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_PRIVATE_CHROMIUM 0x84F7
129 130
130 // GL_OES_texure_3D 131 // GL_OES_texure_3D
131 #define GL_SAMPLER_3D_OES 0x8B5F 132 #define GL_SAMPLER_3D_OES 0x8B5F
132 133
133 // GL_OES_depth24 134 // GL_OES_depth24
134 #define GL_DEPTH_COMPONENT24_OES 0x81A6 135 #define GL_DEPTH_COMPONENT24_OES 0x81A6
135 136
136 // GL_OES_depth32 137 // GL_OES_depth32
137 #define GL_DEPTH_COMPONENT32_OES 0x81A7 138 #define GL_DEPTH_COMPONENT32_OES 0x81A7
138 139
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 GL_EXPORT extern DriverEGL g_driver_egl; 329 GL_EXPORT extern DriverEGL g_driver_egl;
329 330
330 #endif 331 #endif
331 332
332 // Find an entry point to the mock GL implementation. 333 // Find an entry point to the mock GL implementation.
333 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); 334 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name);
334 335
335 } // namespace gfx 336 } // namespace gfx
336 337
337 #endif // UI_GL_GL_BINDINGS_H_ 338 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698