1. 09 Mar, 2017 2 commits
  2. 08 Mar, 2017 1 commit
    • Plumb robust resource init extensions. · e08a1d36
      Jamie Madill authored
      This also cleans up a few minor glitches in the extension texts,
      and renames the EGL extension for consistency.
      
      It incidentally fixes a bug in our EGL init where we were checking
      the wrong client versions for KHR_create_context.
      
      It also implements a new feature for tests which allow them to defer
      Context creation until the test body. This allows tests to check for
      EGL extension available before trying to create a context with certain
      extensions.
      
      BUG=angleproject:1635
      
      Change-Id: I9311991332c357e36214082b16f2a4a57bfa8865
      Reviewed-on: https://chromium-review.googlesource.com/450920
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  3. 07 Mar, 2017 5 commits
  4. 06 Mar, 2017 3 commits
  5. 03 Mar, 2017 1 commit
  6. 02 Mar, 2017 3 commits
  7. 01 Mar, 2017 1 commit
  8. 28 Feb, 2017 2 commits
    • Unify and simplify shader variable collection · a55102c5
      Olli Etuaho authored
      Instead of setting variable information in both CollectVariables and
      the GetVariableTraverser helper class it uses, keep all of this
      functionality in CollectVariables. A single helper function handles
      setting variable information that doesn't depend on variable type, and
      the rest is done in "record" functions that are implemented for each
      variable type.
      
      This removes templates from the code, making it leaner and easier to
      understand, and will help with implementing future features like
      adding binding and location layout qualifiers for uniforms.
      
      BUG=angleproject:1442
      TEST=angle_unittests, angle_end2end_tests,
           dEQP-GLES2.functional.shaders.*
      
      Change-Id: I79148b7b3fa9cb46634a22bdcc9ce0c04f970384
      Reviewed-on: https://chromium-review.googlesource.com/446838
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Make ozone backend work if it can't display. · 7d670a33
      chrome-bot authored
      The ozone backend will no longer fail if it is unable to display on
      screen for any reason.  It no longer assumes it can control the first
      screen it finds.
      
      BUG=angleproject:1423
      
      Change-Id: I5d5274c54b1bc6de50e704903391bf6161efa487
      Reviewed-on: https://chromium-review.googlesource.com/445805
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  9. 27 Feb, 2017 2 commits
  10. 24 Feb, 2017 2 commits
  11. 23 Feb, 2017 3 commits
  12. 22 Feb, 2017 6 commits
  13. 21 Feb, 2017 2 commits
  14. 19 Feb, 2017 1 commit
  15. 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>
  16. 16 Feb, 2017 3 commits