diff options
author | Sven Gothel <[email protected]> | 2011-04-22 06:03:44 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 06:03:44 +0200 |
commit | bf8a54b502f0fcd930e12a8bbda65f9538e8a2f7 (patch) | |
tree | 88ebdb21601f576674ca69fee8aaf5e6847b5fd7 /make | |
parent | d72745fa32a86a3820e5220643a01153e3f21fe7 (diff) |
GLArrayData API and impl. changes
+++
Remove GL parameter for
- createFixed(..)
- createGLSL(..)
validation at client/server array data happens at 1st enableBuffer() call,
no current context or profile required at creation time.
Added ShaderState for createGLSL(..) clarifying dependency to the ShaderState,
passing it down to the GLSLArrayHandler, which also removes the TLS GLContext.getCurrent() call.
+++
Partially reverted ab48dac3f4419ceac51fdf059f310f0f0499c4d7 factory methods:
removed added vboTarget parameter, since all createFixed and createGLSL are GL_ARRAY_BUFFER (VBO).
Adding createData(..) factory method in GLArrayDataServer allowing diff vbo targets,
ie GL_ELEMENT_ARRAY_BUFFER .. or none.
Diffstat (limited to 'make')
0 files changed, 0 insertions, 0 deletions