diff options
Diffstat (limited to 'WebCore/platform/graphics/Extensions3D.h')
-rw-r--r-- | WebCore/platform/graphics/Extensions3D.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/Extensions3D.h b/WebCore/platform/graphics/Extensions3D.h index 74210a5..0363a48 100644 --- a/WebCore/platform/graphics/Extensions3D.h +++ b/WebCore/platform/graphics/Extensions3D.h @@ -50,11 +50,17 @@ public: // GL_ARB_texture_non_power_of_two / GL_OES_texture_npot // GL_EXT_packed_depth_stencil / GL_OES_packed_depth_stencil // GL_ANGLE_framebuffer_blit / GL_ANGLE_framebuffer_multisample + // GL_OES_texture_float // Takes full name of extension; for example, // "GL_EXT_texture_format_BGRA8888". virtual bool supports(const String&) = 0; + // Certain OpenGL and WebGL implementations may support enabling + // extensions lazily. This method may only be called with + // extension names for which supports returns true. + virtual void ensureEnabled(const String&) = 0; + enum ExtensionsEnumType { // GL_EXT_texture_format_BGRA8888 enums BGRA_EXT = 0x80E1, |