Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: hlewin

Search: Search took 0.00 seconds.

  1. Right and wrong. If looking at a learning courve...

    Right and wrong. If looking at a learning courve there is
    1. Windowing-Frameworks like glut
    2. Happy to being able creating a context by oneself
    3. Full Performance as Goal

    Number 1 could be...
  2. That is really a good point I didn't think about,...

    That is really a good point I didn't think about, although I can remember having read the assurance of indices being checked etc. in the days I first started messing with OpenGL which was around...
  3. ARB_robustness seems to do a whole lot more than...

    ARB_robustness seems to do a whole lot more than simply enable bounds-checking on array-calls, but besides that, yes. The defaults should imho be settings that make Debugging as easy as possible....
  4. Thats a good thing. @thokra: You don't...

    Thats a good thing.

    @thokra: You don't understand the principle argument. If I do NOT know what arb_robustness is chances are quite a degree higher that out-of-range accesses will happen to me....
  5. I mean the General case. Something like ...

    I mean the General case. Something like


    BindBuffer...
    BufferData...
    VertexAttribPointer...
    ArrayElement(1000000000)

    should return with an error instead of Rendering crap. Notice the...
  6. I guess you got me wrong there. When calling...

    I guess you got me wrong there. When calling VertexAttribPointer there is no upper bound given in that API-call - if it refers to a buffer then a upper bound is implied by the buffer-size and the...
  7. Right. And that bound is (at least to some...

    Right. And that bound is (at least to some extend) given if the data resides in a BufferObject. But this makes things just a little better 'cause the the upper part of the buffer may still not be...
  8. It's true that those can be fed with wrong data...

    It's true that those can be fed with wrong data and cause crashes too but with those arrays the errors are much harder to find. I can remember spending some time Debugging old code that made massive...
  9. One big problem with client-side arrays in their...

    One big problem with client-side arrays in their current form is that their overall-size is unknown to the GL-implementation. One can easily cause access-violations using them, or - even worse - just...
Results 1 to 9 of 9