Edit

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

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2019-11-02 17:23:34
    Hash : a576e0d4
    Message : Capture/Replay: Only convert GLES 2 GLenums to string. Previously the enum conversion script would convert all enums in gl.xml including those for desktop GL. When replaying from a CPP file we would sometimes try to use enum values that only are exposed in desktop GL. One example is GL_TEXTURE_MAX_ANISOTROPY/GL_TEXTURE_MAX_ANISOTROPY_EXT. GLES only has the "EXT" version. Desktop uses the core version. This was breaking a replay sample that used the EXT enum. Fix this by a) including the anisotropy extension in registry_xml and b) updating the enum script to only parse GLES 2 entries. In the future we could improve the situation by auto-generating a header that defines exactly the enums we need for ANGLE. Also updates the enum helper to use uppercase enum values. Bug: angleproject:3611 Change-Id: I1e01608bc8af282dc078d5a19ac4eba659c96b57 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1894143 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com>

  • scripts/code_generation_hashes/GL_EGL_WGL_loader.json
  • {
      "scripts/egl.xml":
        "842e24514c4cfe09fba703c17a0fd292",
      "scripts/egl_angle_ext.xml":
        "fc2e249239fb1365f6d145cdf1a3cfcf",
      "scripts/generate_loader.py":
        "48c60c668bec42a80378179aae2acc61",
      "scripts/registry_xml.py":
        "c633c0b4490ef4ab5aaebb295510398d",
      "scripts/wgl.xml":
        "aa96419c582af2f6673430e2847693f4",
      "src/libEGL/egl_loader_autogen.cpp":
        "01d20878ff5644bb9ee9e22ec95c3587",
      "src/libEGL/egl_loader_autogen.h":
        "a9d4b21e3a74565a6710c76c4f3bcbdc",
      "util/egl_loader_autogen.cpp":
        "b9a444da4142a12a9fe6b7a9d33a4ea8",
      "util/egl_loader_autogen.h":
        "bc2c62ff42604977ac2240591ee8ba6a",
      "util/gles_loader_autogen.cpp":
        "8f5e1cd93093e54d3287609680cae33c",
      "util/gles_loader_autogen.h":
        "5d349366c734f6f7a9cce58714fef1df",
      "util/windows/wgl_loader_autogen.cpp":
        "12ffb44e5e743c826e4d84ac65cdba82",
      "util/windows/wgl_loader_autogen.h":
        "e18f6c134b709c5a69ed3b4ff38642d0"
    }