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

Side by Side Diff: Source/core/platform/graphics/Extensions3D.h

Issue 93873009: Moved GL enums from GraphicsContext3D to a more generic location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changed over to use the standard GL headers and enums. Also fixed some minor style issues. Created 7 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 COLOR_ATTACHMENT7_EXT = 0x8CE7, 205 COLOR_ATTACHMENT7_EXT = 0x8CE7,
206 COLOR_ATTACHMENT8_EXT = 0x8CE8, 206 COLOR_ATTACHMENT8_EXT = 0x8CE8,
207 COLOR_ATTACHMENT9_EXT = 0x8CE9, 207 COLOR_ATTACHMENT9_EXT = 0x8CE9,
208 COLOR_ATTACHMENT10_EXT = 0x8CEA, 208 COLOR_ATTACHMENT10_EXT = 0x8CEA,
209 COLOR_ATTACHMENT11_EXT = 0x8CEB, 209 COLOR_ATTACHMENT11_EXT = 0x8CEB,
210 COLOR_ATTACHMENT12_EXT = 0x8CEC, 210 COLOR_ATTACHMENT12_EXT = 0x8CEC,
211 COLOR_ATTACHMENT13_EXT = 0x8CED, 211 COLOR_ATTACHMENT13_EXT = 0x8CED,
212 COLOR_ATTACHMENT14_EXT = 0x8CEE, 212 COLOR_ATTACHMENT14_EXT = 0x8CEE,
213 COLOR_ATTACHMENT15_EXT = 0x8CEF, 213 COLOR_ATTACHMENT15_EXT = 0x8CEF,
214 214
215 // GL_OES_EGL_image_external
216 GL_TEXTURE_EXTERNAL_OES = 0x8D65,
217
218 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object ) 215 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object )
219 READ_ONLY = 0x88B8, 216 READ_ONLY = 0x88B8,
220 WRITE_ONLY = 0x88B9, 217 WRITE_ONLY = 0x88B9,
221 218
222 // GL_ANGLE_texture_usage
223 GL_TEXTURE_USAGE_ANGLE = 0x93A2,
224 GL_FRAMEBUFFER_ATTACHMENT_ANGLE = 0x93A3,
225
226 // GL_EXT_texture_storage 219 // GL_EXT_texture_storage
227 BGRA8_EXT = 0x93A1, 220 BGRA8_EXT = 0x93A1,
228 221
229 // GL_EXT_occlusion_query_boolean 222 // GL_EXT_occlusion_query_boolean
230 ANY_SAMPLES_PASSED_EXT = 0x8C2F, 223 ANY_SAMPLES_PASSED_EXT = 0x8C2F,
231 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A, 224 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A,
232 CURRENT_QUERY_EXT = 0x8865, 225 CURRENT_QUERY_EXT = 0x8865,
233 QUERY_RESULT_EXT = 0x8866, 226 QUERY_RESULT_EXT = 0x8866,
234 QUERY_RESULT_AVAILABLE_EXT = 0x8867, 227 QUERY_RESULT_AVAILABLE_EXT = 0x8867,
235 228
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 friend class GraphicsContext3D; 317 friend class GraphicsContext3D;
325 explicit Extensions3D(GraphicsContext3D*); 318 explicit Extensions3D(GraphicsContext3D*);
326 319
327 // Weak pointer back to GraphicsContext3D. 320 // Weak pointer back to GraphicsContext3D.
328 GraphicsContext3D* m_context; 321 GraphicsContext3D* m_context;
329 }; 322 };
330 323
331 } // namespace WebCore 324 } // namespace WebCore
332 325
333 #endif // Extensions3D_h 326 #endif // Extensions3D_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698