1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0029138: Visualization - D3DHost_FrameBuffer should provide software fallback when WGL_NV_DX_interop is unavailable

D3DHost_FrameBuffer now provides fallback code copying OpenGL FBO content into D3D surface (slow).
OpenGl_FrameBuffer::BufferDump() - FBO dump implementation has been moved from OpenGl_Workspace::BufferDump().
This commit is contained in:
kgv
2017-09-25 15:54:45 +03:00
committed by bugmaster
parent c98fcb6456
commit 6cde53c431
13 changed files with 462 additions and 283 deletions

View File

@@ -800,7 +800,8 @@ bool OpenGl_View::redrawImmediate (const Graphic3d_Camera::Projection theProject
#if !defined(GL_ES_VERSION_2_0)
aCtx->core11fwd->glGetBooleanv (GL_DOUBLEBUFFER, &toCopyBackToFront);
#endif
if (toCopyBackToFront)
if (toCopyBackToFront
&& myTransientDrawToFront)
{
if (!HasImmediateStructures()
&& !theIsPartialUpdate)