1. 20 Jul, 2016 4 commits
    • Improve glCopyTexSubImage2D and glReadPixels validation · 138064f5
      Martin Radev authored
      glCopyTexSubImage2d and glReadPixels should generate a
      GL_INVALID_OPERATION when GL_NONE is specified as a color buffer.
      There are two tests added which cover glCopyTexSubImage2D and
      glReadPixels.
      
      BUG=angleproject:1445
      
      TEST=angle_end2end_tests
      
      Change-Id: I3ab1428aad7eee96ca2330909e2b6f765f539705
      Reviewed-on: https://chromium-review.googlesource.com/360860Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    • Add support for ES31 context creation · 1be913cf
      Martin Radev authored
      The dEQP test for context creation passes.
      
      SH_WEBGL3_SPEC has been added, but it should be considered whether we
      should keep it, remove it or rename it. It was added so that there is
      a webgl mapping to es 310 shaders. Check Compiler.cpp. The bison file
      has been modified so that some tokens from es3 can be also used in
      es31 as well.
      
      A separate macro ES3_1_ONLY is added so that some tokens are limited
      only for es 310 shaders.
      
      BUG=angleproject:1442
      TEST=angle_unittests
      
      Change-Id: I2e5ca227c96046c30dc796ab934f3fda9c533eba
      Reviewed-on: https://chromium-review.googlesource.com/360300Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Fix windows clang build · 6396d9f2
      Yoichi Osato authored
      Change-Id: I920e9be38c3dd63e00db111294f69c335c4e772d
      Reviewed-on: https://chromium-review.googlesource.com/361663Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Fix KHR_Debug segfault errors · 9d901791
      Martin Radev authored
      Calls to functions ObjectLabel, ObjectPtrLabel, GetObjectLabel,
      GetObjectPtrLabel were resulting into segfaults due to improper
      validation and parameter handling. It could be that the
      implementations of those functions were based on an earlier version
      of the KHR_Debug extension.
      
      The patch fixes the segfault error and almost all failing dEQP 3.1
      tests related to KHR_Debug. The failing tests were also relevant to
      older ES versions. There is still one failing test, but that one
      fails since ES3.1 is not fully supported yet.
      
      List of reasons for the segfault error and failing tests:
      - the segfault error was caused by strlen called on a null pointer
      - another segfault was caused by writing out the length to a null
      pointer
      - even if the buffer size for getObject(Ptr)Label is 0, still the
      length of the label can be returned. That was not handled.
      
      BUG=angleproject:1446
      TEST=angle_deqp_gtest_gles31_tests
      --gtest_filter=*functional_debug_object*
      
      Change-Id: I4743be8e862f3620091061cd7abb206a426655ed
      Reviewed-on: https://chromium-review.googlesource.com/361300Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  2. 19 Jul, 2016 10 commits
  3. 18 Jul, 2016 10 commits
  4. 16 Jul, 2016 1 commit
  5. 15 Jul, 2016 6 commits
  6. 14 Jul, 2016 5 commits
  7. 13 Jul, 2016 3 commits
  8. 12 Jul, 2016 1 commit