WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 98204
Make sure WebGL is cleaning up shader source entries
https://bugs.webkit.org/show_bug.cgi?id=98204
Summary
Make sure WebGL is cleaning up shader source entries
Dean Jackson
Reported
2012-10-02 15:00:02 PDT
It'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's program are deleted.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-10-02 15:00:50 PDT
<
rdar://problem/12416650
>
Brent Fulgham
Comment 2
2014-01-10 12:53:42 PST
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't seem to be API to be notified when the deletion actually occurs.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug