<?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>118312</bug_id>
          
          <creation_ts>2013-07-02 11:36:37 -0700</creation_ts>
          <short_desc>OpenGLShims doesn&apos;t have getProcAddress for Windows</short_desc>
          <delta_ts>2013-07-02 22:20:07 -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>WebGL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alex Christensen">achristensen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>905510</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2013-07-02 11:36:37 -0700</bug_when>
    <thetext>OpenGLShims.cpp has a getProcAddress function used for filling a function table with function pointers to OpenGL functions.  This function is implemented for Qt and it assumes everything else uses unix commands like dlsym.  I added a Windows implementation that uses the WinAPI to do the same thing.  I stepped through it in the debugger, and this succeeds in filling the function table with valid function pointers when linking with ANGLE libraries (of which libGLESv2 is one).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905511</commentid>
    <comment_count>1</comment_count>
      <attachid>205931</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2013-07-02 11:38:15 -0700</bug_when>
    <thetext>Created attachment 205931
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905576</commentid>
    <comment_count>2</comment_count>
      <attachid>205931</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-07-02 14:22:54 -0700</bug_when>
    <thetext>Comment on attachment 205931
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905595</commentid>
    <comment_count>3</comment_count>
      <attachid>205931</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-02 15:19:21 -0700</bug_when>
    <thetext>Comment on attachment 205931
Patch

Clearing flags on attachment: 205931

Committed r152325: &lt;http://trac.webkit.org/changeset/152325&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905596</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-02 15:19:23 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905691</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-07-02 22:20:07 -0700</bug_when>
    <thetext>It seems like this patch broke Windows builds:
http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/49992
http://build.webkit.org/builders/Apple%20Win%20Debug%20%28Build%29/builds/68153</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>205931</attachid>
            <date>2013-07-02 11:38:15 -0700</date>
            <delta_ts>2013-07-02 15:19:20 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-118312-20130702113610.patch</filename>
            <type>text/plain</type>
            <size>1370</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09P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TIwNjQpCisrKyBTb3VyY2UvV2ViQ29yZS9wbGF0Zm9ybS9ncmFwaGljcy9PcGVu
R0xTaGltcy5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTQyLDYgKzQyLDExIEBAIHN0YXRpYyB2b2lk
KiBnZXRQcm9jQWRkcmVzcyhjb25zdCBjaGFyKiAKIHsKICAgICByZXR1cm4gcmVpbnRlcnByZXRf
Y2FzdDx2b2lkKj4oUU9wZW5HTENvbnRleHQ6OmN1cnJlbnRDb250ZXh0KCktPmdldFByb2NBZGRy
ZXNzKHByb2NOYW1lKSk7CiB9CisjZWxpZiBQTEFURk9STShXSU4pCitzdGF0aWMgdm9pZCogZ2V0
UHJvY0FkZHJlc3MoY29uc3QgY2hhciogcHJvY05hbWUpCit7CisgICAgcmV0dXJuIEdldFByb2NB
ZGRyZXNzKEdldE1vZHVsZUhhbmRsZUEoImxpYkdMRVN2MiIpLCBwcm9jTmFtZSk7Cit9CiAjZWxz
ZQogdHlwZWRlZiB2b2lkKiAoKmdsR2V0UHJvY0FkZHJlc3NUeXBlKSAoY29uc3QgY2hhciogcHJv
Y05hbWUpOwogc3RhdGljIHZvaWQqIGdldFByb2NBZGRyZXNzKGNvbnN0IGNoYXIqIHByb2NOYW1l
KQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>