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: mbentrup

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    519

    It's not just deprecated,...

    It's not just deprecated, glGetString(GL_EXTENSIONS) is not available in core profiles, you have to use glGetStringi().
  2. Replies
    40
    Views
    4,833

    If Khronos defines a generic assembly language,...

    If Khronos defines a generic assembly language, should there also be a strict GLSL to assembly mapping in the spec, or should every vendor be able to adjust his GLSL to assembly compiler to produce...
  3. Replies
    40
    Views
    4,833

    So, suppose the generic shader optimizer finds an...

    So, suppose the generic shader optimizer finds an opportunity to eliminate a common subexpression by storing it in a temporary register for later use. How should it decide if the cost of the...
  4. Replies
    40
    Views
    4,833

    Doesn't Nvidia convert all GLSL to ARB assembly,...

    Doesn't Nvidia convert all GLSL to ARB assembly, i.e. vectorized code, anyway ?
  5. Replies
    17
    Views
    2,060

    For a vertex cache of size 2 or more there will...

    For a vertex cache of size 2 or more there will be only 4 invocations for indexed triangles either.

    The gain in index buffer size is only relevant if you actually build long strips, but in that...
  6. Replies
    40
    Views
    4,833

    IMHO optimizing the generic shader code (except...

    IMHO optimizing the generic shader code (except for size maybe) is a bad idea, because a GPU vendor will do a HW-specific optimization of the code anyway. If the generic optimizer decides to unroll a...
  7. No driver vendor has to support the compatibility...

    No driver vendor has to support the compatibility profile, it is optional. So blame the driver vendors that they don't want to drop the functions that you don't need.

    I think, if Khronos stopped...
  8. Replies
    8
    Views
    1,641

    If there is a 3 frame delay between command...

    If there is a 3 frame delay between command submission and execution, it makes sense that you get the delay twice, because when you submit the ReadBufferData command in frame 3, there are two more...
  9. Replies
    2
    Views
    771

    Generally you cannot request an OpenGL context of...

    Generally you cannot request an OpenGL context of a specific version. The GLW API, which is the link between OpenGL and the Windows system allows the application to specify an OpenGL version, but it...
  10. Replies
    5
    Views
    769

    If you have samples per Pixel, the OpenGL may...

    If you have <n> samples per Pixel, the OpenGL may run the fragment shader any number between 1 and <n> times per fragment. If the number of fragment shader invocations is less than the number of...
  11. Another issue may be that you have automatic...

    Another issue may be that you have automatic mipmap generation enabled, that would require decompress/downscale/recompress to next lower level steps for the compressed format, while uncompressed...
  12. Replies
    5
    Views
    1,248

    You should set stencil to 1 instead of increment...

    You should set stencil to 1 instead of increment in step 1.1.3, otherwise it would fail if the shape overlaps itself.
  13. Clipping a triangle by a sphere will not give you...

    Clipping a triangle by a sphere will not give you another triangle (or two) as clipping it with a plane does. You could instead use a fragment shader to discard all fragments outside the clipping...
  14. When you request version 3.0 you will get a...

    When you request version 3.0 you will get a compatibility context (well, technichally there are no profiles before version 3.2, but the contexts <= 3.1 behave exactly like compatibilty contexts),...
  15. The texture proxy will *not* tell you if there's...

    The texture proxy will *not* tell you if there's enough memory to allocate a texture of that size, it checks only that the driver is generally capable of working with a texture of the given size and...
  16. Replies
    5
    Views
    1,527

    The post-VS cache in modern GPUs is not a strict...

    The post-VS cache in modern GPUs is not a strict FIFO, because the vertices are processed in parallel. I think AMD GPUs process up to 64 vertices at the same time and NVidia 32. However, the FIFO...
  17. Look here:...

    Look here: http://www.opengl.org/sdk/docs/manglsl/xhtml/textureSize.xml
  18. This is addressed in issue #10 of...

    This is addressed in issue #10 of http://www.opengl.org/registry/specs/ARB/texture_view.txt. You have to be careful because a compressed texture and a matching integer texture will have different...
  19. Replies
    9
    Views
    3,516

    The difference is that you draw all the QUADS in...

    The difference is that you draw all the QUADS in one batch (one glBegin/glEnd pair), while the VBO version makes a draw call for every two triangles. Try to make one index buffer containing 20000...
  20. Replies
    2
    Views
    966

    The shader objects are needed only for linking...

    The shader objects are needed only for linking the program, you can delete them after you linked the program.
  21. Replies
    2
    Views
    1,931

    Unless you have a driver supporting...

    Unless you have a driver supporting GL_ARB_shader_stencil_export there's no easy way to do that. When I needed a certain pattern in the stencil buffer for stencil routing I ended up with an 8-pass...
  22. Replies
    22
    Views
    7,262

    The funny thing is that the GLX protocol for...

    The funny thing is that the GLX protocol for buffer objects is fully defined by the ARB, including the MapBuffer and MapBufferRange calls, in the respective ARB extension docs. What is missing are...
  23. This "polygon buffer" method works great when you...

    This "polygon buffer" method works great when you draw polygons sequentially, anything deserving the attribute "fast" on a GPU has to work parallelized.
  24. Replies
    22
    Views
    7,262

    Well, indirect GLX allows the sharing of buffer...

    Well, indirect GLX allows the sharing of buffer objects between different clients, so "the" client byte order may be ambigous. The way GLX handles this is that it doesn't allow the creation of any GL...
  25. Replies
    1
    Views
    1,118

    GL_LINEAR_MIPMAP_NEAREST is not a valid...

    GL_LINEAR_MIPMAP_NEAREST is not a valid magnification filter, it is only allowed for minification. You should use GL_LINEAR there.
Results 1 to 25 of 206
Page 1 of 9 1 2 3 4