[Webkit-unassigned] [Bug 155536] Wrong use of EGL_DEPTH_SIZE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 04:17:21 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=155536

--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #2)
> The intention of the code seems to be to get the number of bits per pixel
> (used by the screen for color) and to create a pixmap with that same number
> of bits per pixel. 
> 
> The EGL_DEPTH_SIZE has nothing to do with color, it is the depth buffer size
> (the number of bits for the Z axis).
> https://www.khronos.org/registry/egl/sdk/docs/man/html/eglGetConfigAttrib.
> xhtml
> 

So instead of EGL_DEPTH_SIZE we should request EGL_BUFFER_SIZE ?

 - EGL_BUFFER_SIZE: Returns the depth of the color buffer. It is the sum of EGL_RED_SIZE, EGL_GREEN_SIZE, EGL_BLUE_SIZE, and EGL_ALPHA_SIZE. 

If you want, feel free to upload a patch here for review. Don't forget to include a Changelog in your patch as explained here: https://webkit.org/contributing-code/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160317/991553a3/attachment.html>


More information about the webkit-unassigned mailing list