mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0029020: Visualization, V3d_View - workaround image dump issue on Intel OpenGL driver
Implemented workaround for dump images with width >= 5462 pix on Intel OpenGl driver. Changes according to OpenGl_Context::myVendor field in lowercase.
This commit is contained in:
@@ -476,6 +476,12 @@ public:
|
||||
//! @return value for GL_MAX_SAMPLES
|
||||
Standard_Integer MaxMsaaSamples() const { return myMaxMsaaSamples; }
|
||||
|
||||
//! @return maximum FBO width for image dump
|
||||
Standard_Integer MaxDumpSizeX() const { return myMaxDumpSizeX; }
|
||||
|
||||
//! @return maximum FBO height for image dump
|
||||
Standard_Integer MaxDumpSizeY() const { return myMaxDumpSizeY; }
|
||||
|
||||
//! @return value for GL_MAX_DRAW_BUFFERS
|
||||
Standard_Integer MaxDrawBuffers() const { return myMaxDrawBuffers; }
|
||||
|
||||
@@ -905,6 +911,8 @@ private: // context info
|
||||
Standard_Integer myTexClamp; //!< either GL_CLAMP_TO_EDGE (1.2+) or GL_CLAMP (1.1)
|
||||
Standard_Integer myMaxTexDim; //!< value for GL_MAX_TEXTURE_SIZE
|
||||
Standard_Integer myMaxTexCombined; //!< value for GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
|
||||
Standard_Integer myMaxDumpSizeX; //!< maximum FBO width for image dump
|
||||
Standard_Integer myMaxDumpSizeY; //!< maximum FBO height for image dump
|
||||
Standard_Integer myMaxClipPlanes; //!< value for GL_MAX_CLIP_PLANES
|
||||
Standard_Integer myMaxMsaaSamples; //!< value for GL_MAX_SAMPLES
|
||||
Standard_Integer myMaxDrawBuffers; //!< value for GL_MAX_DRAW_BUFFERS
|
||||
|
Reference in New Issue
Block a user