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

0024739: TKOpenGl - port ray-tracing from OpenCL to GLSL for better integration and portability

RayTracing - disable reflections by default
Fix possible compilation issue on Mac OS X.
This commit is contained in:
dbp
2014-04-04 14:14:02 +04:00
committed by apn
parent 54e37688ef
commit fc73a20256
39 changed files with 2399 additions and 2676 deletions

View File

@@ -171,7 +171,7 @@ class OpenGl_View : public MMgt_TShared
const Aspect_CLayer2d& theCOverLayer);
void DrawBackground (const Handle(OpenGl_Workspace)& theWorkspace);
void DrawBackground (OpenGl_Workspace& theWorkspace);
//! Returns list of OpenGL Z-layers.
const OpenGl_LayerList& LayerList() const { return myZLayers; }
@@ -194,10 +194,8 @@ class OpenGl_View : public MMgt_TShared
return myImmediateList;
}
#ifdef HAVE_OPENCL
//! Returns modification state for ray-tracing.
Standard_Size ModificationState() const { return myModificationState; }
#endif
protected:
@@ -269,9 +267,7 @@ protected:
StateInfo myLastViewMappingState;
StateInfo myLastLightSourceState;
#ifdef HAVE_OPENCL
Standard_Size myModificationState;
#endif
public: