1. 29 Jun, 2017 5 commits
  2. 28 Jun, 2017 7 commits
  3. 27 Jun, 2017 6 commits
  4. 23 Jun, 2017 5 commits
  5. 22 Jun, 2017 7 commits
  6. 21 Jun, 2017 7 commits
  7. 20 Jun, 2017 3 commits
    • Proliferate gl::Context everywhere. · 4928b7ca
      Jamie Madill authored
      This gives the D3D back-end access to the GL state almost anywhere.
      This uses the onDestroy hook for Textures to push errors up from
      destructors, although they still don't quite make it to the Context.
      
      There are places, such as in EGL object (Context/Surface) destruction,
      where we end up calling through to GL implementation internals without
      having access to a gl::Context. We handle this via a proxy Context
      to a Display, basically a null context, that has access to impl-side
      state like the Renderer pointer if necessary. It does not have access
      to the normal GL state.
      
      Also Pass gl::Context to RefCountObject::release(). Since we're using
      destroy() methods now, we should not ever call the destructor directly.
      
      BUG=angleproject:1156
      
      Change-Id: Ie4c32ad6bf6caaff0289901f30b5c6bafa2ce259
      Reviewed-on: https://chromium-review.googlesource.com/529707
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Optimize builtin function emulator class. · 35bcad42
      Jamie Madill authored
      This refactor uses a generator to produce static arrays instead of
      using a bunch of std::map inserting statements. It speeds up shader
      translation because every shader compile would create and tear down
      this table.
      
      Currently it is implemented as a flat array, but in the future we
      could use compile-time hashing to implement faster lookup.
      
      BUG=chromium:697758
      
      Change-Id: I689f7de4d9b2c8c76095bb313f4c040116fc61d2
      Reviewed-on: https://chromium-review.googlesource.com/521226
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    • Allow '\' characters in shader source for WebGL2. · a71a98ee
      Geoff Lang authored
      TEST=deqp/data/gles3/shaders/preprocessor.html
      
      BUG=angleproject:2016
      
      Change-Id: Ia5240a1ff65ebadc15604a5c3eb63042953c43a5
      Reviewed-on: https://chromium-review.googlesource.com/540198
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>