Branch
Hash :
a70ef7fc
Author :
Date :
2024-04-25T14:19:50
Add EGL_ANGLE_no_error for disabling EGL validation. Chrome makes many small EGL calls that can have proportionally expensive validation. Bug: angleproject:8434 Change-Id: I4f4d0e6eff64839f76a0f7bf48e5c94b8df9d809 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5491459 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
Name
EGL_ANGLE_no_error
Name Strings
EGL_ANGLE_no_error
Contributors
Geoff Lang (geofflang 'at' google.com)
Contact
Geoff Lang (geofflang 'at' google.com)
Status
Draft
Version
Version 1, April 25, 2024
Number
EGL Extension #XXX
Extension Type
EGL client extension
Dependencies
This extension is written against the wording of the EGL 1.5
Specification.
Overview
This extension adds a method to disable EGL validation. When validation is
disabled, any EGL function that would generate an error results in
undefined behaviour. This could include application termination.
IP Status
No known claims.
New Types
None.
New Procedures and Functions
void eglSetValidationEnabledANGLE(EGLBoolean validationState)
New Tokens
None.
New Behavior
void eglSetValidationEnabledANGLE(EGLBoolean validationState)
EGL validation is globally enabled or disabled based on the validateState
parameter. When validation is disabled, any EGL function that would
generate an error has undefined behaviour and undefined return values.
The default state of validation is EGL_TRUE.
Issues
None
Revision History
Version 1, April 25, 2024 (Geoff Lang)
- Initial Draft