1. 27 Feb, 2020 3 commits
    • Vulkan: Implement Android pre-rotation · e488d8b8
      Ian Elliott authored
      As an Android GLES driver on top of Vulkan, ANGLE must pre-rotate
      rendering on behalf of the application.  This involves modifying the
      vertex shader to multiply gl_Position with a mat2 "rotation matrix".
      Not doing so means that SurfaceFlinger (SF) will perform a costly
      rotation blit before presenting every image.  Setting
      WindowSurfaceVk::mPreTransform to mCurrentTransform tells SF to not do
      the blit.
      
      When the surface is rotated 90 or 270 degrees, the width and height
      must be swapped for:
      
      - The swapchain images, and for any depth, stencil, and/or multisample
        attachments used with the swapchain image.
      
      - The viewport, scissor, and render area.
      
      Because the Metal back-end shares the TranslatorVulkan, it will define
      the same preRotation (mat2) DriverUniform that is used for Vulkan.
      
      Bug: angleproject:3502
      Change-Id: I968dbe8869ba0f50de18dd41f1195e847c06b545
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2038272
      Commit-Queue: Ian Elliott <ianelliott@google.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Always use commit_id.py to generate commit.h · ba8ef68c
      Geoff Lang authored
      commit_id_.py is capable of generating the default commit.h.
      This makes it so we always take a single path in gn.
      
      Remove the existing commit.h and generate it into the root
      generation folder (not the id subfolder) because Android blueprints
      can't handle generating into subfolders that don't exist.
      
      Make the <angle_dir> argument capable of taking a filename or
      directory name. This allows us to pass the .git/HEAD file which is
      a gn input.  Android blueprints require all paths used as input
      or output to a script are listed as inputs or outputs in the genrule.
      
      BUG=angleproject:2344
      
      Change-Id: I6600083fc400faf07808316c4a6244d6599df79a
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2074924
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Vulkan: Document command access APIs. · c79b0ea5
      Jamie Madill authored
      Includes a short description of the ContextVk command APIs.
      
      Also a few small cleanups to other Vulkan back-end documentation.
      
      Bug: angleproject:4029
      Change-Id: I3bd04861f27b718e6a94fdae00644c124452bc62
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2070597
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
  2. 26 Feb, 2020 8 commits
  3. 25 Feb, 2020 9 commits
  4. 24 Feb, 2020 9 commits
  5. 22 Feb, 2020 1 commit
  6. 21 Feb, 2020 10 commits