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

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

Issue 106503003: Changed GL enums from GraphicsContext3D to standard versions (Take 2) (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
219 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object ) 216 // GL_CHROMIUM_map_sub (enums inherited from GL_ARB_vertex_buffer_object )
220 READ_ONLY = 0x88B8, 217 READ_ONLY = 0x88B8,
221 WRITE_ONLY = 0x88B9, 218 WRITE_ONLY = 0x88B9,
222 219
223 // GL_ANGLE_texture_usage
224 GL_TEXTURE_USAGE_ANGLE = 0x93A2,
225 GL_FRAMEBUFFER_ATTACHMENT_ANGLE = 0x93A3,
226
227 // GL_EXT_texture_storage 220 // GL_EXT_texture_storage
228 BGRA8_EXT = 0x93A1, 221 BGRA8_EXT = 0x93A1,
229 222
230 // GL_EXT_occlusion_query_boolean 223 // GL_EXT_occlusion_query_boolean
231 ANY_SAMPLES_PASSED_EXT = 0x8C2F, 224 ANY_SAMPLES_PASSED_EXT = 0x8C2F,
232 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A, 225 ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A,
233 CURRENT_QUERY_EXT = 0x8865, 226 CURRENT_QUERY_EXT = 0x8865,
234 QUERY_RESULT_EXT = 0x8866, 227 QUERY_RESULT_EXT = 0x8866,
235 QUERY_RESULT_AVAILABLE_EXT = 0x8867, 228 QUERY_RESULT_AVAILABLE_EXT = 0x8867,
236 229
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 friend class GraphicsContext3D; 318 friend class GraphicsContext3D;
326 explicit Extensions3D(GraphicsContext3D*); 319 explicit Extensions3D(GraphicsContext3D*);
327 320
328 // Weak pointer back to GraphicsContext3D. 321 // Weak pointer back to GraphicsContext3D.
329 GraphicsContext3D* m_context; 322 GraphicsContext3D* m_context;
330 }; 323 };
331 324
332 } // namespace WebCore 325 } // namespace WebCore
333 326
334 #endif // Extensions3D_h 327 #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