<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>165283</bug_id>
          
          <creation_ts>2016-12-01 15:19:36 -0800</creation_ts>
          <short_desc>Fix WinCairo build after r208997</short_desc>
          <delta_ts>2018-02-21 12:01:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=165253</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Christensen">achristensen</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>ossy</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1255514</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-12-01 15:19:36 -0800</bug_when>
    <thetext>Fix WinCairo build after r208997</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255515</commentid>
    <comment_count>1</comment_count>
      <attachid>295905</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-12-01 15:22:42 -0800</bug_when>
    <thetext>Created attachment 295905
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255631</commentid>
    <comment_count>2</comment_count>
      <attachid>295905</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-12-01 23:57:36 -0800</bug_when>
    <thetext>Comment on attachment 295905
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295905&amp;action=review

Thanks!

&gt; Source/WebCore/platform/graphics/GLContext.cpp:32
&gt; +#if USE(OPENGL_ES_2)
&gt; +#include &lt;GLES2/gl2.h&gt;
&gt; +#include &lt;GLES3/gl3.h&gt;
&gt; +#endif

Is this still needed after bug #165253? Plan is to switch to glGetString(GL_VERSION). In any case, let&apos;s fix the build now, and we will remove this includes if they are not needed as part of #165253.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255632</commentid>
    <comment_count>3</comment_count>
      <attachid>295905</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-12-01 23:59:17 -0800</bug_when>
    <thetext>Comment on attachment 295905
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295905&amp;action=review

&gt;&gt; Source/WebCore/platform/graphics/GLContext.cpp:32
&gt;&gt; +#endif
&gt; 
&gt; Is this still needed after bug #165253? Plan is to switch to glGetString(GL_VERSION). In any case, let&apos;s fix the build now, and we will remove this includes if they are not needed as part of #165253.

I think the include gl2 will be needed still.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255635</commentid>
    <comment_count>4</comment_count>
      <attachid>295905</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-02 00:24:30 -0800</bug_when>
    <thetext>Comment on attachment 295905
Patch

Clearing flags on attachment: 295905

Committed r209233: &lt;http://trac.webkit.org/changeset/209233&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255636</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-02 00:24:34 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1262489</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-12-22 17:38:35 -0800</bug_when>
    <thetext>But:

#if USE(OPENGL_ES_2) 
	#include &lt;GLES2/gl2.h&gt; 
	#include &lt;GLES3/gl3.h&gt; 
#endif

You are using a GLES3 header inside a GLES2 guard. I think we need to find a different guard to use instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1401205</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-02-21 12:01:19 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #6)
&gt; But:
&gt; 
&gt; #if USE(OPENGL_ES_2) 
&gt; 	#include &lt;GLES2/gl2.h&gt; 
&gt; 	#include &lt;GLES3/gl3.h&gt; 
&gt; #endif
&gt; 
&gt; You are using a GLES3 header inside a GLES2 guard. I think we need to find a
&gt; different guard to use instead.

See bug #183008.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>295905</attachid>
            <date>2016-12-01 15:22:42 -0800</date>
            <delta_ts>2016-12-02 00:24:30 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-165283-20161201152217.patch</filename>
            <type>text/plain</type>
            <size>1153</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDIwOTIxOCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICs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gogCisj
aWYgVVNFKE9QRU5HTF9FU18yKQorI2luY2x1ZGUgPEdMRVMyL2dsMi5oPgorI2luY2x1ZGUgPEdM
RVMzL2dsMy5oPgorI2VuZGlmCisKICNpZiBVU0UoR0xYKQogI2luY2x1ZGUgIkdMQ29udGV4dEdM
WC5oIgogI2VuZGlmCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>