12 #ifdef WITH_CXX_GUARDEDALLOC
16 #if defined(WITH_CXX_GUARDEDALLOC) && defined(__cplusplus)
17 # define GHOST_DECLARE_HANDLE(name) \
18 typedef struct name##__ { \
20 MEM_CXX_CLASS_ALLOC_FUNCS(#name) \
23 # define GHOST_DECLARE_HANDLE(name) \
24 typedef struct name##__ { \
152 GHOST_kDrawingContextTypeD3D,
178 #ifdef WITH_INPUT_NDOF
179 GHOST_kEventNDOFMotion,
180 GHOST_kEventNDOFButton,
418 #define GHOST_GRAB_NEEDS_SOFTWARE_CURSOR_FOR_WARP(grab) ((grab) == GHOST_kGrabWrap)
519 #ifdef WITH_INPUT_NDOF
535 } GHOST_TEventNDOFMotionData;
537 typedef enum { GHOST_kPress, GHOST_kRelease } GHOST_TButtonAction;
541 GHOST_TButtonAction action;
543 } GHOST_TEventNDOFButtonData;
613 struct GHOST_TimerTaskHandle__;
617 #ifdef WITH_XR_OPENXR
619 struct GHOST_XrDrawViewInfo;
620 struct GHOST_XrError;
628 typedef enum GHOST_TXrGraphicsBinding {
629 GHOST_kXrGraphicsUnknown = 0,
630 GHOST_kXrGraphicsOpenGL,
632 GHOST_kXrGraphicsD3D11,
636 } GHOST_TXrGraphicsBinding;
638 typedef void (*GHOST_XrErrorHandlerFn)(
const struct GHOST_XrError *);
640 typedef void (*GHOST_XrSessionCreateFn)(
void);
641 typedef void (*GHOST_XrSessionExitFn)(
void *customdata);
642 typedef void (*GHOST_XrCustomdataFreeFn)(
void *customdata);
644 typedef void *(*GHOST_XrGraphicsContextBindFn)(
void);
645 typedef void (*GHOST_XrGraphicsContextUnbindFn)(GHOST_ContextHandle graphics_context);
646 typedef void (*GHOST_XrDrawViewFn)(
const struct GHOST_XrDrawViewInfo *draw_view,
void *customdata);
652 typedef const GHOST_TXrGraphicsBinding *GHOST_XrGraphicsBindingCandidates;
657 float orientation_quat[4];
661 GHOST_kXrContextDebug = (1 << 0),
662 GHOST_kXrContextDebugTime = (1 << 1),
666 GHOST_kXrContextGpuNVIDIA = (1 << 2),
671 const GHOST_XrGraphicsBindingCandidates gpu_binding_candidates;
672 unsigned int gpu_binding_candidates_count;
674 unsigned int context_flag;
675 } GHOST_XrContextCreateInfo;
678 GHOST_XrPose base_pose;
680 GHOST_XrSessionCreateFn create_fn;
681 GHOST_XrSessionExitFn exit_fn;
682 void *exit_customdata;
683 } GHOST_XrSessionBeginInfo;
686 typedef enum GHOST_TXrSwapchainFormat {
687 GHOST_kXrSwapchainFormatRGBA8,
688 GHOST_kXrSwapchainFormatRGBA16,
689 GHOST_kXrSwapchainFormatRGBA16F,
690 GHOST_kXrSwapchainFormatRGB10_A2,
691 } GHOST_TXrSwapchainFormat;
693 typedef struct GHOST_XrDrawViewInfo {
697 GHOST_XrPose eye_pose;
698 GHOST_XrPose local_pose;
701 float angle_left, angle_right;
702 float angle_up, angle_down;
705 GHOST_TXrSwapchainFormat swapchain_format;
707 char expects_srgb_buffer;
712 } GHOST_XrDrawViewInfo;
714 typedef struct GHOST_XrError {
715 const char *user_message;
720 typedef struct GHOST_XrActionSetInfo {
723 GHOST_XrCustomdataFreeFn customdata_free_fn;
725 } GHOST_XrActionSetInfo;
729 typedef enum GHOST_XrActionType {
730 GHOST_kXrActionTypeBooleanInput = 1,
731 GHOST_kXrActionTypeFloatInput = 2,
732 GHOST_kXrActionTypeVector2fInput = 3,
733 GHOST_kXrActionTypePoseInput = 4,
734 GHOST_kXrActionTypeVibrationOutput = 100,
735 } GHOST_XrActionType;
737 typedef struct GHOST_XrActionInfo {
739 GHOST_XrActionType
type;
741 const char **subaction_paths;
745 float *float_thresholds;
748 GHOST_XrCustomdataFreeFn customdata_free_fn;
750 } GHOST_XrActionInfo;
752 typedef struct GHOST_XrActionBindingInfo {
753 const char *component_path;
754 float float_threshold;
757 } GHOST_XrActionBindingInfo;
759 typedef struct GHOST_XrActionProfileInfo {
760 const char *action_name;
761 const char *profile_path;
763 const char **subaction_paths;
765 const GHOST_XrActionBindingInfo *bindings;
766 } GHOST_XrActionProfileInfo;
768 typedef struct GHOST_XrControllerModelVertex {
771 } GHOST_XrControllerModelVertex;
773 typedef struct GHOST_XrControllerModelComponent {
780 } GHOST_XrControllerModelComponent;
782 typedef struct GHOST_XrControllerModelData {
784 const GHOST_XrControllerModelVertex *vertices;
788 const GHOST_XrControllerModelComponent *components;
789 } GHOST_XrControllerModelData;
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
@ GHOST_kEventWindowClose
@ GHOST_kEventDraggingDropDone
@ GHOST_kEventDraggingExited
@ GHOST_kEventNativeResolutionChange
@ GHOST_kEventImeComposition
@ GHOST_kEventDraggingUpdated
@ GHOST_kEventOpenMainFile
@ GHOST_kEventDraggingEntered
@ GHOST_kEventWindowActivate
@ GHOST_kEventWindowUpdate
@ GHOST_kEventWindowDeactivate
@ GHOST_kEventImeCompositionStart
@ GHOST_kEventImeCompositionEnd
@ GHOST_kEventWindowDPIHintChanged
@ GHOST_kEventQuitRequest
static const GHOST_TabletData GHOST_TABLET_DATA_NONE
@ GHOST_kTabletModeEraser
@ GHOST_kTabletModeStylus
@ GHOST_glAlphaBackground
@ GHOST_kPartiallyVisible
void(* GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, uint64_t time)
#define GHOST_DECLARE_HANDLE(name)
void * GHOST_TEventDataPtr
@ GHOST_kKeyNumpadAsterisk
int GHOST_TEmbedderWindowID
GHOST_TDrawingContextType
@ GHOST_kDrawingContextTypeOpenGL
@ GHOST_kDrawingContextTypeNone
struct GHOST_TabletData GHOST_TabletData
@ GHOST_kWindowOrderBottom
@ GHOST_kModifierKeyRightControl
@ GHOST_kModifierKeyLeftControl
@ GHOST_kModifierKeyRightAlt
@ GHOST_kModifierKeyRightShift
@ GHOST_kModifierKeyLeftAlt
@ GHOST_kModifierKeyLeftShift
void(* GHOST_TBacktraceFn)(void *file_handle)
GHOST_TUserSpecialDirTypes
@ GHOST_kUserSpecialDirDesktop
@ GHOST_kUserSpecialDirMusic
@ GHOST_kUserSpecialDirPictures
@ GHOST_kUserSpecialDirVideos
@ GHOST_kUserSpecialDirDownloads
@ GHOST_kUserSpecialDirCaches
@ GHOST_kUserSpecialDirDocuments
@ GHOST_kDragnDropTypeUnknown
@ GHOST_kDragnDropTypeFilenames
@ GHOST_kDragnDropTypeBitmap
@ GHOST_kDragnDropTypeString
@ GHOST_kButtonMaskButton4
@ GHOST_kButtonMaskButton7
@ GHOST_kButtonMaskButton6
@ GHOST_kButtonMaskButton5
@ GHOST_kButtonMaskMiddle
GHOST_TConsoleWindowState
@ GHOST_kConsoleWindowStateShow
@ GHOST_kConsoleWindowStateHideForNonConsoleLaunch
@ GHOST_kConsoleWindowStateHide
@ GHOST_kConsoleWindowStateToggle
@ GHOST_kTabletWinPointer
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_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 type
_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
Read Guarded memory(de)allocation.
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
SyclQueue void void size_t num_bytes void
IconTextureDrawCall normal
ccl_gpu_kernel_postfix int ccl_global int * indices
struct blender::compositor::@179::@181 task
unsigned __int64 uint64_t
GHOST_TDragnDropTypes dataType
GHOST_TUserDataPtr composite_len
GHOST_TUserDataPtr composite
GHOST_TTrackpadEventSubTypes subtype