<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&#64;igalia.com" title="Carlos Alberto Lopez Perez &lt;clopez&#64;igalia.com&gt;"> <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">&gt; The intention of the code seems to be to get the number of bits per pixel
&gt; (used by the screen for color) and to create a pixmap with that same number
&gt; of bits per pixel. 
&gt; 
&gt; The EGL_DEPTH_SIZE has nothing to do with color, it is the depth buffer size
&gt; (the number of bits for the Z axis).
&gt; <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>.
&gt; xhtml
&gt; </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>