Changeset 169730 in webkit


Ignore:
Timestamp:
Jun 9, 2014 4:32:31 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[iOS WebGL] Fix EXT_shader_texture_lod.
https://bugs.webkit.org/show_bug.cgi?id=133633

Patch by Alex Christensen <achristensen@webkit.org> on 2014-06-09
Reviewed by Brady Eidson.

Covered by the Khronos test (and in LayoutTests):
conformance/extensions/ext-shader-texture-lod.html

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getSupportedExtensions):
Added shader texture lod name to match value from glGetString(GL_EXTENSIONS) on iOS.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r169729 r169730  
     12014-06-09  Alex Christensen  <achristensen@webkit.org>
     2
     3        [iOS WebGL] Fix EXT_shader_texture_lod.
     4        https://bugs.webkit.org/show_bug.cgi?id=133633
     5
     6        Reviewed by Brady Eidson.
     7
     8        Covered by the Khronos test (and in LayoutTests):
     9        conformance/extensions/ext-shader-texture-lod.html
     10
     11        * html/canvas/WebGLRenderingContext.cpp:
     12        (WebCore::WebGLRenderingContext::getExtension):
     13        (WebCore::WebGLRenderingContext::getSupportedExtensions):
     14        Added shader texture lod name to match value from glGetString(GL_EXTENSIONS) on iOS.
     15
    1162014-06-09  Benjamin Poulain  <bpoulain@apple.com>
    217
  • trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp

    r169601 r169730  
    24322432
    24332433    if (equalIgnoringCase(name, "EXT_shader_texture_lod")
    2434         && m_context->getExtensions()->supports("GL_ARB_shader_texture_lod")) {
     2434        && (m_context->getExtensions()->supports("GL_EXT_shader_texture_lod") || m_context->getExtensions()->supports("GL_ARB_shader_texture_lod"))) {
    24352435        if (!m_extShaderTextureLOD) {
    24362436            m_context->getExtensions()->ensureEnabled("GL_EXT_shader_texture_lod");
     
    30493049    if (m_context->getExtensions()->supports("GL_OES_standard_derivatives"))
    30503050        result.append("OES_standard_derivatives");
    3051     if (m_context->getExtensions()->supports("GL_ARB_shader_texture_lod"))
     3051    if (m_context->getExtensions()->supports("GL_EXT_shader_texture_lod") || m_context->getExtensions()->supports("GL_ARB_shader_texture_lod"))
    30523052        result.append("EXT_shader_texture_lod");
    30533053    if (m_context->getExtensions()->supports("GL_EXT_texture_filter_anisotropic"))
Note: See TracChangeset for help on using the changeset viewer.