<?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>40910</bug_id>
          
          <creation_ts>2010-06-21 05:14:46 -0700</creation_ts>
          <short_desc>[Qt] Avoid unnecessary image conversion in RGBA32Buffer::zeroFill()</short_desc>
          <delta_ts>2011-04-19 05:15:29 -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>Images</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Performance, Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Balazs Kelemen">kbalazs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>240655</commentid>
    <comment_count>0</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2010-06-21 05:14:46 -0700</bug_when>
    <thetext>It is totally useless to converting the QImage for the QPixmap and then fill the pixmap with zero. Instead of this we can create an empty pixmap with the appropriate dimensions and fill that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240657</commentid>
    <comment_count>1</comment_count>
      <attachid>59242</attachid>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2010-06-21 05:18:49 -0700</bug_when>
    <thetext>Created attachment 59242
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240663</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-06-21 05:49:54 -0700</bug_when>
    <thetext>You are right, I did an unfortunate copy-paste there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240687</commentid>
    <comment_count>3</comment_count>
      <attachid>59242</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-21 07:08:48 -0700</bug_when>
    <thetext>Comment on attachment 59242
proposed patch

Clearing flags on attachment: 59242

Committed r61540: &lt;http://trac.webkit.org/changeset/61540&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240688</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-21 07:08:53 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240691</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-06-21 07:21:51 -0700</bug_when>
    <thetext>Revision r61540 cherry-picked into qtwebkit-2.0 with commit 45d1c9149ef8940081fa8dd35854d2b95ebaf3cd</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59242</attachid>
            <date>2010-06-21 05:18:49 -0700</date>
            <delta_ts>2010-06-21 07:08:48 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>noconv.diff</filename>
            <type>text/plain</type>
            <size>1178</size>
            <attacher name="Balazs Kelemen">kbalazs</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
YzMzNzRlYS4uZmU0NzBmMyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGI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