mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
#if(defined(_MSC_VER) && (_MSC_VER < 1800))
|
||||
// only Visual Studio 2013 (vc12) provides <cinttypes> header
|
||||
// we do not defined all macros here - only used by OCCT framework
|
||||
#define PRId64 "I64d"
|
||||
#define PRIu64 "I64u"
|
||||
#define SCNd64 "I64d"
|
||||
#define SCNu64 "I64u"
|
||||
#ifdef _WIN64
|
||||
#define PRIdPTR "I64d"
|
||||
#define PRIuPTR "I64u"
|
||||
|
Reference in New Issue
Block a user