DiscussionsIssue archiveOCCT:Visualization

Archived issue #0029286

Visualization, TKOpenGl - do not update FFP state when OpenGl_Caps::ffpEnable is disabled

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

OpenGl_View::render() synchronizes FFP state within each redraw even with OpenGl_Caps::ffpEnable disabled.
This produces extra warnings from debug OpenGL context about usage of deprecated functionality within Compatible Profile:
vglinfo
OpenGL info:
  GLvendor: Intel
  GLdevice: Intel(R) HD Graphics 530
  GLversion: 4.5.0 - Build 22.20.16.4749
  GLSLversion: 4.50 - Build 22.20.16.4749
  GLdebug: ON
  Max texture size: 16384
  Max combined texture units: 192
  Max MSAA samples: 16
  Viewport: 768x768
  ResolutionRatio: 1
TKOpenGl.OpenGL | Type: Deprecated | ID: 14 | Severity: Medium | Message:
  API_ID_DEPRECATED_HINT deprecated behavior warning has been generated. Using of GL_FOG_HINT hint is deprecated.
TKOpenGl.OpenGL | Type: Deprecated | ID: 13 | Severity: Medium | Message:
  API_ID_DEPRECATED_TARGET deprecated behavior warning has been generated. Enable of GL_LIGHTING capability is deprecated.

Steps to reproduce

N/A

Public activity

5 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Nov 2 10:28:01 2017 +0300

    0029286: Visualization, TKOpenGl - do not update FFP state when OpenGl_Caps::ffpEnable is disabled
02Author
03Commenter 1
Combination -
OCCT branch : [archived branch] [revision removed]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Linux:
OCCT
Total CPU difference: 21012.82000000035 / 21003.200000000525 [+0.05%]
Products
Total CPU difference: 7950.590000000109 / 7988.120000000099 [-0.47%]
Windows:
OCCT
Total CPU difference: 18859.522493598342 / 18896.042327698302 [-0.19%]
Products
Total CPU difference: 8022.211024099944 / 8056.422043399954 [-0.42%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

04Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]