View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028095 | Open CASCADE | OCCT:DRAW | public | 2016-11-12 14:19 | 2016-12-09 16:39 |
Reporter | kgv | Assigned To | apn | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2015 | ||
Product Version | 7.1.0 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0028095: Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel | ||||
Description | OpenGL ES has GL_EXT_texture_format_BGRA8888 extension defining BGRA texture format but there are no extensions for glReadPixels()! Command vreadpixel erroneously uses unsupported format leading to failures within OpenGL ES renderer. | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR28095 has been created by kgv. SHA-1: 256776787cc0f4bf5926faff117073bab8ce4a80 Detailed log of new commits: Author: kgv Date: Sat Nov 12 16:51:20 2016 +0300 0028095: Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel OpenGl_Workspace::BufferDump() now implicitly converts RGBA dump into requested BGR, BGRA and RGB image. |
|
Patch is ready for review. |
|
Branch CR28095 has been updated by abv. SHA-1: 219f23ed14796363102e9953919b9118307ca342 Detailed log of new commits: Author: abv Date: Sun Nov 13 20:42:53 2016 +0300 DRAW command dversion is improved to report OpenGL variant used (desktop or ES); reporting of version of MSVC is corrected for VC14 and above; reporting of HAVE_OPENCL option is removed. Usage of command vdump is corrected in some tests to specify extension .png for an image file. Compiler warning is eliminated in OpenGl_Text.cxx (OpenGL ES mode only). |
|
Branch CR28095 has been updated forcibly by kgv. SHA-1: 39f0075338d791cf349dc5d9e4fb3a358ee110c3 |
|
I confirm that this fix resolves problems on ~ 280 test cases when running on Windows with ANGLE |
|
Branch CR28095 reviewed without remarks, ready for testing. |
|
Dear BugMaster, Branch CR28095 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: 39f0075338d791cf349dc5d9e4fb3a358ee110c3 Number of compiler warnings: occt component : Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS : 0 (0 on master) products component : Linux: 63 (63 on master) Windows: 0 (0 on master) MacOS : 1125 Regressions/Differences/Improvements: No regressions/differences Testing cases: Not needed Testing on Linux: occt component : Total MEMORY difference: 91550787 / 91876668 [-0.35%] Total CPU difference: 21674.74000000023 / 21600.690000000308 [+0.34%] products component : Total MEMORY difference: 29925013 / 29934528 [-0.03%] Total CPU difference: 5318.629999999979 / 5309.129999999963 [+0.18%] Testing on Windows: occt component : Total MEMORY difference: 56588716 / 56597852 [-0.02%] Total CPU difference: 20301.112134498435 / 19669.510885798518 [+3.21%] products component : Total MEMORY difference: 20822560 / 20790286 [+0.16%] Total CPU difference: 5307.6064228999685 / 5153.477434899959 [+2.99%] There are no differences in images found by testdiff. |
|
Dear BugMaster, Branch CR28095 is TESTED. |
|
Branch CR28095 has been deleted by kgv. SHA-1: 39f0075338d791cf349dc5d9e4fb3a358ee110c3 |
occt: master f9f740d6 2016-11-17 12:39:52 Committer: apn Details Diff |
0028095: Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel OpenGl_Workspace::BufferDump() now implicitly converts RGBA dump into requested BGR, BGRA and RGB image. DRAW command dversion is improved to report OpenGL variant used (desktop or ES); reporting of version of MSVC is corrected for VC14 and above; reporting of HAVE_OPENCL option is removed. Usage of command vdump is corrected in some tests to specify extension .png for an image file. Compiler warning is eliminated in OpenGl_Text.cxx (OpenGL ES mode only). |
Affected Issues 0028095 |
|
mod - src/Draw/Draw_BasicCommands.cxx | Diff File | ||
mod - src/Image/Image_PixMap.cxx | Diff File | ||
mod - src/Image/Image_PixMap.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Context.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Context.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Text.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.cxx | Diff File | ||
mod - src/V3d/V3d_View.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | ||
mod - tests/bugs/vis/bug26147 | Diff File | ||
mod - tests/bugs/vis/bug26159 | Diff File | ||
mod - tests/bugs/vis/bug26413 | Diff File | ||
mod - tests/bugs/vis/bug26430 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-12 14:19 | kgv | New Issue | |
2016-11-12 14:19 | kgv | Assigned To | => kgv |
2016-11-12 14:21 | kgv | Relationship added | related to 0027811 |
2016-11-12 14:31 | kgv | Description Updated | |
2016-11-12 16:51 | git | Note Added: 0060261 | |
2016-11-12 16:51 | kgv | Note Added: 0060262 | |
2016-11-12 16:51 | kgv | Assigned To | kgv => san |
2016-11-12 16:51 | kgv | Status | new => resolved |
2016-11-13 20:43 | git | Note Added: 0060266 | |
2016-11-13 23:22 | git | Note Added: 0060268 | |
2016-11-14 10:17 | kgv | Relationship added | related to 0028098 |
2016-11-14 21:18 |
|
Note Added: 0060329 | |
2016-11-15 19:08 |
|
Note Added: 0060385 | |
2016-11-15 19:08 |
|
Assigned To | san => bugmaster |
2016-11-15 19:08 |
|
Status | resolved => reviewed |
2016-11-15 19:20 |
|
Assigned To | bugmaster => mkv |
2016-11-16 18:04 |
|
Note Added: 0060449 | |
2016-11-16 18:04 |
|
Note Added: 0060451 | |
2016-11-16 18:04 |
|
Assigned To | mkv => bugmaster |
2016-11-16 18:04 |
|
Status | reviewed => tested |
2016-11-16 18:04 |
|
Test case number | => Not needed |
2016-11-17 06:17 |
|
Note Edited: 0060329 | |
2016-11-18 16:37 | apn | Changeset attached | => occt master f9f740d6 |
2016-11-18 16:37 | apn | Assigned To | bugmaster => apn |
2016-11-18 16:37 | apn | Status | tested => verified |
2016-11-18 16:37 | apn | Resolution | open => fixed |
2016-12-07 11:31 | git | Note Added: 0061290 | |
2016-12-09 16:29 |
|
Status | verified => closed |
2016-12-09 16:39 |
|
Fixed in Version | => 7.1.0 |