<?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>100573</bug_id>
          
          <creation_ts>2012-10-26 16:28:20 -0700</creation_ts>
          <short_desc>[EFL][WK2][AC] Viewport size does not change when the window size changes</short_desc>
          <delta_ts>2012-10-28 05:31:26 -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>WebKit EFL</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>1</everconfirmed>
          <reporter name="Yael">yael</reporter>
          <assigned_to name="Yael">yael</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>jturcotte</cc>
    
    <cc>kenneth</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>noam</cc>
    
    <cc>ostap73</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>752559</commentid>
    <comment_count>0</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2012-10-26 16:28:20 -0700</bug_when>
    <thetext>Resizing the MiniBrowser window does not affect the size of the texture we draw into. The newly exposed area remains black.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752663</commentid>
    <comment_count>1</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2012-10-26 19:43:43 -0700</bug_when>
    <thetext>In EFL port, we create a new surface when the size changes. I did not find an API that allows resizing the surface instead.
Looks like TextureMapperGL is caching the first surface that we create and it does not update after the size change.
Calling exitAcceleratedCompositingMode and enterAcceleratedCompositingMode fix this problem by deleting and creating a new TextureMapperGL, but this is not optimal solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752843</commentid>
    <comment_count>2</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2012-10-27 15:33:20 -0700</bug_when>
    <thetext>Changing the title, since it is the viewport size that does not change after changing the size of a window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752846</commentid>
    <comment_count>3</comment_count>
      <attachid>171108</attachid>
    <who name="Yael">yael</who>
    <bug_when>2012-10-27 15:44:32 -0700</bug_when>
    <thetext>Created attachment 171108
Patch

The viewport size is set when we create the window the first time and does not change automatically afterwards. When we change the window size, we need to explicitly change the viewport size as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752847</commentid>
    <comment_count>4</comment_count>
      <attachid>171108</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2012-10-27 15:48:37 -0700</bug_when>
    <thetext>Comment on attachment 171108
Patch

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

&gt; Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:742
&gt; +    Evas_GL_API *gl = evas_gl_api_get(evasGl());

* position i wrong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752848</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-27 15:50:22 -0700</bug_when>
    <thetext>Attachment 171108 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WebKit2/ChangeLog&apos;, u&apos;Source/WebKit...&quot; exit_code: 1
Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:742:  Declaration has space between type name and * in Evas_GL_API *gl  [whitespace/declaration] [3]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752865</commentid>
    <comment_count>6</comment_count>
      <attachid>171108</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-27 18:34:05 -0700</bug_when>
    <thetext>Comment on attachment 171108
Patch

Rejecting attachment 171108 from commit-queue.

Failed to run &quot;[&apos;/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;-...&quot; exit_code: 2

Last 500 characters of output:
uto-merging Source/WebKit2/ChangeLog
CONFLICT (content): Merge conflict in Source/WebKit2/ChangeLog
Failed to merge in the changes.
Patch failed at 0001 Fix AVFoundation build.

When you have resolved this problem run &quot;git rebase --continue&quot;.
If you would prefer to skip this patch, instead run &quot;git rebase --skip&quot;.
To restore the original branch and stop rebasing run &quot;git rebase --abort&quot;.

rebase refs/remotes/origin/master: command returned error: 1

Died at Tools/Scripts/update-webkit line 154.

Full output: http://queues.webkit.org/results/14615619</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752867</commentid>
    <comment_count>7</comment_count>
      <attachid>171108</attachid>
    <who name="Yael">yael</who>
    <bug_when>2012-10-27 18:39:41 -0700</bug_when>
    <thetext>Comment on attachment 171108
Patch

Looks like commit queue is sick. Let&apos;s try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752870</commentid>
    <comment_count>8</comment_count>
      <attachid>171113</attachid>
    <who name="Yael">yael</who>
    <bug_when>2012-10-27 19:07:49 -0700</bug_when>
    <thetext>Created attachment 171113
Patch for landing.

Fixed the style issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752938</commentid>
    <comment_count>9</comment_count>
      <attachid>171113</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-28 05:31:21 -0700</bug_when>
    <thetext>Comment on attachment 171113
Patch for landing.

Clearing flags on attachment: 171113

Committed r132751: &lt;http://trac.webkit.org/changeset/132751&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752939</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-28 05:31:26 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>171108</attachid>
            <date>2012-10-27 15:44:32 -0700</date>
            <delta_ts>2012-10-27 19:07:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>100573.patch</filename>
            <type>text/plain</type>
            <size>1509</size>
            <attacher name="Yael">yael</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDEzMjc0MCkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEyLTEwLTI3ICBZYWVsIEFo
YXJvbiAgPHlhZWwuYWhhcm9uQGludGVsLmNvbT4KKworICAgICAgICBbRUZMXVtXSzJdW0FDXSBW
aWV3cG9ydCBzaXplIGRvZXMgbm90IGNoYW5nZSB3aGVuIHRoZSB3aW5kb3cgc2l6ZSBjaGFuZ2Vz
CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMDA1NzMK
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBUaGUgdmll
d3BvcnQgc2l6ZSBpcyBzZXQgd2hlbiB3ZSBjcmVhdGUgdG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XJyZW50KG1fZXZhc0dsLCBtX2V2
YXNHbFN1cmZhY2UsIG1fZXZhc0dsQ29udGV4dCk7CisKKyAgICBFdmFzX0dMX0FQSSAqZ2wgPSBl
dmFzX2dsX2FwaV9nZXQoZXZhc0dsKCkpOworICAgIGdsLT5nbFZpZXdwb3J0KDAsIDAsIHZpZXdT
aXplLndpZHRoKCkgKyBzZC0+dmlldy54LCB2aWV3U2l6ZS5oZWlnaHQoKSArIHNkLT52aWV3Lnkp
OworCiAgICAgcmV0dXJuIHRydWU7CiB9CiAK
</data>
<flag name="review"
          id="184904"
          type_id="1"
          status="+"
          setter="kenneth"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>171113</attachid>
            <date>2012-10-27 19:07:49 -0700</date>
            <delta_ts>2012-10-28 05:31:21 -0700</delta_ts>
            <desc>Patch for landing.</desc>
            <filename>100573.patch</filename>
            <type>text/plain</type>
            <size>1521</size>
            <attacher name="Yael">yael</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL1VJUHJvY2Vzcy9BUEkvZWZsL0V3a1ZpZXdJbXBsLmNwcAo9
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViS2l0Mi9VSVByb2Nlc3MvQVBJL2VmbC9Fd2tWaWV3SW1w
bC5jcHAJKHJldmlzaW9uIDEzMjcyNCkKKysrIFNvdXJjZS9XZWJLaXQyL1VJUHJvY2Vzcy9BUEkv
ZWZsL0V3a1ZpZXdJbXBsLmNwcAkod29ya2luZyBjb3B5KQpAQCAtNzM3LDYgKzczNywxMSBAQAog
ICAgIGV2YXNfZ2xfbmF0aXZlX3N1cmZhY2VfZ2V0KG1fZXZhc0dsLCBtX2V2YXNHbFN1cmZhY2Us
ICZuYXRpdmVTdXJmYWNlKTsKICAgICBldmFzX29iamVjdF9pbWFnZV9uYXRp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