Edit

kc3-lang/angle/scripts/code_generation_hashes/ANGLE_shader_translator.json

Branch :

  • Show log

    Commit

  • Author : Yan
    Date : 2019-10-14 14:13:59
    Hash : 17b3c2f3
    Message : Implement SamplerVideoWEBGL for WEBGL_video_texture extension on desktop WEBGL_video_texture is an extension that will improve uploading video frame to WebGL performance. (https://www.khronos.org/registry/webgl/extensions/proposals/WEBGL_video_texture/) This extension introduced a new texture type TEXTURE_VIDEO_IMAGE_WEBGL and a new sampler type samplerVideoWEBGL to sample it. In chromium implementation, TEXTURE_VIDEO_IMAGE_WEBGL maps to different native texture type based on platform. On desktop, it maps to GL_TEXTURE2D(Currently supported). On Android, it should map to GL_TEXTURE_EXTERNAL(TODO). SamplerVideoWEBGL needs to be mapped to sampler2D or samplerExternalOES according to TEXTURE_VIDEO_IMAGE_WEBGL implementation. This patch implements samplerVideoWEBGL in Angle to support WEBGL_video_texture on desktop. In this case, samplerVideoWEBGL should map to sampler2D. Bug: chromium:776222, angleproject:3889 Change-Id: Idb0a5fcde37ca75ccc1181226b91f257212e7500 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1866274 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>

  • scripts/code_generation_hashes/ANGLE_shader_translator.json
  • {
      "src/compiler/generate_parser_tools.py":
        "dca7f7926758ba89a337854f615aca46",
      "src/compiler/translator/generate_parser.py":
        "566178ecdfae3a29803b3687fc518ebb",
      "src/compiler/translator/glslang.l":
        "377199aacc754d2ffcc5016e99701228",
      "src/compiler/translator/glslang.y":
        "928cfcdd99877b5a289694a4057d5d76",
      "src/compiler/translator/glslang_lex_autogen.cpp":
        "883b81686c9b956fab24e85b9131081e",
      "src/compiler/translator/glslang_tab_autogen.cpp":
        "f693228f495aac4629ee8e30c12dc62f",
      "src/compiler/translator/glslang_tab_autogen.h":
        "286139e7a8f2dd3458fbf39bff09d2ad",
      "tools/flex-bison/linux/bison.sha1":
        "efa86001f00e7bcfdbe899dd15fc88e0",
      "tools/flex-bison/linux/flex.sha1":
        "3e73ddbd801cf3e8ed759c49572c8bf2",
      "tools/flex-bison/windows/bison.exe.sha1":
        "ad6345f2fbf1112bae67f0d54a92e574",
      "tools/flex-bison/windows/flex.exe.sha1":
        "45668fa0dafd4a7e68c2b0480e50e650",
      "tools/flex-bison/windows/m4.exe.sha1":
        "0e0332c889b12576458bc481f34d6142",
      "tools/flex-bison/windows/msys-2.0.dll.sha1":
        "59854139bd445e5193812e2b910dc7b5",
      "tools/flex-bison/windows/msys-iconv-2.dll.sha1":
        "5da154b537d340991bb4cd06eca6d523",
      "tools/flex-bison/windows/msys-intl-8.dll.sha1":
        "3b5cd216061b9dff4d2ae3956bc344a8"
    }