<?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>70548</bug_id>
          
          <creation_ts>2011-10-20 14:25:22 -0700</creation_ts>
          <short_desc>Make WebCore depend on translator_glsl instead of translator_common</short_desc>
          <delta_ts>2011-10-20 19:29:20 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>0</everconfirmed>
          <reporter name="Antoine Labour">piman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kbr</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>487885</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Labour">piman</who>
    <bug_when>2011-10-20 14:25:22 -0700</bug_when>
    <thetext>Make WebCore depend on translator_glsl instead of translator_common</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487886</commentid>
    <comment_count>1</comment_count>
      <attachid>111849</attachid>
    <who name="Antoine Labour">piman</who>
    <bug_when>2011-10-20 14:27:05 -0700</bug_when>
    <thetext>Created attachment 111849
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487888</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Labour">piman</who>
    <bug_when>2011-10-20 14:29:23 -0700</bug_when>
    <thetext>This change is needed for landing http://codereview.appspot.com/5305052/ in ANGLE. Regardless, it&apos;s still the right thing to do, because translator_common is an incomplete library, it depends on symbols implemented in translator_glsl. In WebKit.gyp we also link translator_glsl which makes it work today. translator_glsl does depend on translator_common.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487921</commentid>
    <comment_count>3</comment_count>
      <attachid>111849</attachid>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2011-10-20 15:24:43 -0700</bug_when>
    <thetext>Comment on attachment 111849
Patch

Did you test against the current version of ANGLE, or do we need to roll forward the ANGLE DEPS in Chromium and then the Chromium revision in Source/WebKit/chromium/DEPS?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487995</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Labour">piman</who>
    <bug_when>2011-10-20 16:46:09 -0700</bug_when>
    <thetext>AFAICT it works with the current version of ANGLE on linux, but I don&apos;t have a windows machine to test on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488012</commentid>
    <comment_count>5</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2011-10-20 17:15:00 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; AFAICT it works with the current version of ANGLE on linux, but I don&apos;t have a windows machine to test on.

I&apos;m 99% sure this won&apos;t work on Windows, since Chrome depends on translator_hlsl on that platform, and we can&apos;t link in both. I&apos;ll test your patch there to verify.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488045</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Labour">piman</who>
    <bug_when>2011-10-20 17:56:01 -0700</bug_when>
    <thetext>As discussed, I&apos;m 99.9% sure we only directly depend on translator_glsl on all chrome platforms:
- the code in WebCore asks for a GLSL translator
- we already link translator_glsl in chrome
- as you mention, we can&apos;t link in both

translator_hlsl is only used inside of the ANGLE libGLESv2 (without its symbols being exported), but that should be independent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488065</commentid>
    <comment_count>7</comment_count>
      <attachid>111849</attachid>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2011-10-20 18:15:11 -0700</bug_when>
    <thetext>Comment on attachment 111849
Patch

OK, I&apos;d forgotten how this worked. Looks okay to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488094</commentid>
    <comment_count>8</comment_count>
      <attachid>111849</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-20 19:29:16 -0700</bug_when>
    <thetext>Comment on attachment 111849
Patch

Clearing flags on attachment: 111849

Committed r98057: &lt;http://trac.webkit.org/changeset/98057&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488095</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-20 19:29:20 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>111849</attachid>
            <date>2011-10-20 14:27:05 -0700</date>
            <delta_ts>2011-10-20 19:29:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-70548-20111020142704.patch</filename>
            <type>text/plain</type>
            <size>1986</size>
            <attacher name="Antoine Labour">piman</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTc4NzAKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCAwNTY0N2U4M2QxYmY1ODcy
MjhhNWZkZDIyOWVhMTMxMGEzMTc2Yzk4Li5kMDY2YTY4MjNiOTcyOGQwNDFmZDY3MGYyOGNkNDU0
OGVlZGEyNzg2IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvU291
cmNlL1dlYkNvcmUvQ2hhbmd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Z2xlL3NyYy9idWlsZF9hbmdsZS5neXA6dHJhbnNsYXRvcl9nbHNsJywK
ICAgICAgICAgJzwoY2hyb21pdW1fc3JjX2RpcikvdjgvdG9vbHMvZ3lwL3Y4Lmd5cDp2OCcsCiAg
ICAgICAgICc8KGxpYmpwZWdfZ3lwX3BhdGgpOmxpYmpwZWcnLAogICAgICAgXSwK
</data>

          </attachment>
      

    </bug>

</bugzilla>