
598 VII Software Design
respectively, on the current ARRAY BUFFER and ELEMENT ARRAY BUFFER bind-
ing. In a similar way, the bindTexture() function operates in the currently active
texture unit; an overridden version of it is exposed by the extension, allowing the
programmer to directly specify the target texture unit.
Before committing ourselves to the discussed implementation, we have also tried
a different strategy: binding the object involved in the DSA call, executing the edit
function, and recording in a fix table that the user-bound object must be restored.
All native functions that rely on current binding have been hijacked to execute the
neede ...