Changeset 267595 in webkit


Ignore:
Timestamp:
Sep 25, 2020 2:43:41 PM (4 years ago)
Author:
James Darpinian
Message:

Fix WEBGL_compressed_texture_s3tc_srgb in WebGL 2
https://bugs.webkit.org/show_bug.cgi?id=216951

Reviewed by Kenneth Russell.

Tested by webgl/2.0.0/conformance/extensions/webgl-compressed-texture-s3tc-srgb.html

  • html/canvas/WebGL2RenderingContext.cpp:

(WebCore::WebGL2RenderingContext::getExtension):
(WebCore::WebGL2RenderingContext::getSupportedExtensions):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267594 r267595  
     12020-09-25  James Darpinian  <jdarpinian@chromium.org>
     2
     3        Fix WEBGL_compressed_texture_s3tc_srgb in WebGL 2
     4        https://bugs.webkit.org/show_bug.cgi?id=216951
     5
     6        Reviewed by Kenneth Russell.
     7
     8        Tested by webgl/2.0.0/conformance/extensions/webgl-compressed-texture-s3tc-srgb.html
     9
     10        * html/canvas/WebGL2RenderingContext.cpp:
     11        (WebCore::WebGL2RenderingContext::getExtension):
     12        (WebCore::WebGL2RenderingContext::getSupportedExtensions):
     13
    1142020-09-25  Yusuke Suzuki  <ysuzuki@apple.com>
    215
  • trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp

    r266953 r267595  
    5555#include "WebGLCompressedTexturePVRTC.h"
    5656#include "WebGLCompressedTextureS3TC.h"
     57#include "WebGLCompressedTextureS3TCsRGB.h"
    5758#include "WebGLDebugRendererInfo.h"
    5859#include "WebGLDebugShaders.h"
     
    26862687    ENABLE_IF_REQUESTED(WebGLCompressedTexturePVRTC, m_webglCompressedTexturePVRTC, "WEBKIT_WEBGL_compressed_texture_pvrtc", WebGLCompressedTexturePVRTC::supported(*this));
    26872688    ENABLE_IF_REQUESTED(WebGLCompressedTextureS3TC, m_webglCompressedTextureS3TC, "WEBGL_compressed_texture_s3tc", WebGLCompressedTextureS3TC::supported(*this));
     2689    ENABLE_IF_REQUESTED(WebGLCompressedTextureS3TCsRGB, m_webglCompressedTextureS3TCsRGB, "WEBGL_compressed_texture_s3tc_srgb", WebGLCompressedTextureS3TCsRGB::supported(*this));
    26882690    ENABLE_IF_REQUESTED(WebGLDepthTexture, m_webglDepthTexture, "WEBGL_depth_texture", WebGLDepthTexture::supported(*graphicsContextGL()));
    26892691    ENABLE_IF_REQUESTED(WebGLDebugRendererInfo, m_webglDebugRendererInfo, "WEBGL_debug_renderer_info", true);
     
    27272729    if (WebGLCompressedTextureS3TC::supported(*this))
    27282730        result.append("WEBGL_compressed_texture_s3tc"_s);
     2731    if (WebGLCompressedTextureS3TCsRGB::supported(*this))
     2732        result.append("WEBGL_compressed_texture_s3tc_srgb"_s);
    27292733    if (WebGLDepthTexture::supported(*graphicsContextGL()))
    27302734        result.append("WEBGL_depth_texture"_s);
Note: See TracChangeset for help on using the changeset viewer.