1. 21 Feb, 2017 1 commit
  2. 19 Feb, 2017 1 commit
  3. 17 Feb, 2017 3 commits
    • WebGL Compat: Add DEPTH_STENCIL renderbuffers. · 4e0e6f8a
      Jamie Madill authored
      This special internal format was defined in the WebGL 1 spec as a
      special unsized format with at least 16 bits of depth and at least
      8 bits of stencil. Intenally ANGLE will translate this to packed
      24/8 depth/stencil.
      
      The new test is adapted from the WebGL test:
      conformance/renderbuffers/framebuffer-object-attachment
      
      BUG=angleproject:1708
      
      Change-Id: I44b03e41889eed02481f603b8d52c530dcfed5ce
      Reviewed-on: https://chromium-review.googlesource.com/442094Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • ES31: Refactor VertexArray for Vertex Attrib Binding · 2597fb64
      Jiawei-Shao authored
      OpenGL ES3.1 feature Vertex Attrib Binding requires vertex arrays should
      be split into two arrays:
      1. an array of vertex buffer binding points, each of which specifies:
        - a bound buffer object,
        - a starting offset for vertex attribute data in that buffer object,
        - a stride used by all attributes using that binding point,
        - a frequency divisor used by all attributes using that binding point.
      2. an array of generic vertex attribute format information records, each
      of which specifies:
        - a reference to one of the new buffer binding points above,
        - a component count and format, and a normalization flag for the
          attribute data,
        - the offset of the attribute data relative to the base offset of each
          vertex found at the associated binding point.
      
      Current ANGLE implementation simply uses a struct to represent a vertex
      attribute object, which does not meet the requirements above.
      
      This patch aims to be the the basis of the implementation of all ES3.1
      Vertex Attrib Binding APIs by refactoring the struct VertexAttribute and
      the class VertexArray to fit the new data layout and ensuring all current
      functionality is retained.
      
      BUG=angleproject:1593
      
      TEST=angle_unittests, angle_end2end_tests, gpu_unittests
      
      Change-Id: Ieb41f1bf503f815fd0476d2ea045dcb863465254
      Reviewed-on: https://chromium-review.googlesource.com/418880Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Remove unneeded ContextImpl::syncState parameter. · 5a53d54e
      Frank Henigman authored
      The 'state' parameter passed to ContextImpl::syncState() is already
      available in ContextImpl as mState.getState().
      
      BUG=none
      
      Change-Id: I13283664579fa04ae67b1d1bbc0cb4426a950b97
      Reviewed-on: https://chromium-review.googlesource.com/444099
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  4. 16 Feb, 2017 5 commits
  5. 15 Feb, 2017 14 commits
  6. 14 Feb, 2017 7 commits
  7. 13 Feb, 2017 7 commits
  8. 11 Feb, 2017 1 commit
    • Refactor ResourceManagers. · 5f45e7c3
      Jamie Madill authored
      This makes ResourceManagers use more common code. It uses static
      polymorphism to implement the various typed resource managers,
      and unifies the FramebufferManager into a TypedResourceManager.
      The lack of virtual calls and inlining in the header should keep
      performance high.
      
      This will make the upcoming refactor to add a destroy hook
      for Vulkan objects simpler to implement.
      
      TEST=manual performance testing of BindingPerf.
      BUG=angleproject:1684
      BUG=angleproject:1639
      
      Change-Id: Ic2f102196020d1005e63a1b2cf0867577fc7c885
      Reviewed-on: https://chromium-review.googlesource.com/439488
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  9. 09 Feb, 2017 1 commit