Closed
Bug 707033
Opened 13 years ago
Closed 13 years ago
Kill the hashtables of WebGLUniformLocation's held by WebGLProgram's
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
Attachments
(1 file, 1 obsolete file)
9.19 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
Currently, WebGLProgram holds a hashtable of refptrs to all WebGLUniformLocation's created from it.
It's used for one thing: to ensure that multiple getUniformLocation() calls on same uniform return the same WebGLUniformLocation object.
However, in a discussion on the public_webgl mailing list this week, we agreed that this was not mandated by the spec and that on the contrary, to ensure consistent behavior across browsers, we're going to require that NOT to happen. So this becomes a conformance issue.
Removing this hashtable also simplifies code and ownership patterns.
Attachment #578440 -
Flags: review?(jgilbert)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #578465 -
Flags: review?(jgilbert)
Assignee | ||
Updated•13 years ago
|
Attachment #578440 -
Attachment is obsolete: true
Attachment #578440 -
Flags: review?(jgilbert)
Updated•13 years ago
|
Attachment #578465 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Comment 4•13 years ago
|
||
Assignee: nobody → bjacob
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in
before you can comment on or make changes to this bug.
Description
•