View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026810 | Open CASCADE | OCCT:Visualization | public | 2015-10-24 15:35 | 2016-04-20 15:51 |
Reporter | kgv | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Debian 6.0 | ||
Product Version | 6.9.1 | ||||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0026810: Visualization, TKOpenGl - line is shown without stipple aspect with FFP turned off on OpenGL before 3.2 | ||||
Description | Bounding box is displayed incorrectly within the following test case when FFP is turned off:within test case v3d/point_cloud/sphere * v3d/point_cloud/sphere | ||||
Steps To Reproduce | Test case v3d/glsl/stipple_line | ||||
Tags | No tags attached. | ||||
Test case number | v3d glsl stipple_line | ||||
|
sphere_OK_FFP.png (19,634 bytes) |
|
sphere_KO_GLSL.png (9,713 bytes) |
|
TKOpenGl | Type: Portability | ID: 0 | Severity: High | Message: Warning: stipple lines in GLSL will be ignored. OpenGL info: GLvendor = 'X.Org' GLdevice = 'Gallium 0.4 on AMD HAWAII' GLversion = '3.0 Mesa 10.5.9' GLSLversion = '1.30' OK, this functionality requires OpenGL 3.2+ for now... if ((theBits & OpenGl_PO_StippleLine) != 0) { bool hasCaps = false; #if defined(GL_ES_VERSION_2_0) if (myContext->IsGlGreaterEqual (3, 0)) { aProgramSrc->SetHeader ("#version 300 es"); hasCaps = true; } #else if (myContext->core32 != NULL) { aProgramSrc->SetHeader ("#version 150"); hasCaps = true; } #endif |
|
Branch CR26810 has been created by kgv. SHA-1: 9777dc31acf017fe7afcff40f7ad66dff7b93eda Detailed log of new commits: Author: kgv Date: Sat Oct 24 17:32:36 2015 +0300 0026810: Visualization, TKOpenGl - line is shown without stipple aspect with FFP turned off on OpenGL before 3.2 OpenGl_ShaderManager::prepareStdProgramFlat() enable stipple line GLSL program within OpenGL 3.0+, OpenGL ES 3.0+ and OpenGL 2.0+ with GL_EXT_gpu_shader4 extension. |
|
Patch is ready for review. It lowers requirements for stipple line GLSL program: - OpenGL 3.0 is sufficient for this functionality (useful for Mesa, where 3.2+ is available only within Core Profile). - OpenGL 2.0 + GL_EXT_gpu_shader4 extension (useful for OS X Backward Compatible Profile, not yet tested). |
|
Branch CR26810 reviewed without remarks, ready for testing. |
|
Branch CR26810 has been updated forcibly by mkv. SHA-1: 3191972e228ba95fb264c0a89ec6435b14291d30 |
|
Dear BugMaster, Branch CR26810 was rebased on current master of occt git-repository. |
|
Dear BugMaster, Branch CR26810 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 3191972e228ba95fb264c0a89ec6435b14291d30 Number of compiler warnings: occt component : Linux: 1 (1 on master) Windows: 0 (0 on master) products component : Linux: 39 (39 on master) Windows: 0 (0 on master) Regressions/Differences/Improvements: No regressions/differences Testing cases: http://occt-tests/CR26810-master-occt-64/Debian70-64/v3d/glsl/stipple_line.html http://occt-tests/CR26810-master-occt-64/Windows-64-VC10/v3d/glsl/stipple_line.html v3d glsl stipple_line: OK Testing on Linux: occt component : Total MEMORY difference: 91962843 / 92329714 [-0.40%] Total CPU difference: 19661.919999999842 / 19731.069999999687 [-0.35%] products component : Total MEMORY difference: 26224386 / 26262994 [-0.15%] Total CPU difference: 7380.790000000005 / 7369.970000000013 [+0.15%] Testing on Windows: occt component : Total MEMORY difference: 58090962 / 58090849 [+0.00%] Total CPU difference: 18594.63279559907 / 18494.870156099 [+0.54%] products component : Total MEMORY difference: 17156790 / 17161034 [-0.02%] Total CPU difference: 5708.185790699975 / 5657.423065299974 [+0.90%] There are no differences in images found by testdiff. |
|
Dear BugMaster, Branch CR26810 is TESTED. |
|
Branch CR26810 has been deleted by kgv. SHA-1: 3191972e228ba95fb264c0a89ec6435b14291d30 |
occt: master 959a265a 2015-10-24 14:32:36 Committer: bugmaster Details Diff |
0026810: Visualization, TKOpenGl - line is shown without stipple aspect with FFP turned off on OpenGL before 3.2 OpenGl_ShaderManager::prepareStdProgramFlat() enable stipple line GLSL program within OpenGL 3.0+, OpenGL ES 3.0+ and OpenGL 2.0+ with GL_EXT_gpu_shader4 extension. |
Affected Issues 0026810 |
|
mod - src/OpenGl/OpenGl_ShaderManager.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-24 15:35 | kgv | New Issue | |
2015-10-24 15:35 | kgv | Assigned To | => kgv |
2015-10-24 15:36 | kgv | File Added: sphere_OK_FFP.png | |
2015-10-24 15:37 | kgv | File Added: sphere_KO_GLSL.png | |
2015-10-24 15:37 | kgv | Relationship added | child of 0024838 |
2015-10-24 15:38 | kgv | Relationship added | child of 0025305 |
2015-10-24 15:43 | kgv | Note Added: 0047419 | |
2015-10-24 15:44 | kgv | Priority | normal => low |
2015-10-24 15:44 | kgv | Target Version | 7.0.0 => 7.1.0 |
2015-10-24 15:44 | kgv | Summary | Visualization, TKOpenGl - line is shown without stipple aspect within test case v3d/point_cloud/sphere => Visualization, TKOpenGl - line is shown without stipple aspect with FFP turned off on OpenGL before 3.2 |
2015-10-24 15:44 | kgv | Description Updated | |
2015-10-24 17:32 | git | Note Added: 0047421 | |
2015-10-24 17:33 | kgv | Steps to Reproduce Updated | |
2015-10-24 17:38 | kgv | Note Added: 0047422 | |
2015-10-24 17:38 | kgv | Assigned To | kgv => san |
2015-10-24 17:38 | kgv | Priority | low => normal |
2015-10-24 17:38 | kgv | Status | new => resolved |
2015-10-24 17:38 | kgv | Target Version | 7.1.0 => 7.0.0 |
2015-10-27 20:56 |
|
Note Added: 0047505 | |
2015-10-27 20:56 |
|
Assigned To | san => bugmaster |
2015-10-27 20:56 |
|
Status | resolved => reviewed |
2015-10-28 13:18 | git | Note Added: 0047527 | |
2015-10-28 13:39 |
|
Assigned To | bugmaster => mkv |
2015-10-29 14:28 |
|
Note Added: 0047603 | |
2015-10-29 14:34 |
|
Note Added: 0047604 | |
2015-10-29 14:35 |
|
Note Added: 0047605 | |
2015-10-29 14:35 |
|
Assigned To | mkv => bugmaster |
2015-10-29 14:35 |
|
Status | reviewed => tested |
2015-10-29 14:35 |
|
Test case number | => v3d glsl stipple_line |
2015-10-30 16:00 | bugmaster | Changeset attached | => occt master 959a265a |
2015-10-30 16:00 | bugmaster | Status | tested => verified |
2015-10-30 16:00 | bugmaster | Resolution | open => fixed |
2016-04-17 14:30 | git | Note Added: 0053185 | |
2016-04-20 15:42 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:51 |
|
Status | verified => closed |