]> OCCT Git - occt-copy.git/commit
0028487: Visualization, TKOpenGl - add option for rendering with lower resolution
authorkgv <kgv@opencascade.com>
Thu, 23 Feb 2017 17:50:42 +0000 (20:50 +0300)
committerkgv <kgv@opencascade.com>
Sat, 17 Mar 2018 09:54:18 +0000 (12:54 +0300)
commit1b6e3821be100a2953e0f1cdb620573cb63ea1d3
treea1f336e429304c8097c7609d4383068d91af5bbe
parent3f864175802c5f4083ee29e3872e610b8a4795a8
0028487: Visualization, TKOpenGl - add option for rendering with lower resolution

Graphic3d_RenderingParams::RenderResolutionScale - added new option
defining scale factor for allocating off-screen rendering buffers
relative to native resolution of window buffer.

Scale factor can be below 1.0 (lower resolution) or higher (as analog of super sampling),
but can not be combined with MSAA settings.

Draw Harness command vrenderparams has been extended with option -rendScale
managing introduced option Graphic3d_RenderingParams::RenderResolutionScale.

vcaps has been extended with option -useWindowBuffer for managing
OpenGl_Caps::useSystemBuffer option.

vrepaint has been extended with option -immediate
for testing immediate layer redraw

OpenGl_View::blitBuffers() - eliminate compiler warning on Android
src/Graphic3d/Graphic3d_RenderingParams.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/v3d/glsl/rendscale [new file with mode: 0644]