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

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

Issue 113153002: Revert "Moved GL enums from GraphicsContext3D to a more generic location." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 COLOR_ATTACHMENT7_EXT = 0x8CE7, 206 COLOR_ATTACHMENT7_EXT = 0x8CE7,
207 COLOR_ATTACHMENT8_EXT = 0x8CE8, 207 COLOR_ATTACHMENT8_EXT = 0x8CE8,
208 COLOR_ATTACHMENT9_EXT = 0x8CE9, 208 COLOR_ATTACHMENT9_EXT = 0x8CE9,
209 COLOR_ATTACHMENT10_EXT = 0x8CEA, 209 COLOR_ATTACHMENT10_EXT = 0x8CEA,
210 COLOR_ATTACHMENT11_EXT = 0x8CEB, 210 COLOR_ATTACHMENT11_EXT = 0x8CEB,
211 COLOR_ATTACHMENT12_EXT = 0x8CEC, 211 COLOR_ATTACHMENT12_EXT = 0x8CEC,
212 COLOR_ATTACHMENT13_EXT = 0x8CED, 212 COLOR_ATTACHMENT13_EXT = 0x8CED,
213 COLOR_ATTACHMENT14_EXT = 0x8CEE, 213 COLOR_ATTACHMENT14_EXT = 0x8CEE,
214 COLOR_ATTACHMENT15_EXT = 0x8CEF, 214 COLOR_ATTACHMENT15_EXT = 0x8CEF,
215 215
216 // GL_OES_EGL_image_external
217 GL_TEXTURE_EXTERNAL_OES = 0x8D65,
218
216 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object ) 219 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object )
217 READ_ONLY = 0x88B8, 220 READ_ONLY = 0x88B8,
218 WRITE_ONLY = 0x88B9, 221 WRITE_ONLY = 0x88B9,
219 222
223 // GL_ANGLE_texture_usage
224 GL_TEXTURE_USAGE_ANGLE = 0x93A2,
225 GL_FRAMEBUFFER_ATTACHMENT_ANGLE = 0x93A3,
226
220 // GL_EXT_texture_storage 227 // GL_EXT_texture_storage
221 BGRA8_EXT = 0x93A1, 228 BGRA8_EXT = 0x93A1,
222 229
223 // GL_EXT_occlusion_query_boolean 230 // GL_EXT_occlusion_query_boolean
224 ANY_SAMPLES_PASSED_EXT = 0x8C2F, 231 ANY_SAMPLES_PASSED_EXT = 0x8C2F,
225 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A, 232 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A,
226 CURRENT_QUERY_EXT = 0x8865, 233 CURRENT_QUERY_EXT = 0x8865,
227 QUERY_RESULT_EXT = 0x8866, 234 QUERY_RESULT_EXT = 0x8866,
228 QUERY_RESULT_AVAILABLE_EXT = 0x8867, 235 QUERY_RESULT_AVAILABLE_EXT = 0x8867,
229 236
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 friend class GraphicsContext3D; 325 friend class GraphicsContext3D;
319 explicit Extensions3D(GraphicsContext3D*); 326 explicit Extensions3D(GraphicsContext3D*);
320 327
321 // Weak pointer back to GraphicsContext3D. 328 // Weak pointer back to GraphicsContext3D.
322 GraphicsContext3D* m_context; 329 GraphicsContext3D* m_context;
323 }; 330 };
324 331
325 } // namespace WebCore 332 } // namespace WebCore
326 333
327 #endif // Extensions3D_h 334 #endif // Extensions3D_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerBridge.cpp ('k') | Source/platform/graphics/Extensions3D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698