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:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user