1. 05 Jun, 2017 2 commits
    • Make gl::Compiler reference-counted. · 2f348d2a
      Jamie Madill authored
      This is helpful for implementing program binary caching in ANGLE.
      
      in order to maintain the current behaviour in Chrome, we will need
      to defer shader compilation until link time. Since WebGL allows the
      app layer to enable and disable extensions explicitly, the app can
      enable or disable an extension between the calls to glCompileShader
      and glLinkProgram. Then, if we're deferring shader compilation, we
      will have to preserve the extension settings at the time of the call
      to compile, not the current settings at the time of link. Making the
      compiler reference-counted gives us a pretty simple and robust
      solution.
      
      This also changes the Context class to lazily init the shader
      compiler. Lazy init prevents any unexpected nulls, and also ensures
      the releaseShaderCompiler does exactly that: just releases the shader
      compiler, and does not immediately re-initialize it.
      
      BUG=angleproject:2044
      
      Change-Id: I0f0eeb4eb94dc4eee238f92482804a0921c77df0
      Reviewed-on: https://chromium-review.googlesource.com/522868Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • compiler: Regenerate parser with latest flex and bison · 168d5e80
      Corentin Wallez authored
      Flex version is 2.6.4
      Bison version is 3.0.4
      
      BUG=chromium:668842
      
      Change-Id: Ia05ae338c9b9e588534f8346ff5c59ed747c56bf
      Reviewed-on: https://chromium-review.googlesource.com/435553Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
  2. 02 Jun, 2017 5 commits
  3. 01 Jun, 2017 8 commits
  4. 31 May, 2017 5 commits
  5. 30 May, 2017 3 commits
  6. 29 May, 2017 9 commits
  7. 26 May, 2017 3 commits
  8. 25 May, 2017 3 commits
  9. 24 May, 2017 2 commits