<?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>115846</bug_id>
          
          <creation_ts>2013-05-08 20:57:00 -0700</creation_ts>
          <short_desc>Checking if frame is complete and access duration doesn&apos;t need a decode</short_desc>
          <delta_ts>2013-10-30 09:16:52 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>116041</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>benjamin</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>mjs</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>886586</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-05-08 20:57:00 -0700</bug_when>
    <thetext>https://chromium.googlesource.com/chromium/blink/+/899a7a4375e3d124a3e740aa368ef733f3ebfa3e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>886587</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-05-08 20:57:21 -0700</bug_when>
    <thetext>Consider merging the above change.

hecking if frame is complete and access duration doesn&apos;t need a decode

The goal of this change is to minimize image decoding on the main thread.

This change is to avoid image decoding for these two operations:
1. frameIsCompleteAtIndex
2. frameDurationAtIndex
These two operations are moved to ImageDecoder interface and are now const
to prevent future regression.

We are now able to check if a frame is complete by parsing the entire GIF file
without decoding. This also provides information like frame duration such that
controller the animation doesn&apos;t require any decoding.

This change is critical to moving animated image decoding off the main thread.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>944926</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-10-30 09:16:52 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 116041 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>