26 #ifdef WITH_CXX_GUARDEDALLOC
30 #if defined(WITH_CXX_GUARDEDALLOC) && defined(__cplusplus)
31 # define GHOST_DECLARE_HANDLE(name) \
32 typedef struct name##__ { \
34 MEM_CXX_CLASS_ALLOC_FUNCS(#name) \
37 # define GHOST_DECLARE_HANDLE(name) \
38 typedef struct name##__ { \
160 GHOST_kDrawingContextTypeD3D,
186 #ifdef WITH_INPUT_NDOF
187 GHOST_kEventNDOFMotion,
188 GHOST_kEventNDOFButton,
524 #ifdef WITH_INPUT_NDOF
535 } GHOST_TEventNDOFMotionData;
537 typedef enum { GHOST_kPress, GHOST_kRelease } GHOST_TButtonAction;
541 GHOST_TButtonAction action;
543 } GHOST_TEventNDOFButtonData;
607 struct GHOST_TimerTaskHandle__;
611 #ifdef WITH_XR_OPENXR
613 struct GHOST_XrDrawViewInfo;
614 struct GHOST_XrError;
622 typedef enum GHOST_TXrGraphicsBinding {
623 GHOST_kXrGraphicsUnknown = 0,
624 GHOST_kXrGraphicsOpenGL,
626 GHOST_kXrGraphicsD3D11,
630 } GHOST_TXrGraphicsBinding;
632 typedef void (*GHOST_XrErrorHandlerFn)(
const struct GHOST_XrError *);
634 typedef void (*GHOST_XrSessionExitFn)(
void *customdata);
636 typedef void *(*GHOST_XrGraphicsContextBindFn)(void);
637 typedef void (*GHOST_XrGraphicsContextUnbindFn)(GHOST_ContextHandle graphics_context);
638 typedef void (*GHOST_XrDrawViewFn)(
const struct GHOST_XrDrawViewInfo *draw_view,
void *customdata);
642 typedef const GHOST_TXrGraphicsBinding *GHOST_XrGraphicsBindingCandidates;
647 float orientation_quat[4];
651 GHOST_kXrContextDebug = (1 << 0),
652 GHOST_kXrContextDebugTime = (1 << 1),
656 const GHOST_XrGraphicsBindingCandidates gpu_binding_candidates;
657 unsigned int gpu_binding_candidates_count;
659 unsigned int context_flag;
660 } GHOST_XrContextCreateInfo;
663 GHOST_XrPose base_pose;
665 GHOST_XrSessionExitFn exit_fn;
666 void *exit_customdata;
667 } GHOST_XrSessionBeginInfo;
669 typedef struct GHOST_XrDrawViewInfo {
673 GHOST_XrPose eye_pose;
674 GHOST_XrPose local_pose;
677 float angle_left, angle_right;
678 float angle_up, angle_down;
682 char expects_srgb_buffer;
683 } GHOST_XrDrawViewInfo;
685 typedef struct GHOST_XrError {
686 const char *user_message;
GHOST_TTrackpadEventSubTypes
@ GHOST_kTrackpadEventSwipe
@ GHOST_kTrackpadEventMagnify
@ GHOST_kTrackpadEventSmartMagnify
@ GHOST_kTrackpadEventUnknown
@ GHOST_kTrackpadEventRotate
@ GHOST_kTrackpadEventScroll
@ GHOST_kWindowStateMinimized
@ GHOST_kWindowStateMaximized
@ GHOST_kWindowStateEmbedded
@ GHOST_kWindowStateNormal
@ GHOST_kWindowStateFullScreen
void * GHOST_TUserDataPtr
@ GHOST_kStandardCursorBottomLeftCorner
@ GHOST_kStandardCursorZoomIn
@ GHOST_kStandardCursorVerticalSplit
@ GHOST_kStandardCursorHelp
@ GHOST_kStandardCursorCopy
@ GHOST_kStandardCursorWait
@ GHOST_kStandardCursorFirstCursor
@ GHOST_kStandardCursorHorizontalSplit
@ GHOST_kStandardCursorTopSide
@ GHOST_kStandardCursorStop
@ GHOST_kStandardCursorCrosshair
@ GHOST_kStandardCursorCustom
@ GHOST_kStandardCursorNSEWScroll
@ GHOST_kStandardCursorLeftRight
@ GHOST_kStandardCursorPencil
@ GHOST_kStandardCursorNSScroll
@ GHOST_kStandardCursorCrosshairA
@ GHOST_kStandardCursorUpDown
@ GHOST_kStandardCursorUpArrow
@ GHOST_kStandardCursorBottomSide
@ GHOST_kStandardCursorInfo
@ GHOST_kStandardCursorTopLeftCorner
@ GHOST_kStandardCursorEyedropper
@ GHOST_kStandardCursorKnife
@ GHOST_kStandardCursorMove
@ GHOST_kStandardCursorCrosshairB
@ GHOST_kStandardCursorBottomRightCorner
@ GHOST_kStandardCursorDownArrow
@ GHOST_kStandardCursorEraser
@ GHOST_kStandardCursorDefault
@ GHOST_kStandardCursorEWScroll
@ GHOST_kStandardCursorRightSide
@ GHOST_kStandardCursorRightArrow
@ GHOST_kStandardCursorTopRightCorner
@ GHOST_kStandardCursorDestroy
@ GHOST_kStandardCursorCrosshairC
@ GHOST_kStandardCursorZoomOut
@ GHOST_kStandardCursorNumCursors
@ GHOST_kStandardCursorLeftSide
@ GHOST_kStandardCursorText
@ GHOST_kStandardCursorLeftArrow
unsigned int GHOST_TUns32
unsigned long long GHOST_TUns64
@ GHOST_kEventWindowClose
@ GHOST_kEventWheel
Mouse button event.
@ GHOST_kEventDraggingDropDone
@ GHOST_kEventDraggingExited
@ GHOST_kEventNativeResolutionChange
@ GHOST_kEventImeComposition
@ GHOST_kEventDraggingUpdated
@ GHOST_kEventOpenMainFile
@ GHOST_kEventDraggingEntered
@ GHOST_kEventButtonUp
Mouse button event.
@ GHOST_kEventWindowActivate
@ GHOST_kEventTrackpad
Mouse wheel event.
@ GHOST_kEventWindowUpdate
@ GHOST_kEventWindowDeactivate
@ GHOST_kEventButtonDown
Mouse move event.
@ GHOST_kEventKeyDown
Trackpad event.
@ GHOST_kEventImeCompositionStart
@ GHOST_kEventImeCompositionEnd
@ GHOST_kEventWindowDPIHintChanged
@ GHOST_kEventQuitRequest
static const GHOST_TabletData GHOST_TABLET_DATA_NONE
void(* GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, GHOST_TUns64 time)
@ GHOST_kTabletModeEraser
@ GHOST_kTabletModeStylus
@ GHOST_glAlphaBackground
@ GHOST_kPartiallyVisible
#define GHOST_DECLARE_HANDLE(name)
unsigned short GHOST_TUns16
void * GHOST_TEventDataPtr
@ GHOST_kKeyNumpadAsterisk
int GHOST_TEmbedderWindowID
GHOST_TDrawingContextType
@ GHOST_kDrawingContextTypeOpenGL
@ GHOST_kDrawingContextTypeNone
struct GHOST_TabletData GHOST_TabletData
@ GHOST_kButtonMaskButton4
@ GHOST_kButtonMaskButton7
@ GHOST_kButtonMaskButton6
@ GHOST_kButtonMaskButton5
@ GHOST_kButtonMaskMiddle
@ GHOST_kWindowOrderBottom
GHOST_TUserSpecialDirTypes
@ GHOST_kUserSpecialDirDesktop
@ GHOST_kUserSpecialDirMusic
@ GHOST_kUserSpecialDirPictures
@ GHOST_kUserSpecialDirVideos
@ GHOST_kUserSpecialDirDownloads
@ GHOST_kUserSpecialDirDocuments
@ GHOST_kModifierKeyRightControl
@ GHOST_kModifierKeyNumMasks
@ GHOST_kModifierKeyLeftControl
@ GHOST_kModifierKeyRightAlt
@ GHOST_kModifierKeyRightShift
@ GHOST_kModifierKeyLeftAlt
@ GHOST_kModifierKeyLeftShift
@ GHOST_kDragnDropTypeUnknown
@ GHOST_kDragnDropTypeFilenames
@ GHOST_kDragnDropTypeBitmap
@ GHOST_kDragnDropTypeString
unsigned char GHOST_TUns8
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
Read Guarded memory(de)allocation.
struct blender::compositor::@172::@174 task
GHOST_TDragnDropTypes dataType
GHOST_TUserDataPtr composite_len
GHOST_TUserDataPtr composite
GHOST_TTrackpadEventSubTypes subtype