1. 09 Oct, 2019 8 commits
  2. 08 Oct, 2019 7 commits
  3. 07 Oct, 2019 8 commits
  4. 05 Oct, 2019 1 commit
  5. 04 Oct, 2019 14 commits
  6. 03 Oct, 2019 2 commits
    • Trigger a flush() when the command graph contains too many objects · f750d86a
      Tim Van Patten authored
      If an App repeatedly issues GL commands like glTextImage2D without a
      finish/flush/draw, it's possible for ANGLE to exhaust the available
      Vulkan memory allocations and exceed
      VkPhysicalDeviceLimits::maxMemoryAllocationCount. When this occurs,
      the Vulkan validation layers will trigger an error and cause dEQP
      tests to fail.
      
      This change will query the backend if a flush() should be performed
      during each of the GL delete calls, and perform it if necessary. This
      will cause a queue submission and a Serial increment, allowing the
      allocated memory to be freed, preventing the validation errors.
      
      Bug: angleproject:3818
      Test: KHR-GLES3.copy_tex_image_conversions.forbidden.renderbuffer_cubemap_*
      Change-Id: I26d0a47aa7bca10c25bc8141f1523afbab0b3b5b
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1834781
      Commit-Queue: Tim Van Patten <timvp@google.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Re-land "GN: Componentize vulkan back-end build." · 1f08ab28
      Jamie Madill authored
      Re-land fixes angle_end2end_tests disabling Vulkan.
      
      This moves the build configuration into the Vulkan back-end dir.
      This should be a little easier to maintain as all Vulkan-related
      config is in one place.
      
      Note that this should not interfere with Skia's build as they do
      not import the Vulkan back-end sources.
      
      One additional possiblity that this enables is testing other
      compile-time permutations of the Vulkan back-end more easily. For
      example we could make a simple change to enable compile testing
      of the Vulkan back-end with custom command buffers disabled.
      
      Also fixes a few errors affecting less tested configs.
      
      Bug: angleproject:3943
      Change-Id: I0161668abcc58fcf529dde120998d4b99445fdd5
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1838454Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>