<?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>21733</bug_id>
          
          <creation_ts>2008-10-18 11:56:22 -0700</creation_ts>
          <short_desc>[CAIRO] Image cleared too early</short_desc>
          <delta_ts>2008-10-20 11:45:43 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Cairo</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">krit</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95876</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2008-10-18 11:56:22 -0700</bug_when>
    <thetext>If I draw the same image several times on a context via drawImage(image, ...), only the first image is drawn to the context. The others are transparent or not available, don&apos;t know.

It seems that the image is cleared after the first draw operation.

This bug appears with this patch http://trac.webkit.org/changeset/37612.
Only cairo seems to be affected. Qt has no problems with it. Could not test Cg yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96026</commentid>
    <comment_count>1</comment_count>
      <attachid>24527</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-10-20 11:39:28 -0700</bug_when>
    <thetext>Created attachment 24527
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96027</commentid>
    <comment_count>2</comment_count>
      <attachid>24527</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2008-10-20 11:44:29 -0700</bug_when>
    <thetext>Comment on attachment 24527
Patch

Needs a changelog.  r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96028</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-10-20 11:45:43 -0700</bug_when>
    <thetext>Fixed in r37740.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24527</attachid>
            <date>2008-10-20 11:39:28 -0700</date>
            <delta_ts>2008-10-20 11:44:29 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>951</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IHBsYXRmb3JtL2dyYXBoaWNzL2NhaXJvL0ltYWdlQ2Fpcm8uY3BwCj09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
LS0tIHBsYXRmb3JtL2dyYXBoaWNzL2NhaXJvL0ltYWdlQ2Fpcm8uY3BwCShyZXZpc2lvbiAzNzcy
NikKKysrIHBsYXRmb3JtL2dyYXBoaWNzL2NhaXJvL0ltYWdlQ2Fpcm8uY3BwCSh3b3JraW5nIGNv
cHkpCkBAIC03OCw2ICs3OCw3IEBAIEJpdG1hcEltYWdlOjpCaXRtYXBJbWFnZShjYWlyb19zdXJm
YWNlX3QKICAgICBtX2ZyYW1lcy5ncm93KDEpOwogICAgIG1fZnJhbWVzWzBdLm1fZnJhbWUgPSBz
dXJmYWNlOwogICAgIG1fZnJhbWVzWzBdLm1faGFzQWxwaGEgPSBjYWlyb19zdXJmYWNlX2dldF9j
b250ZW50KHN1cmZhY2UpICE9IENBSVJPX0NPTlRFTlRfQ09MT1I7CisgICAgbV9mcmFtZXNbMF0u
bV9oYXZlTWV0YWRhdGEgPSB0cnVlOwogICAgIGNoZWNrRm9yU29saWRDb2xvcigpOwogfQogCklu
ZGV4OiBwbGF0Zm9ybS9ncmFwaGljcy9jZy9JbWFnZUNHLmNwcAo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBwbGF0
Zm9ybS9ncmFwaGljcy9jZy9JbWFnZUNHLmNwcAkocmV2aXNpb24gMzc3MjYpCisrKyBwbGF0Zm9y
bS9ncmFwaGljcy9jZy9JbWFnZUNHLmNwcAkod29ya2luZyBjb3B5KQpAQCAtODksNiArODksNyBA
QCBCaXRtYXBJbWFnZTo6Qml0bWFwSW1hZ2UoQ0dJbWFnZVJlZiBjZ0ltCiAgICAgbV9mcmFtZXMu
Z3JvdygxKTsKICAgICBtX2ZyYW1lc1swXS5tX2ZyYW1lID0gY2dJbWFnZTsKICAgICBtX2ZyYW1l
c1swXS5tX2hhc0FscGhhID0gdHJ1ZTsKKyAgICBtX2ZyYW1lc1swXS5tX2hhdmVNZXRhZGF0YSA9
IHRydWU7CiAgICAgY2hlY2tGb3JTb2xpZENvbG9yKCk7CiB9CiAK
</data>
<flag name="review"
          id="11172"
          type_id="1"
          status="+"
          setter="sam"
    />
          </attachment>
      

    </bug>

</bugzilla>