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

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    211

    links for this...

    links for this
  2. There is no GL API to query the target of an FBO...

    There is no GL API to query the target of an FBO attachment, so you'll have to play a guessing game (perturbing the error state) between GetFramebufferAttachmentParameter and GetTexLevelParameter.
    ...
  3. Replies
    10
    Views
    626

    If you ask for three samples, it might be created...

    If you ask for three samples, it might be created with four.
  4. File a bug (http://bugreporter.apple.com) with...

    File a bug with clear steps to reproduce the problem (i.e. a copy of your application.)
    Apple can symbolicate the com.apple.GeForceGLDriver backtrace and see exactly what's happening.
  5. See previous posts...

    See previous posts about setting up Apple's OpenGL Profiler. Use the "break on VAO error" checkbox to detect if your draw calls read outside the bound buffers.

    (You can also do this introspection...
  6. In other words, you are querying the...

    In other words, you are querying the fixed-function enable state on unit 8, which is beyond GL_MAX_TEXTURE_UNITS. That should error.

    Read Nvidia's FAQ summarizing which limits apply to which...
  7. glGenVertexArrays (core profile, 2008) is not the...

    glGenVertexArrays (core profile, 2008) is not the same function as glGenVertexArraysAPPLE (legacy profile, 2002).

    If you call any function unsupported for the profile, you'll get INVALID_OPERATION.
  8. Also, it doesn't really matter what format you...

    Also, it doesn't really matter what format you used for TexSubImage. The internalformat set by TexImage (or TexStorage) is what dictates the alpha channel.

    For example, if you TexImage RGBA8,...
  9. Replies
    9
    Views
    2,331

    Try linking OpenGL: LIBNAME=-lSDL2 -lGLEW...

    Try linking OpenGL:

    LIBNAME=-lSDL2 -lGLEW -framework OpenGL
  10. Replies
    5
    Views
    1,990

    s/thousands/millions...

    s/thousands/millions/
  11. Replies
    9
    Views
    2,331

    AGL is fat: $ file...

    AGL is fat:

    $ file /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    /System/Library/Frameworks/AGL.framework/Versions/A/AGL: Mach-O universal binary with 2 architectures...
  12. Replies
    9
    Views
    2,331

    OSX uses fat binaries...

    OSX uses fat binaries. All of the GL-related libraries shipped with the system are fat.


    Try the "file" command on each of the libs you are linking. Fix your build for whichever one isn't...
  13. The only way you will get this error is with a...

    The only way you will get this error is with a legacy 2.1 context. When the error occurs, verify glGetString(GL_VERSION). Also check CGLGetCurrentContext(); contexts are set per-thread, perhaps you...
  14. Learn about profiles...

    Learn about profiles. See also platform documentation about profiles.
    TLDR: On OSX, GL3.2 and later contexts are always core and forward-compatible; all deprecated features are removed.

    If you...
  15. Yes. You could query GL_SHADING_LANGUAGE_VERSION...

    Yes. You could query GL_SHADING_LANGUAGE_VERSION or the shader log to figure this out.
  16. Replies
    5
    Views
    892

    Look at Microsoft's pretty pictures...

    Look at Microsoft's pretty pictures to understand the mipmap layout differences.

    Look at Nvidia's sample code to understand the applications.
  17. Replies
    8
    Views
    794

    Vertex Attribute Stride...

    Vertex Attribute Stride
  18. Except for subroutine uniforms, which are reset...

    Except for subroutine uniforms, which are reset every time.
  19. Replies
    35
    Views
    2,704

    It was introduced in EXT_gpu_shader4...

    It was introduced in EXT_gpu_shader4, way back in 2006.
  20. Yes, this is the simplicity of SBS; the TV takes...

    Yes, this is the simplicity of SBS; the TV takes care of stretching the left & right halves of the display and all the synchronization with 3D glasses.

    Half-resolution also partially offsets the...
  21. A very simple alternative is to set your 3DTV to...

    A very simple alternative is to set your 3DTV to SBS mode. Create a normal double-buffered window, and render your scene twice with appropriate projection/viewport/scissor. Pros: no special...
  22. That's what beta testers and assert builds are...

    That's what beta testers and assert builds are for. After you've resolved all failures, turn off validate/geterror/etc in your release builds.
  23. See the...

    See the previous threads.

    Highlighting the important part of the documentation:


    So: if your validation is part of your shader loading, consider re-factoring it into a wrapper around your draw...
  24. So, you are arguing that API should not change...

    So, you are arguing that API should not change after the initial publication.
    Khronos disagrees, and changed several prototypes in 2012 (see appendix L of the GL4.2 spec.)

    Since they don't...
  25. So, the man page...

    So, the man page derived from the GL3.3 specification matches the old GL3.3 headers. And the man page derived from the GL4.5 specification matches the GL4.5 headers. What is the bug?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4