Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 7 of 10 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 92

Thread: Official feedback on OpenGL 4.1 thread

  1. #61
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Posts
    151

    Re: Official feedback on OpenGL 4.0 thread

    Pointer _definitions_ in a header file...?

  2. #62
    Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    466

    Re: Official feedback on OpenGL 4.0 thread

    Quote Originally Posted by Chris Lux
    Quote Originally Posted by Chris Lux
    You could check for the GL_ARB_debug_output extension. On a non-WGL_CONTEXT_DEBUG_BIT_ARB context this extension is/should be not supported.
    I am sorry, but i have to ask again: What about the headers?

    -chris
    I updated glew from the svn, put the ARB_cl_event extension on the black list and then ran the build script which fetches the extension.txt files and builds everything. I had to massage glew.h for the debug output callback typedef, but that was trivial. I could provide the generated files, if required.

  3. #63
    Member Regular Contributor
    Join Date
    Nov 2003
    Location
    Germany
    Posts
    289

    Re: Official feedback on OpenGL 4.0 thread

    Thanks for the function pointer definitions.

    I am not using GLEW or some other extension library anymore. I maintain a simple core-only lib for my projects, but parsing the spec files is still to much here .

  4. #64
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,793

    direct_state_access_memory?

    I was updating my spec files for 4.1, and figuring out which extensions were core extensions and which weren't. Then, I ran into, well, this in the vertex_attrib_64bit spec:

    Code :
    void VertexArrayVertexAttribLOffsetEXT(uint vaobj, uint buffer,
                                           uint index, int size,
                                           enum type, sizei stride,
                                           intptr offset);
     
    (note:  VertexArrayVertexAttribLOffsetEXT is provided only if
    EXT_direct_state_access_memory is supported.)


    What is EXT_direct_state_access_memory?

  5. #65
    Super Moderator Frequent Contributor Groovounet's Avatar
    Join Date
    Jul 2004
    Posts
    936

    Re: direct_state_access_memory?

    I guess a subset of EXT_direct_state_access for buffer and texture DSA?

  6. #66
    Junior Member Regular Contributor
    Join Date
    Aug 2006
    Posts
    206

    Re: direct_state_access_memory?

    Quote Originally Posted by Alfonse Reinheart
    I was updating my spec files for 4.1, and figuring out which extensions were core extensions and which weren't. Then, I ran into, well, this in the vertex_attrib_64bit spec:

    Code :
    void VertexArrayVertexAttribLOffsetEXT(uint vaobj, uint buffer,
                                           uint index, int size,
                                           enum type, sizei stride,
                                           intptr offset);
     
    (note:  VertexArrayVertexAttribLOffsetEXT is provided only if
    EXT_direct_state_access_memory is supported.)
    What is EXT_direct_state_access_memory?
    What's even more interesting is the wording in the NV_vertex_attrib_integer_64bit extension:

    Code :
    void VertexAttribLFormatNV(uint index, int size, enum type, sizei stride);
     
    (note:  VertexAttribLFormatNV is provided only if
    NV_vertex_buffer_unified_memory is supported.)
    Which seems to imply that EXT_direct_state_access_memory is an analogue to NVIDIA's bindless extensions, although, I have to say there's something not quite right with that function if that is the case (why would you want a vaobj and buffer passed in?).

    Regards
    elFarto

  7. #67
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,793

    Re: direct_state_access_memory?

    Which seems to imply that EXT_direct_state_access_memory is an analogue to NVIDIA's bindless extensions.
    I thought that at first too. But if that were true, VertexArrayVertexAttribLOffsetEXT is not the right definition for it. It takes both a buffer object (by name, not by 64-bit pointer) and an offset, which VertexAttribLFormatNV (and the other FormatNV calls) do not. Indeed, not taking these parameters is half the point of bindless. This function is not structured like bindless calls are; it's a pure analog to DSA's VertexArrayVertexAttribOffsetEXT.

  8. #68
    Super Moderator Frequent Contributor Groovounet's Avatar
    Join Date
    Jul 2004
    Posts
    936

    Re: direct_state_access_memory?

    This function just look like the other DSA functions for VAOs.

  9. #69
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Cambridge, England
    Posts
    270

    Re: direct_state_access_memory?

    Just came back from holiday and found out about ARB_get_program_binary. After asking for it for a long time this has made my month. THANKYOU!!!!!!!!!!

  10. #70
    Intern Newbie
    Join Date
    Aug 2010
    Posts
    43

    Re: direct_state_access_memory?

    The spec reads beautifully as an introductory text to the API for programming. However, it's pretty cryptic abruptly when it gets to 'projection'/transformation/viewports/"cameras". It could use an introductory paragraph or page about the way OpenGL sees things in that regard. I know it doesn't HAVE to, but it'd be nice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •