Closed Bug 744382 Opened 12 years ago Closed 5 years ago

Improve ANGLE long identifier mapping: map plain tokens instead of complete uniform/attrib identifiers

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bjacob, Unassigned)

Details

(Whiteboard: webgl-next)

See:

 http://code.google.com/p/angleproject/issues/detail?id=315#c2

The idea is to redo the long identifier mapping to map plain tokens in the ANGLE parser, instead of mapping complete identifiers. That is, instead of mapping "foo[n].bar[k]" we would map just "foo" and "bar" and let getUniformLocation do the parsing of the string "foo[n].bar[k]" into tokens and map the individual tokens. That would make the long identifier mapping complete (currently it doesn't handle certain corner cases like the above ANGLE bug 315 discusses) and simpler, and use far less memory for large uniform arrays.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.