1. 18 Aug, 2011 1 commit
    • Andreas Neu's avatar
      Added the class State to the framework in order to manage combinations of... · 269a6c27
      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.
      269a6c27
  2. 11 Aug, 2011 1 commit
    • Andreas Neu's avatar
      Usage of static GL Contexts in basic OpenGL Objects incorporated. · 1bc851f7
      Andreas Neu authored
      Until now only the class Texture used it. Now it has been added to ElementArrayBuffer, ArrayBuffer, FrameBuffer and ShaderProgram.
      Static class members have to be initialized outside the header, so the file ElementArrayBuffer.cc had to be added.
      Unbind calls e.g. glBindBuffer(GL_ARRAY_BUFFER, 0) outside of the specific class are not useful anymore, because it
      would not reset the static context variable and thus lead to bugs/crashes.
      1bc851f7
  3. 10 Aug, 2011 1 commit
  4. 05 Aug, 2011 1 commit
    • Robert Menzel's avatar
      Added more error checks, comments, minor bugfixes · 3541659a
      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
      3541659a
  5. 04 Aug, 2011 1 commit
  6. 27 Jul, 2011 1 commit