commit | 51eede9ca3ab1d535fc376c29604f971e5d38880 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Wed Mar 25 14:03:21 2015 -0400 |
committer | Nicolas Capens <capn@google.com> | Wed Mar 25 21:30:05 2015 +0000 |
tree | e803cf6598466f87eecf0481074b286ca5a79eba | |
parent | ebe676496450066253da95a9e0b2f8885d58be38 [diff] |
Implement EGL_SWAP_BEHAVIOR for eglSurfaceAttrib(). SwiftShader currently always preserves the color buffer on eglSwapBuffers, so both EGL_BUFFER_PRESERVED and EGL_BUFFER_DESTROYED can be used without real changes. Change-Id: I55fcd7d4b4211483d8876c15d3d6ea77ea2685e6 Reviewed-on: https://swiftshader-review.googlesource.com/2721 Reviewed-by: Ping-Hao Wu <pinghao@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>