<?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>190546</bug_id>
          
          <creation_ts>2018-10-12 15:57:10 -0700</creation_ts>
          <short_desc>Web inspector should show memory use data for canvas and WebGL</short_desc>
          <delta_ts>2026-08-10 11:11:12 -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>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>175485</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Devin Rousso">hi</assigned_to>
          <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1468660</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2018-10-12 15:57:10 -0700</bug_when>
    <thetext>It would be great if the canvas debugging stuff showed how much memory was being used by WebGL (e.g. listing resources like textures and their sizes).

This would be good to debug things like bug 190518.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468668</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2018-10-12 16:03:10 -0700</bug_when>
    <thetext>For 2D it shows the memory use in the Canvas Detail Sidebar. So we have the concept of memory use. We may just need to provide good values for 3D contexts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468676</commentid>
    <comment_count>2</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2018-10-12 16:06:55 -0700</bug_when>
    <thetext>(In reply to Joseph Pecoraro from comment #1)
&gt; For 2D it shows the memory use in the Canvas Detail Sidebar. So we have the
&gt; concept of memory use. We may just need to provide good values for 3D
&gt; contexts.
Both 2D and 3D contexts show the memory usage of the _context_, but not any associated objects (e.g. textures, buffers, etc).  2D doesn&apos;t really have a concept of an &quot;associated object&quot;, so there was nothing to show.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238763</commentid>
    <comment_count>3</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2026-08-09 15:51:41 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/71261</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238964</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-08-10 11:10:33 -0700</bug_when>
    <thetext>Committed 318915@main (de82d6282625): &lt;https://commits.webkit.org/318915@main&gt;

Reviewed commits have been landed. Closing PR #71261 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238965</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-08-10 11:11:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/184535731&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>