<?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>89761</bug_id>
          
          <creation_ts>2012-06-22 08:48:27 -0700</creation_ts>
          <short_desc>[Chromium/Skia] Increase the GrContext texture cache count cap to 2K</short_desc>
          <delta_ts>2012-06-22 11:32:53 -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>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brian Salomon">bsalomon</reporter>
          <assigned_to name="Brian Salomon">bsalomon</assigned_to>
          <cc>bsalomon</cc>
    
    <cc>senorblanco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>655480</commentid>
    <comment_count>0</comment_count>
    <who name="Brian Salomon">bsalomon</who>
    <bug_when>2012-06-22 08:48:27 -0700</bug_when>
    <thetext>Increase the GrContext texture cache count cap to 2K</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655483</commentid>
    <comment_count>1</comment_count>
      <attachid>149035</attachid>
    <who name="Brian Salomon">bsalomon</who>
    <bug_when>2012-06-22 08:52:12 -0700</bug_when>
    <thetext>Created attachment 149035
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655484</commentid>
    <comment_count>2</comment_count>
    <who name="Brian Salomon">bsalomon</who>
    <bug_when>2012-06-22 08:56:07 -0700</bug_when>
    <thetext>I had removed the count cap from Skia but it proved to be problematic. Randomly changing gradients produce many tiny textures. Managing lots of textures causes perf problems on some drivers. We have plans to change how gradient color tables work (http://code.google.com/p/skia/issues/detail?id=670) but if tons of small textures is a problem then it probably makes sense to keep the cap anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655555</commentid>
    <comment_count>3</comment_count>
      <attachid>149035</attachid>
    <who name="Stephen White">senorblanco</who>
    <bug_when>2012-06-22 10:25:25 -0700</bug_when>
    <thetext>Comment on attachment 149035
Patch

OK.  r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655588</commentid>
    <comment_count>4</comment_count>
    <who name="Brian Salomon">bsalomon</who>
    <bug_when>2012-06-22 10:50:49 -0700</bug_when>
    <thetext>Oops.. I forgot to set c? after uploading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655651</commentid>
    <comment_count>5</comment_count>
      <attachid>149035</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-22 11:32:22 -0700</bug_when>
    <thetext>Comment on attachment 149035
Patch

Clearing flags on attachment: 149035

Committed r121044: &lt;http://trac.webkit.org/changeset/121044&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655654</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-22 11:32:53 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>149035</attachid>
            <date>2012-06-22 08:52:12 -0700</date>
            <delta_ts>2012-06-22 11:32:21 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-89761-20120622115212.patch</filename>
            <type>text/plain</type>
            <size>1423</size>
            <attacher name="Brian Salomon">bsalomon</attacher>
            
              <data encoding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09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL2Nocm9taXVtL3N1cHBv
cnQvR3JhcGhpY3NDb250ZXh0M0RQcml2YXRlLmNwcAkocmV2aXNpb24gMTIxMDI2KQorKysgU291
cmNlL1dlYkNvcmUvcGxhdGZvcm0vY2hyb21pdW0vc3VwcG9ydC9HcmFwaGljc0NvbnRleHQzRFBy
aXZhdGUuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC00NCw3ICs0NCw3IEBACiBuYW1lc3BhY2Ugewog
CiAvLyBUaGUgbGltaXQgb2YgdGhlIG51bWJlciBvZiB0ZXh0dXJlcyB3ZSBob2xkIGluIHRoZSBH
ckNvbnRleHQncyBiaXRtYXAtPnRleHR1cmUgY2FjaGUuCi1jb25zdCBpbnQgbWF4R2FuZXNoVGV4
dHVyZUNhY2hlQ291bnQgPSA1MTI7Citjb25zdCBpbnQgbWF4R2FuZXNoVGV4dHVyZUNhY2hlQ291
bnQgPSAyMDQ4OwogLy8gVGhlIGxpbWl0IG9mIHRoZSBieXRlcyBhbGxvY2F0ZWQgdG93YXJkIHRl
eHR1cmVzIGluIHRoZSBHckNvbnRleHQncyBiaXRtYXAtPnRleHR1cmUgY2FjaGUuCiBjb25zdCBz
aXplX3QgbWF4R2FuZXNoVGV4dHVyZUNhY2hlQnl0ZXMgPSA5NiAqIDEwMjQgKiAxMDI0OwogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>