<?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>98204</bug_id>
          
          <creation_ts>2012-10-02 15:00:02 -0700</creation_ts>
          <short_desc>Make sure WebGL is cleaning up shader source entries</short_desc>
          <delta_ts>2024-11-27 17:15:37 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=137689</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>heycam</cc>
    
    <cc>jonlee</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>733108</commentid>
    <comment_count>0</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-10-02 15:00:02 -0700</bug_when>
    <thetext>It&apos;s not clear to me that GraphicsContext3D is doing what it can to delete entries from its shader source map (and variable info map) after a shader and it&apos;s program are deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733110</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-10-02 15:00:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/12416650&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966524</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-10 12:53:42 -0800</bug_when>
    <thetext>When we call ::glDeleteShader, if the shader is still linked to a program it gets marked for deletion, not immediately destroyed.

Do we need to hold onto our shader source entries until the actual shader object is cleaned up by OpenGL?

There doesn&apos;t seem to be API to be notified when the deletion actually occurs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077956</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2024-11-27 17:15:37 -0800</bug_when>
    <thetext>GraphicsContext3D no longer exists.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>