1. 01 Jun, 2020 10 commits
  2. 31 May, 2020 3 commits
  3. 29 May, 2020 14 commits
  4. 28 May, 2020 9 commits
  5. 27 May, 2020 4 commits
    • docs: Update ANGLE for Android documentation · 4bbef996
      Cody Northrop authored
      Following up on feedback to minimize GN arg lists. The initial block
      generates a Debug build with minimum variance from default args. The
      additional blocks are for different scenarios, like getting maximum
      performance, and verifying ANGLE runs cleanly with Vulkan in Release.
      
      Bug: b/150368485
      Bug: angleproject:4347
      Change-Id: I4db6c389b9bdaf8124795a3aeeb79590245d1e70
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2216813Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Cody Northrop <cnorthrop@google.com>
    • Emulate unsized depth/stencil textures on ES 3.0 without OES_depth_texture. · c8bfefac
      Kenneth Russell authored
      Use sized internal formats for unsized depth/stencil textures on ES
      3.0 devices that don't advertise the GL_OES_depth_texture extension.
      
      This CL makes the webgl-depth-texture.html conformance test pass on
      WebKit's ANGLE backend on iOS.
      
      Bug: angleproject:4591
      Change-Id: Ifc45e74258ecf2e6433662bb10b081f1f94bded9
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2213678Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
    • Vulkan:Initial worker thread disabled by default · 02fa7313
      Tobin Ehlis authored
      Created new CommandProcessor class that can be run as a worker thread.
      Running CommandProcessor within RendererVk as a worker thread that
      takes a CommmandBufferHelper (CBH) ptr as the interface and processes
      that CBH into a primary command buffer.
      
      Main thread has a queue of CBH to draw from. After submitting a CBH to
      the worker, it pulls next CBH from the queue. Worker thread releases CBH
      back to the main thread queue when done.
      
      Synchronization goes two ways:
      1. Work submitted to worker thread is managaed with a mutex and
      condition variable based around the work queue.
      2. Available CBH ptrs for the main thread have a mutex and condition
      variable that manages the CBH queue.
      
      The worker thread is disabled by default, and, when enabled, it will
      currently behave and perform as the non-threaded code. This is because
      the kNumCommandBuffers const in ContextVk.h is set to 2. With only 2
      command buffers, they will be assigned to the inside and outside
      RenderPass command buffers respectively. Then, as soon as one is
      submitted, the main thread will stall waiting for it to be completed
      and put back into the queue mentioned in #2 above.
      
      The next step is to move command submission to the worker thread and
      update the number of command buffers so that processing/submission
      will occur in parallel with the main thread. Right now there is a
      race condition issue when attempting to run in parallel because the
      main thread updates and submits the same primary command buffers
      that are used in the worker thread, which is in violation of the
      Vulkan spec.
      
      The follow-on CL will fix this issue as the main thread will only
      touch SecondaryCommandBuffers and the worker thread will be the
      only thread touching the primary command buffers.
      
      Bug: b/154030730
      Change-Id: Ib0c518bbd7ca9a3a7e789f4e1f2f7131ddc0509e
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2174719
      Commit-Queue: Tobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Vulkan: Increase GLES support to 3.1 · f5dace0f
      Tim Van Patten authored
      Update getMaxConformantESVersion() to support GLES 3.1.
      
      This requires skipping some tests on Nvidia due to XFB failures.
      
      dEQP-GLES3.functional.transform_feedback.array_element.interleaved.*
      dEQP-GLES3.functional.transform_feedback.array_element.separate.*
      dEQP-GLES3.functional.transform_feedback.array.interleaved.*
      dEQP-GLES3.functional.transform_feedback.array.separate.*
      dEQP-GLES3.functional.transform_feedback.random.*
      
      Bug: angleproject:3520
      Test: CQ
      Change-Id: I3de0e8f7a9e9c6e800be9eb2c04e713e1f88fc08
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2213810Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
      Commit-Queue: Tim Van Patten <timvp@google.com>