1. 14 Dec, 2018 3 commits
  2. 13 Dec, 2018 2 commits
  3. 12 Dec, 2018 6 commits
  4. 11 Dec, 2018 3 commits
  5. 10 Dec, 2018 2 commits
  6. 08 Dec, 2018 2 commits
  7. 07 Dec, 2018 6 commits
  8. 06 Dec, 2018 4 commits
  9. 05 Dec, 2018 5 commits
    • Vulkan: Add DispatchUtilsVK · 8f1b7a66
      Shahbaz Youssefi authored
      This class provides a set of compute-based internal utilities.
      Currently, buffer clear and copy are implemented.  Other possibilities
      include more efficient mip map generation, or specialized texture
      operations.
      
      VertexArrayVk::updateIndexTranslation() is updated to convert the
      GL_UNSIGNED_BYTE index buffer to a GL_UNSIGNED_SHORT one using this
      class to avoid a CPU readback.
      
      The vk::Format class is augmented with a few flags (IsInt, IsUnsigned)
      to be able to select the appropriate shader based on the format (float,
      int or uint).
      
      Bug: angleproject:2958,angleproject:3003
      Change-Id: Ie35519deb3c32a3da5ccf74080c70092c9287f0a
      Reviewed-on: https://chromium-review.googlesource.com/c/1336307
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Enhance ANGLE for Android Developer Options · fdccaa3a
      Tim Van Patten authored
      Update ANGLE Developer Options
      
      Update ANGLE developer options to allow selecting the OpenGL driver
      (default, ANGLE, native) for each app as well as forcing ANGLE for all
      apps.
      
      Bug: angleproject:2962
      Test: Verify the default/ANGLE/native values are saved and applied and
      used by the loader.
      
      Change-Id: I6737b11bc061318cf8438c8161593ca70239590f
      Reviewed-on: https://chromium-review.googlesource.com/c/1354101Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Tim Van Patten <timvp@google.com>
    • Vulkan: Fix ASTC_12x12_SRGB_BLOCK support · eae081c6
      Shahbaz Youssefi authored
      A typo in the .json file made this format unavailable.
      
      Bug: angleproject:2357
      Change-Id: I3214c6d8a00d9fa731573347b06bded8fb57a918
      Reviewed-on: https://chromium-review.googlesource.com/c/1359619
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Vulkan: Fix format properties queries · 96bd8fdf
      Shahbaz Youssefi authored
      When querying format properties (in vk::GetFormatProperties), the
      mandatory feature support table was consulted to check whether a number
      of texture features are present.  If so, the entry from that table was
      returned.  The goal had been to speed up initialization by not issuing
      device queries if possible.
      
      That is, when vk::GetFormatProperties was called on a format, if it
      supported that select few texture features, the VkFormatProperties entry
      from the mandatory table would be returned.
      
      However, that function found its way to other uses (such as querying
      buffer format properties, or other image properties beyond the select
      few).  As a result, when the VkFormatProperties from the mandatory table
      was returned, actual support for these other features was often not
      tested and assumed false (unless they happened to be mandatory as well).
      
      This commit reworks the format feature query functions such that the
      specific features to be tested are provided when querying the format
      properties.  The mandatory table is consulted as before, and if the
      entry doesn't contain those features, the device is queried and the
      results cached.
      
      Bug: angleproject:2958
      Change-Id: I28d046eb63c3bd5173468aa4cb3e4c63c83e67b1
      Reviewed-on: https://chromium-review.googlesource.com/c/1357152Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • ES31: support ssbo as binary operand · 81a880aa
      Qin Jiajia authored
      This patch will process ssbo as compound assignment binary operand or readonly
      binary operand.
      
      BUG: angleproject:1951
      
      Change-Id: I4a0da77649d719fa08e6bf4c3d9ace58dbfb7aab
      Reviewed-on: https://chromium-review.googlesource.com/c/1349449
      Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  10. 04 Dec, 2018 3 commits
  11. 03 Dec, 2018 4 commits
    • Copy PDBs in update_canary_angle. · ff03e51e
      Jamie Madill authored
      A change in Chromium's build tools caused symbol paths to become
      relative. Since copying dlls no longer links back to the build
      directory we need to copy the PDBs as well to get debuggging symbols.
      
      Bug: angleproject:3001
      Change-Id: I54d9a1d57d3c69d81d68913993653bab61fa4e65
      Reviewed-on: https://chromium-review.googlesource.com/c/1358645Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Make Framebuffer attachments angle::Subjects. · 66f0d2c1
      Jamie Madill authored
      Now that there's storage change notifications in the GL front-end we
      no longer need to give the back-end access to the angle::Subject. The
      Texture object is a special case where it has mirrored dirty bits. To
      keep the gl::Texture class notified of when the Impl has dirty bits we
      make the TextureImpl class an angle::Subject that is observed by the
      gl::Texture class.
      
      This will enable further dirty bits improvements.
      
      Bug: angleproject:2966
      Change-Id: Id22da0926f51ff4679e58af3e62903f4d7948915
      Reviewed-on: https://chromium-review.googlesource.com/c/1347670Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Fix fuchsia build of libfeature_support. · c10a023a
      Jamie Madill authored
      This enables the linux path for GetSystemInfo on fuchsia. Tested
      locally and fixes the build.
      
      Bug: angleproject:2996
      Change-Id: Icc8f282a66ff43ae9c74545a9dcee2d4af8a21e0
      Reviewed-on: https://chromium-review.googlesource.com/c/1358632Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • List vulkan_core.h as input of generate_vulkan_layers_json.py. · ce0a8f3c
      Nico Weber authored
      Since this was missing, the layer json files didn't get regenerated on
      vulkan rolls, leading to stale generated json files, which in turn led
      to incremental builds having different files in the swarming isolate
      than full builds.
      
      To make this type of bug harder to introduce, rewrite
      generate_vulkan_layers_json.py a bit:
      
      - pass in path to vulkan_core.h as an argument
      - also pass in the input .json / .json.in files as arguments,
        so that the script re-runs if a .json or .json.in input is added
        or removed, and in the script verify that the passed-in list matches
        the glob() the script did previously (this verifies that the sources
        list in the .gn file is up-to-date with the state on disk)
      - generate outputs list in gn from sources list, to make sure they're
        in sync
      - use an expicit --icd flag instead of doing `'icd' in path`
      - fail when failing to extract vk_version instead of silently using a
        default
      - some minor python style fixes
      
      Bug: chromium:910699,chromium:869348
      Change-Id: I1e598f4566697a7f1ef56b040e52d0717f7ad075
      Reviewed-on: https://chromium-review.googlesource.com/c/1358631Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Nico Weber <thakis@chromium.org>