- 19 Aug, 2011 2 commits
-
-
Andreas Neu authored
-State::enableFrameBuffer() -> State::bindFrameBuffer() -Added State::useViewport() -Added Viewport::use() -Added VertexBuffer::enable() VertexBuffer::disable() -Modified VertexBuffer::render to be inline and just call enable() draw() disable()
-
Andreas Neu authored
Validation methods have been added VertexBuffer::validate() and FrameBuffer::validate(). These are called by State::validate()
-
- 18 Aug, 2011 2 commits
-
-
Andreas Neu authored
so that the overhead is taken out of the State::render() method. Furthermore State::update now builds an attribute list ordered by the array-buffer-id in order to avoid multiple bind calls of the same array buffer.
-
Andreas Neu authored
Added the class State to the framework in order to manage combinations of VertexBuffer, FrameBuffer and ShaderProgram. The class automatically creates a mapping between the attributes of vertexbuffers and shaders. Furthermore a mapping between FragDatas of shaders and rendertargets of framebuffers are created.
-
- 12 Aug, 2011 1 commit
-
-
Lars Krecklau authored
Removed static contexts from the opengl object. In future, this has to be handled by our opengl wrapper, which will hold a copy of the gl state on cpu side. Made all opengl contexts not copyable. Created a macro for the shared typedefs which directly creates a const version of the pointer. Started to change some opengl object functions to be non-const although they might not change any class members, because the function still might change something on gpu side. Therfore, returning the context of any opengl object is also non-const now! Changed the renderbuffer constructor to just create the context and moved the rest to its corresponding controller. Removed own type enums in opengl objects => ONLY use the orginial GLenums here!
-
- 10 Aug, 2011 3 commits
-
-
Robert Menzel authored
-
Robert Menzel authored
-
Robert Menzel authored
-
- 05 Aug, 2011 1 commit
-
-
Robert Menzel authored
* Added additional OpenGL error checks * OpenGL error checks are better usable with namespaces * Removed checks for OpenGL objects == 0 which would get ignored by OpenGL anyway and are rare * Added comments * improved OpenGL ES compatibility
-
- 04 Aug, 2011 1 commit
-
-
Robert Menzel authored
-
- 27 Jul, 2011 1 commit
-
-
Robert Menzel authored
-