summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2015-02-17 11:03:35 (GMT)
committerJonny Lamb <jonny.lamb@collabora.co.uk>2015-02-17 11:03:35 (GMT)
commitb16b46c3502727829135b6ae612390605426fe63 (patch)
tree0194ed9c5364784089c1cfc67c9beb2be014283b
parent8734a6291be4807f6e73a2b1c88f9b3acadc6e36 (diff)
downloadegl-transparency-b16b46c3502727829135b6ae612390605426fe63.tar.gz
egl-transparency-b16b46c3502727829135b6ae612390605426fe63.tar.xz
fix typos in previous version missing out MESA prefix
-rw-r--r--EGL_MESA_transparent_alpha.txt28
1 files changed, 15 insertions, 13 deletions
diff --git a/EGL_MESA_transparent_alpha.txt b/EGL_MESA_transparent_alpha.txt
index 2194512..b2d9760 100644
--- a/EGL_MESA_transparent_alpha.txt
+++ b/EGL_MESA_transparent_alpha.txt
@@ -61,41 +61,43 @@ Additions to the EGL 1.5 Specification
"EGL_TRANSPARENT_TYPE indicates" and ends with "and
EGL_TRANSPARENT_BLUE_VALUE, respectively" the following:
- "If the attribute is EGL_TRANSPARENT_ALPHA then window surfaces
+ "If the attribute is EGL_MESA_TRANSPARENT_ALPHA then window surfaces
created with the EGLConfig will have their alpha channel
respected. Creating non-window surfaces with the EGLConfig will
result in an error."
In the next paragraph replace the first sentence with:
- "If EGL_TRANSPARENT_TYPE is either EGL_NONE or EGL_TRANSPARENT_ALPHA, then
- the values for EGL_TRANSPARENT_RED_VALUE, EGL_TRANSPARENT_GREEN_VALUE, and
+ "If EGL_TRANSPARENT_TYPE is either EGL_NONE or
+ EGL_MESA_TRANSPARENT_ALPHA, then the values for
+ EGL_TRANSPARENT_RED_VALUE, EGL_TRANSPARENT_GREEN_VALUE, and
EGL_TRANSPARENT_BLUE_VALUE are undefined."
Before the paragraph which begins with "EGL_MAX_PBUFFER_WIDTH and
EGL_MAX_PBUFFER_HEIGHT indicate" insert the following paragraph:
- "If EGL_TRANSPARENT_TYPE is EGL_TRANSPARENT_ALPHA and EGL_ALPHA_SIZE is 0,
- window surfaces created with the EGLConfig will be fully opaque, as if
- alpha were set to 1.0."
+ "If EGL_TRANSPARENT_TYPE is EGL_MESA_TRANSPARENT_ALPHA and
+ EGL_ALPHA_SIZE is 0, window surfaces created with the EGLConfig
+ will be fully opaque, as if alpha were set to 1.0."
New Behavior
To determine if the EGL implementation supports this extension, clients
should query the EGL_EXTENSIONS string of EGL_NO_DISPLAY.
- To obtain an EGL window surface with a meaningful alpha channel, use an
- EGLConfig with EGL_TRANSPARENT_TYPE set to EGL_TRANSPARENT_ALPHA.
+ To obtain an EGL window surface with a meaningful alpha channel,
+ use an EGLConfig with EGL_TRANSPARENT_TYPE set to
+ EGL_MESA_TRANSPARENT_ALPHA.
Issues
- 1. Should non-window surfaces created with EGL_TRANSPARENT_TYPE set to
- EGL_TRANSPARENT_ALPHA generate an error or have no effect on the
- surface?
+ 1. Should non-window surfaces created with EGL_TRANSPARENT_TYPE
+ set to EGL_MESA_TRANSPARENT_ALPHA generate an error or have no
+ effect on the surface?
RESOLUTION: Yes. Non-window surfaces created with
- EGL_TRANSPARENT_TYPE set to EGL_TRANSPARENT_ALPHA will generate
- an error.
+ EGL_TRANSPARENT_TYPE set to EGL_MESA_TRANSPARENT_ALPHA will
+ generate an error.
Revision History