mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026734: Visualization, TKOpenGl - drop outdated UserDraw interfaces
Update ViewerTest and VoxelDemo to not use UserDraw callbacks. OpenGl_View::blitBuffers() - set 0 GLSL program after blit to avoid side effects on code that does not use shaders. Drop interfaces Aspect_GraphicCallbackProc, Graphic3d_CUserDraw, Graphic3d_Group::UserDraw(), OpenGl_GraphicDriver::UserDrawCallback(). V3d_View::SetWindow() - remove optional arguments initializing redraw callback. OpenGl_View, declare following methods as virtual for inheritance: redraw(), redrawImmediate(), render(), renderScene(), drawBackground(), renderStructs(). VocelClient_VisDrawer - do not include removed header
This commit is contained in:
@@ -84,13 +84,4 @@ typedef struct
|
||||
CALL_DEF_POINT Point;
|
||||
} CALL_DEF_TRANSFORM_PERSISTENCE;
|
||||
|
||||
/* USERDRAW DATA */
|
||||
|
||||
typedef struct {
|
||||
|
||||
void* Data;
|
||||
Graphic3d_BndBox4f* Bounds;
|
||||
|
||||
} CALL_DEF_USERDRAW;
|
||||
|
||||
#endif /* InterfaceGraphic_Graphic3dHeader */
|
||||
|
Reference in New Issue
Block a user