Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lang dbb6f3fa60 Support RGB formats with IOSurface client buffer surfaces.
Chrome has started requesting RGB formats for IOSurfaces to support the alpha=false
flag for WebGL context creation.

BUG=chromium:995142

Change-Id: I0c9d994f2d8208e87a0d167ebc0787fc15add08f
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35389
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Geoff Lang <geofflang@chromium.org>
2019-08-21 19:27:07 +00:00
Sean Risser 59d55a331c Update ANGLE docs to match MakeCurrent status
MakeCurrent no longer generates EGL_BAD_SURFACE when the pbuffers are
IOSurfaces. So the documentation has been updated to match.

Bug chromium:987289

Change-Id: Id074d9d6d8d0a50c91ec725ec2016a4f5ad4b6e4
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34568
Presubmit-Ready: Sean Risser <srisser@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Sean Risser <srisser@google.com>
2019-08-02 14:01:54 +00:00
Alexis Hetu c80eada522 eglCreatePbufferFromClientBuffer implementation
Added support for eglCreatePbufferFromClientBuffer(), using an
IOSurface on MacOS, or just a straight buffer pointer on other
platforms.

Added new unit tests (IOSurfaceClientBufferTest class), which
pass on both Windows and MacOS.

Change-Id: I79a6b420d85fb1f3ae505e0c0067bad2e27510d4
Reviewed-on: https://swiftshader-review.googlesource.com/17168
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
2018-04-09 17:37:23 +00:00
Alexis Hetu 010a464878 Add texture filtering precision hint
A new extension will be added to SwiftShader in order to allow
Chromium to trigger high precision filtering when necessary.
This extension is documented in:
extensions/CHROMIUM_texture_filtering_hint.txt

Bug swiftshader:76

Change-Id: I7c5b5c5fd01afbd7079e7949ecbd9c18fc539f2b
Reviewed-on: https://swiftshader-review.googlesource.com/10708
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
2017-07-19 18:23:42 +00:00