<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mrobinson&#64;webkit.org" title="Martin Robinson &lt;mrobinson&#64;webkit.org&gt;"> <span class="fn">Martin Robinson</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [EGL] Move EGLDisplay handling to PlatformDisplay and remove PlatformDisplay definition from GLDefs.h"
   href="https://bugs.webkit.org/show_bug.cgi?id=144685">bug 144685</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>mrobinson&#64;webkit.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [EGL] Move EGLDisplay handling to PlatformDisplay and remove PlatformDisplay definition from GLDefs.h"
   href="https://bugs.webkit.org/show_bug.cgi?id=144685#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [EGL] Move EGLDisplay handling to PlatformDisplay and remove PlatformDisplay definition from GLDefs.h"
   href="https://bugs.webkit.org/show_bug.cgi?id=144685">bug 144685</a>
              from <span class="vcard"><a class="email" href="mailto:mrobinson&#64;webkit.org" title="Martin Robinson &lt;mrobinson&#64;webkit.org&gt;"> <span class="fn">Martin Robinson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=144685#c4">comment #4</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=144685#c3">comment #3</a>)
&gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=252470&amp;action=diff" name="attach_252470" title="Try to fix EFL build">attachment 252470</a> <a href="attachment.cgi?id=252470&amp;action=edit" title="Try to fix EFL build">[details]</a></span>
&gt; &gt; Try to fix EFL build
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; <a href="https://bugs.webkit.org/attachment.cgi?id=252470&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=252470&amp;action=review</a>
&gt; &gt; 
&gt; &gt; &gt; Source/WebCore/platform/graphics/PlatformDisplay.cpp:139
&gt; &gt; &gt; +#if USE(OPENGL_ES_2)
&gt; &gt; &gt; +    static const EGLenum eglAPIVersion = EGL_OPENGL_ES_API;
&gt; &gt; &gt; +#else
&gt; &gt; &gt; +    static const EGLenum eglAPIVersion = EGL_OPENGL_API;
&gt; &gt; &gt; +#endif
&gt; &gt; &gt; +    if (eglBindAPI(eglAPIVersion) == EGL_FALSE) {
&gt; &gt; &gt; +        LOG_ERROR(&quot;Failed to set EGL API(%d).&quot;, eglGetError());
&gt; &gt; &gt; +        terminateEGLDisplay();
&gt; &gt; &gt; +        return;
&gt; &gt; &gt; +    }
&gt; &gt; 
&gt; &gt; This needs to be called once per program, not once per display. Perhaps you
&gt; &gt; could surround this with std::once.
&gt; 
&gt; Display is already a single instance, so this will be called only once per
&gt; display, per process.</span >

eglBindAPI isn't supposed to be called once per-display. I supposed to be called once.

<span class="quote">&gt; 
&gt; &gt; &gt; Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.cpp:153
&gt; &gt; &gt; -    m_glxPixmap = glXCreateGLXPixmap(m_sharedDisplay, visualInfo.get(), m_pixmap);
&gt; &gt; &gt; +    m_glxPixmap = glXCreateGLXPixmap(X11Helper::nativeDisplay(), visualInfo.get(), m_pixmap);
&gt; &gt; 
&gt; &gt; This is GLX-related, so perhaps you could update the bug title and ChangeLog
&gt; &gt; slightly?
&gt; 
&gt; But nothing has actually changed here, I can add and remove PlatformDisplay
&gt; from GLDefs.h</span >

I'm not sure I understand what you mean, but the change is so small that you can probably skip mentioning GLX in the ChangeLog if you don't think it matters.</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>