DiscussionsIssue archiveOCCT:Visualization

Archived issue #0024838

Visualization, TKOpenGl - make general rendering path compatible with OpenGL 3.1+ core profiles

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

GLSL-based ray tracing functionality explicitly depends on OpenGL 3.1 functionality. However not all OpenGL implementations support compatibility profiles (for example - OpenGL on OS X), whilst general rendering path yet not core-profile compatible.

In addition, platform-dependent GL context creation routines (WGL/GLX/Cocoa) should be extended to request core profile.

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 3
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Feb 23 19:09:33 2015 +0300

    0025854: Visualization, TKOpenGl - add option to request Core profile 3.2+
    
    OpenGl_Caps::contextCompatible - new option to request compatibility/core OpenGL profile.
    OpenGl_Window - request core profile when requested.
    OpenGl_Context::CheckExtension() - retrieve extensions using glGetStringi().
    OpenGl_Context::init() - set backward-compatible functions to NULL within core profile:
    core11, core15, core20, core32back, core33back, core41back, core42back, core43back, core44back.
    OpenGl_Context::BindDefaultVao() - create default VAO.
    OpenGl_ShaderManager - create programs using GLSL version 150 when available.
    OpenGl_VertexBuffer, OpenGl_ShaderProgram, OpenGl_ShaderObject - use
    functions set from core profile instead of compatibility.
    
    TKOpenGl - escape deprecated functionality with runtime checks.
    
    Command vcaps - add option -compatibleProfile to request core/compatibility profile.
02Commenter 3
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Feb 24 10:32:05 2015 +0300

    fix compilation errors on OS X

03Commenter 3
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Feb 24 11:39:37 2015 +0300

    NIS_View - detect Core profile

04Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]
05Author
Please close as no more relevant.

Related records