1. 04 Apr, 2018 1 commit
  2. 29 Mar, 2018 1 commit
  3. 27 Mar, 2018 2 commits
  4. 26 Mar, 2018 8 commits
  5. 21 Mar, 2018 1 commit
  6. 20 Mar, 2018 5 commits
  7. 16 Mar, 2018 1 commit
  8. 15 Mar, 2018 1 commit
    • Fix glTexSubImage support of half-float extension formats. · 6b5038e7
      Nicolas Capens authored
      GL_HALF_FLOAT_OES and GL_HALF_FLOAT have different enum values, and we
      weren't handling the case where a half-float texture was already
      created (e.g. with an effective internal format of GL_RGBA16F) and then
      updated with a glTexSubImage call using GL_HALF_FLOAT_OES type. In
      other words, we assumed the OpenGL ES 3.0 sized internal format could
      only be used with the OpenGL ES 3.0 half-float type, but this hasn't
      been true since we started storing only the effective internal format
      for all versions.
      
      Note that GL_OES_texture_half_float, which defines GL_HALF_FLOAT_OES,
      does not clarify whether HALF_FLOAT images can be updated using FLOAT,
      or vice-versa. We're assuming the equivalent combinations of OpenGL ES
      3.0 table 3.3 are valid. That is, FLOAT can be used to update,
      HALF_FLOAT, but not the other way around.
      
      Bug b/74609191
      
      Change-Id: Ib8548cd37065820eb59a0943fd39647edc5e9f1b
      Reviewed-on: https://swiftshader-review.googlesource.com/17748Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
  9. 14 Mar, 2018 1 commit
  10. 13 Mar, 2018 1 commit
    • Check X11 return status. · f9b80fe1
      Nicolas Capens authored
      We weren't checking the return status of an XGetWindowAttributes() call
      while checking for a resized window. It appears that it can start to
      fail possibly due to an out-of-memory situation or the window being
      destroyed before the EGL surface.
      
      Note that the EGL spec does not have a recommendation on how to handle
      this situation. Generating EGL_BAD_ALLOC is intended for eglCreate*
      call failures, while EGL_BAD_NATIVE_WINDOW appears to be reserved for
      calls that take a native window as a parameter. eglSwapBuffers is
      neither.
      
      Bug chromium:819481
      
      Change-Id: I270730567b5179ee43b814e8bd017b601dfbe079
      Reviewed-on: https://swiftshader-review.googlesource.com/17708Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
  11. 08 Mar, 2018 2 commits
  12. 07 Mar, 2018 3 commits
  13. 06 Mar, 2018 1 commit
  14. 02 Mar, 2018 2 commits
  15. 01 Mar, 2018 5 commits
  16. 28 Feb, 2018 2 commits
  17. 27 Feb, 2018 3 commits