1. 25 Jan, 2018 5 commits
  2. 24 Jan, 2018 11 commits
  3. 23 Jan, 2018 2 commits
    • Allow creating EGL pbuffers from typeless D3D textures · d66e1939
      Olli Etuaho authored
      A new extension EGL_ANGLE_d3d_typeless_texture_client_buffer is added
      that allows creating EGL pbuffers from typeless D3D textures.
      
      The extension increases the flexibility of the API compared to plain
      EGL_ANGLE_D3D_texture_client_buffer. The colorspace for the created
      EGL pbuffer can be set by using the EGL_GL_COLORSPACE attribute.
      Internally this sets the ANGLE format of the buffer. There are new
      ANGLE formats that are used specifically for typeless textures,
      separate ones for SRGB and linear views into the D3D textures.
      
      The extension is only supported on the D3D11 backend of ANGLE.
      
      BUG=angleproject:2300
      TEST=angle_white_box_tests
      
      Change-Id: I6a6cb873d2cc0dca0b7f18a0f2cd35e7bafcb7d8
      Reviewed-on: https://chromium-review.googlesource.com/873917Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    • Add const qualification to symbol accesses · dd21ecf8
      Olli Etuaho authored
      All accesses to built-in symbols now happen through const-qualified
      pointers.
      
      This also encapsulates TSymbolTableLevel inside TSymbolTable.
      
      This prepares for statically allocating built-in symbols.
      
      BUG=angleproject:2267
      TEST=angle_unittests
      
      Change-Id: I473014d978daa765b4a733d761d6c08b28288776
      Reviewed-on: https://chromium-review.googlesource.com/859959
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  4. 22 Jan, 2018 2 commits
  5. 20 Jan, 2018 1 commit
  6. 19 Jan, 2018 5 commits
  7. 17 Jan, 2018 3 commits
  8. 16 Jan, 2018 4 commits
  9. 15 Jan, 2018 1 commit
  10. 12 Jan, 2018 2 commits
  11. 11 Jan, 2018 4 commits
    • Add #! line to scripts/bootstrap.py. · 1ea85a13
      Frank Henigman authored
      Indicate scripts/bootstrap.py should be run by python2.
      
      TBR=jmadill@chromium.org
      BUG=angleproject:2209
      
      Change-Id: I2ccfee1407cd4ce457aa28a374ac202b8281d40b
      Reviewed-on: https://chromium-review.googlesource.com/862618Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
    • Create a new DeviceImpl each time one is requested from a DisplayImpl. · e1aa9219
      Geoff Lang authored
      This makes sure that the Device to DeviceImpl ratio is always 1:1 and
      avoids any potential double-deletion or unexpected deletion of
      DeviceImpl objects.
      
      BUG=742034
      
      Change-Id: I778068ccd09b7478d3683123456062b94be242a1
      Reviewed-on: https://chromium-review.googlesource.com/854627
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    • Constant fold array indexing and comparison · ea22b7a5
      Olli Etuaho authored
      A virtual function to get the constant value of an AST node is added
      to TIntermTyped. This way a constant value can be retrieved
      conveniently from multiple different types of nodes. TIntermSymbol
      nodes pointing to a const variable can return the value associated
      with the variable, constructor nodes can build a constant value from
      their arguments, and indexing nodes can index into a constant array.
      
      This enables constant folding operations on constant arrays, while
      making sure that large amounts of data are not duplicated in the
      output shader. When folding an operation makes sense, the values of
      the arguments can be retrieved by using the new
      TIntermTyped::getConstantValue(). When folding an operation would
      result in duplicating data, the AST can just be left to be written out
      as is.
      
      For example, if the code contains a constant array of arrays, indexing
      into individual elements of the inner arrays can be folded, but
      indexing the top level array is left in place and not replaced with
      duplicated array literals.
      
      Constant folding is supported for indexing and comparisons of arrays.
      
      In case constant arrays are only referenced through foldable
      operations, the variable declarations will be pruned from the AST by
      the RemoveUnreferencedVariables step.
      
      BUG=angleproject:2298
      TEST=angle_unittests
      
      Change-Id: I5b3be237b7e9fdba56aa9bf0a41b691f4d8f01eb
      Reviewed-on: https://chromium-review.googlesource.com/850973Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    • Doc fix and improvement. · ed1390f8
      Frank Henigman authored
      Only exact version of Windows SDK works.
      Clarify how to do a release build.
      
      BUG=angleproject:2297
      
      Change-Id: I2566b7e807a84c4edc3b457299036e67a64b5a36
      Reviewed-on: https://chromium-review.googlesource.com/852553
      Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>