The EGL spec does not specifically call out how to handle the case where 'value' passed to eglGetSyncAttribKHR is NULL, however many implementations will set the context error to EGL_BAD_PARAMETER and return without crashing. dEQP has a test which specifically checks for this behavior. Align SwiftShader's implementation with other EGL implementations. Bug: b/74572503 Test: dEQP-EQL GetSyncInvalidValueTest Change-Id: Ic893cd7073c12c463ded78042031df1bf85f6ce2 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28028Reviewed-by:Nicolas Capens <nicolascapens@google.com> Tested-by:
Alistair Strachan <astrachan@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Android.mk | Loading commit data... | |
| BUILD.gn | Loading commit data... | |
| Config.cpp | Loading commit data... | |
| Config.h | Loading commit data... | |
| Context.hpp | Loading commit data... | |
| Display.cpp | Loading commit data... | |
| Display.h | Loading commit data... | |
| OSXUtils.hpp | Loading commit data... | |
| OSXUtils.mm | Loading commit data... | |
| Surface.cpp | Loading commit data... | |
| Surface.hpp | Loading commit data... | |
| Sync.hpp | Loading commit data... | |
| Texture.hpp | Loading commit data... | |
| libEGL.cpp | Loading commit data... | |
| libEGL.def | Loading commit data... | |
| libEGL.hpp | Loading commit data... | |
| libEGL.lds | Loading commit data... | |
| libEGL.rc | Loading commit data... | |
| libEGL.vcxproj | Loading commit data... | |
| libEGL.vcxproj.filters | Loading commit data... | |
| main.cpp | Loading commit data... | |
| main.h | Loading commit data... | |
| resource.h | Loading commit data... |