commit | fac5ec8c0ba53134b00d5650bd3c75e5384f3c28 | [log] [tgz] |
---|---|---|
author | kylechar <kylechar@chromium.org> | Thu Jun 07 12:37:24 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 07 12:37:24 2018 |
tree | e17e4aaae1be36e9f849a7e7e82958e61e249435 | |
parent | 8a4fe8a75d13c7c1b8cfc1dc399b7b5eed086ba8 [diff] |
Implement SwiftShader GL for Ozone. Add working SwiftShader GL implementation for Ozone. There is no platform specific FBO implementation for Ozone. However, SwiftShader can still render into a pbuffer object. Add a GLSurface implementation that is backed by a pbuffer and then use glReadPixels() to copy pixels into memory. Add an X11 implementation which copies the pixels into the XWindow. This provides a SwiftShader GL implementation that works with Ozone X11 for the CrOS CQ trybots. Bug: swiftshader:67 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I2ee72de28c506f30c728db8304dd371e2a5dd52e Reviewed-on: https://chromium-review.googlesource.com/1087036 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Reviewed-by: Alexis Hétu <sugoi@chromium.org> Cr-Commit-Position: refs/heads/master@{#565240}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .