1. 08 Jun, 2016 4 commits
  2. 07 Jun, 2016 6 commits
  3. 06 Jun, 2016 4 commits
  4. 03 Jun, 2016 4 commits
  5. 02 Jun, 2016 2 commits
  6. 31 May, 2016 1 commit
  7. 30 May, 2016 3 commits
  8. 27 May, 2016 2 commits
  9. 26 May, 2016 2 commits
  10. 25 May, 2016 4 commits
  11. 24 May, 2016 4 commits
  12. 20 May, 2016 4 commits
    • Make RendererD3D a bit smaller. · 8b9b792d
      Jamie Madill authored
      Move some D3D11-specific stuff into Renderer11, and remove a few
      virtual methods that weren't needed to be virtual.
      
      BUG=angleproject:1369
      
      Change-Id: Id37e7271ffc28b089dbea123dca70f38c1a06ffb
      Reviewed-on: https://chromium-review.googlesource.com/345913Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • D3D11: Require FL 10.1+ for ES3. · 34106e7a
      Jamie Madill authored
      We decided some time ago to make our lives easier and raise the
      lower bound on the feature level to 10.1 from 10.0. This makes
      using some multisample samplers easier in HLSL. It is also a very
      small and poorly suppoted fraction of our userbase.
      
      BUG=angleproject:1381
      
      Change-Id: I25d330a6097f71ec772899d49ff5d3a97c0cb0d2
      Reviewed-on: https://chromium-review.googlesource.com/346102Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Add a shared egl::SurfaceState struct. · 62baf0cf
      Jamie Madill authored
      This structure can share GL-level properties (immutably) with the
      implementation.
      
      BUG=angleproject:1369
      
      Change-Id: I1e9406f18b6b88bb7db2a8f87b5e6d547cc7ecb1
      Reviewed-on: https://chromium-review.googlesource.com/342061Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Fix GenerateMipmap when base level or max level are set · 0f2b1560
      Olli Etuaho authored
      According to GLES 3.0.4 section 3.8.10, GenerateMipmap should generate
      levels based on the base level, and generate them at most up to the
      max level. Levels outside the base/max level range should be unchanged
      by GenerateMipmap.
      
      The Texture class is fixed so that the image descs are set only for
      the changed mipmap range when GenerateMipmap is called.
      
      The D3D backend is fixed so that mipmap generation is correctly
      started from the base level instead of level 0, and making sure that
      mipmaps are generated only up to the max level. Generating mipmaps for
      array textures is also fixed for cases where the base level depth >=
      max(width, height) * 2.
      
      The GL backend is fixed to sync texture state before GenerateMipmap is
      called, so that base level and max level are set correctly in the
      driver.
      
      The GenerateMipmap entry point is refactored so that it has a separate
      validation function and a context function which does the work.
      Validation for out-of-range base levels is added.
      
      New tests are added to verify the functionality. One corner case in
      the tests fails on NVIDIA GL drivers likely due to a driver bug -
      similar rules for GenerateMipmap are found from newer GLES specs and
      also OpenGL specs (checked versions 3.3 and 4.4).
      
      BUG=angleproject:596
      TEST=angle_end2end_tests
      
      Change-Id: Ifc7b4126281967fc4f6dc4f9452e5b01e39f83d7
      Reviewed-on: https://chromium-review.googlesource.com/344514Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>