<?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>129090</bug_id>
          
          <creation_ts>2014-02-20 01:58:30 -0800</creation_ts>
          <short_desc>WebGL EXT_disjoint_timer_query may now be implemented</short_desc>
          <delta_ts>2023-02-16 08:25:11 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</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>http://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>252388</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Florian Bösch">pyalot</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bugmail</cc>
    
    <cc>dino</cc>
    
    <cc>jonlee</cc>
    
    <cc>kdmitrenko</cc>
    
    <cc>marcin.ignac</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>pyalot</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>982746</commentid>
    <comment_count>0</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-02-20 01:58:30 -0800</bug_when>
    <thetext>The WebGL extension EXT_disjoint_timer_query was moved to draft: http://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/

Vendors are encouraged to consider implementation of this extension.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>982747</commentid>
    <comment_count>1</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-02-20 02:00:31 -0800</bug_when>
    <thetext>Chrome ticket: https://code.google.com/p/chromium/issues/detail?id=345227
Firefox ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=974832</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985519</commentid>
    <comment_count>2</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-02-28 02:38:10 -0800</bug_when>
    <thetext>This extension can be implemented by a UA if either any one of these conditions is met:

- The OpenGL 3.3 core profile is supported: https://www.opengl.org/registry/doc/glspec33.core.20100311.pdf
- ARB_timer_query is supported: https://www.opengl.org/registry/specs/ARB/timer_query.txt
- Direct3D 9 is supported: http://msdn.microsoft.com/en-us/library/windows/desktop/bb147308(v=vs.85).aspx
- The OpenGL ES EXT_disjoint_timer_query is supported: http://www.khronos.org/registry/gles/extensions/EXT/EXT_disjoint_timer_query.txt

The disjoint behavior lacking from ARB_timer_query and OpenGL 3.3 core can be emulated by the UA.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985522</commentid>
    <comment_count>3</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-02-28 02:45:49 -0800</bug_when>
    <thetext>The ANGLE project ticket possible used for tracking this feature: https://code.google.com/p/angleproject/issues/detail?id=142</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014087</commentid>
    <comment_count>4</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-06-09 03:11:58 -0700</bug_when>
    <thetext>Any possibility that the iOS8 driver could be updated to include a way to support timer queries?

ES 3.0 doesn&apos;t contain timer queries, and the EXT_disjoint_timer_query extension is not listed for the iPad mini retina (PowerVR SGX543MP2) or iPod touch 5th gen (PowerVR SGX543MP2).

EXT_disjoint_timer_query is listed natively for the Nexus 4/Nexus 7/Asus PadFone X (Qualcomm Adreno 320), Nexus 5/Samsung SM-G870 (Qualcomm Adreno 330). The Xiamoi Minipad (NVIDIA Tegra) supports ES 3.1 which has timer queries.

Since the SGX543MP2 is a pretty powerful chip, it seems plausible to me the capability could be there in hardware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023269</commentid>
    <comment_count>5</comment_count>
    <who name="Florian Bösch">pyalot</who>
    <bug_when>2014-07-18 09:07:04 -0700</bug_when>
    <thetext>EXT_disjoint_timer query is desperately needed. Measuring performance by way of FPS is completely unusable, as it mostly just boils down to 3 answers, 15fps, 30fps or 60fps. Programmers can&apos;t measure their WebGL programs, and hence they cannot optimize them. This is extremely bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1267134</commentid>
    <comment_count>6</comment_count>
    <who name="Marcin Ignac">marcin.ignac</who>
    <bug_when>2017-01-16 06:10:32 -0800</bug_when>
    <thetext>Is there any chance of this being implemented? It has been shipped in Chrome and FF long time ago..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1267386</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-01-17 10:13:57 -0800</bug_when>
    <thetext>&lt;rdar://problem/30054979&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934186</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-16 08:25:08 -0800</bug_when>
    <thetext>Committed 260367@main (dad993a38b59): &lt;https://commits.webkit.org/260367@main&gt;

Reviewed commits have been landed. Closing PR #10140 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>