1. 21 Feb, 2020 3 commits
    • Pass ContextVk instead of gl::Context to internal methods · e4ba2d87
      Michael Spang authored
      Minor cleanup to change funciton signatures of vulkan specific methods in
      MemoryObjectVk & SemaphoreVk.
      
      Bug: angleproject:2475
      Change-Id: I230664548004ebc48b559e0f25264ea948ce5a1f
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2067500
      Commit-Queue: Michael Spang <spang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • CaptureReplay: Emit unused resources · b8ca4309
      Cody Northrop authored
      In the final frame of Manhattan, resources are cleaned up,
      even if they are non-existent.  This is allowed by the GLES
      spec.  Compilation of the replay would fail, for instance:
      
       error: use of undeclared identifier 'gRenderbufferMap';
              did you mean 'gFramebufferMap'?
              const GLuint glDeleteRenderbuffers_renderbuffersPacked_0[] =
                  { gRenderbufferMap[0] };
                    ^~~~~~~~~~~~~~~~
      
      This is because we are only declaring resources if they are used.
      
      Instead, go ahead and emit the resources, then circle back when
      filtering is implemented, allow that to optimize the replay.
      
      Bug: angleproject:4091
      Bug: angleproject:4223
      Change-Id: Ib48da0d9c3f4f2eca268646e7717a12126b1d85c
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2066455Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Cody Northrop <cnorthrop@google.com>
    • Vulkan: Sanitize Images & Buffers with non-zero values. · ce4918f1
      Jamie Madill authored
      Only enabled for specific tests at the moment. This CL allows our tests
      to sanitizes memory for the robust resource access extension. It is
      quite slow so should not be enabled by default.
      
      Only works for 1 level 2D color textures and buffers. Makes several
      flaky robust resource initialization tests consistently fail.
      
      Controlled via an angle::Feature in FeaturesVk.
      
      It works by initializing memory to an abitrary non-zero value:
      
       - if newly allocated memory is mappable, we map it in init and set it
       - if a buffer or texture can be a transfer destination, we use a
         staging resource
       - otherwise we don't attempt to initialize the resource.
      
      Bug: angleproject:4384
      Change-Id: I9b4f347bfcddf3096f491ed0243bef86837feaa0
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2043271
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
  2. 20 Feb, 2020 20 commits
  3. 19 Feb, 2020 16 commits
  4. 18 Feb, 2020 1 commit