<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong use of EGL_DEPTH_SIZE"
href="https://bugs.webkit.org/show_bug.cgi?id=155536#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong use of EGL_DEPTH_SIZE"
href="https://bugs.webkit.org/show_bug.cgi?id=155536">bug 155536</a>
from <span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=155536#c2">comment #2</a>)
<span class="quote">> 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).
> <a href="https://www.khronos.org/registry/egl/sdk/docs/man/html/eglGetConfigAttrib">https://www.khronos.org/registry/egl/sdk/docs/man/html/eglGetConfigAttrib</a>.
> xhtml
> </span >
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: <a href="https://webkit.org/contributing-code/">https://webkit.org/contributing-code/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>