1. 06 Jul, 2017 7 commits
  2. 05 Jul, 2017 12 commits
  3. 04 Jul, 2017 3 commits
  4. 03 Jul, 2017 2 commits
  5. 30 Jun, 2017 5 commits
  6. 29 Jun, 2017 5 commits
  7. 28 Jun, 2017 6 commits
    • Clip TextureGL::copySubImage to framebuffer. · 79fd1e9f
      Frank Henigman authored
      Ensure the underlying GL does not modify areas of the texture that
      correspond to areas outside the framebuffer, as required for WebGL.
      
      Enable corresponding test.
      
      BUG=angleproject:1815
      
      Change-Id: I6092d39e43868902de7ae3aee430deea3b3ff8a1
      Reviewed-on: https://chromium-review.googlesource.com/538295
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Use MemoryProgramCache. · 3244736a
      Jamie Madill authored
      Add the member functions for saving and loading from the binary cache,
      and hook them into the Program class. Requires that the Renderer
      supports the program binary extension.
      
      BUG=angleproject:1897
      
      Change-Id: I2dc8d21b02da705ded58c5cd1943562c9c97c49b
      Reviewed-on: https://chromium-review.googlesource.com/522874Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • WebGL tests which read outside framebuffer. · 68dfe0c5
      Frank Henigman authored
      Add tests for readPixels, copyTexSubImage2D and copyTexImage2D which
      attempt to read outside the framebuffer boundary.  readPixels and
      copyTexSubImage2D should not touch destination pixels which correspond
      to pixels outside the framebuffer.  copyTexImage2D should write (0,0,0,0)
      to those pixels.
      
      BUG=angleproject:1815
      
      Change-Id: I94042b5b08e319f28cb97d13613fe52514b67213
      Reviewed-on: https://chromium-review.googlesource.com/452728
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • Add base SHA-1 routines. · 13b49757
      Jamie Madill authored
      We will need these to implement a more secure version of hashing for the
      program binary cache. These versions of lightly modified from the Chrome
      versions to make compilation simpler.
      
      BUG=angleproject:1897
      
      Change-Id: Ibcadb56c2316e3f39655a07fa28b5fbd6103e452
      Reviewed-on: https://chromium-review.googlesource.com/550000Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Add a ResourceMap class for faster GL resource maps. · 96a483bc
      Jamie Madill authored
      This gives a very fast query time for handles that are within a fixed
      range. For WebGL, where we don't allow create-on-bind, this will be
      100% of the time, unless we create a very large number of resources.
      
      It is implemented as a two-tier map - the first uses a flat array to
      index into a handle buffer. The second tier uses a map for out-of-
      range values.
      
      BUG=angleproject:1458
      
      Change-Id: I421bb3725cf523918cdfdbfaab035ad0dd3bf82d
      Reviewed-on: https://chromium-review.googlesource.com/544684
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • Revert "Don't expose non-conformant multisampling modes on GL" · c8a8b843
      Yuly Novikov authored
      This reverts commit 3cd0dd37.
      
      Reason for revert: crashes on NVIDIA Shield TV
      https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28NVIDIA%20Shield%20TV%29/builds/1816
      
      Original change's description:
      > Don't expose non-conformant multisampling modes on GL
      > 
      > Some NVIDIA GL drivers expose non-conformant multisampling modes. The
      > conformance of multisampling modes can be queried using the extension
      > NV_internalformat_sample_query. Use it to filter out the
      > non-conformant modes from the modes that are exposed by ANGLE.
      > 
      > The MAX_SAMPLES value and other similar values stored in caps also
      > need to be lowered to match the maximum number of samples exposed
      > for required formats.
      > 
      > There seems to be an NVIDIA driver bug related to querying
      > STENCIL_INDEX8 multisample format. Work around this by querying
      > DEPTH24_STENCIL8 instead.
      > 
      > There's also some confusion around whether RGB9_E5 should be
      > renderable. Once the floating point texture extensions got rolled
      > into the core GL spec, it was eventually made clear that RGB9_E5
      > is intended not to be renderable. The extension specs that predate
      > float textures in the core spec do suggest that it would be
      > renderable, but in practice drivers that advertise the extension
      > strings don't reliably implement RGB9_E5 as renderable. Solve this
      > by disabling it as a renderable format and adding an explanatory
      > comment.
      > 
      > BUG=chromium:682815
      > TEST=angle_end2end_tests,
      >      dEQP-GLES31.functional.state_query.internal_format.renderbuffer.*
      > 
      > Change-Id: I2218e3a23ea7b48a0615fea77a91897dc7d5fe9e
      > Reviewed-on: https://chromium-review.googlesource.com/525515
      > Reviewed-by: Geoff Lang <geofflang@chromium.org>
      > Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      
      TBR=geofflang@chromium.org,jmadill@chromium.org,cwallez@chromium.org,oetuaho@nvidia.com
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: chromium:682815
      Change-Id: I1ebdf52c3fab1526f5a561ac4c8555e305ef2243
      Reviewed-on: https://chromium-review.googlesource.com/551164Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Yuly Novikov <ynovikov@chromium.org>