Home
last modified time | relevance | path

Searched refs:SDL_bool (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/AliOS-Things-master/components/SDL2/src/power/
A DSDL_syspower.h31 SDL_bool SDL_GetPowerInfo_Linux_org_freedesktop_upower(SDL_PowerState *, int *, int *);
33 SDL_bool SDL_GetPowerInfo_Linux_proc_acpi(SDL_PowerState *, int *, int *);
34 SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState *, int *, int *);
35 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState *, int *, int *);
36 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
37 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState *, int *, int *);
38 SDL_bool SDL_GetPowerInfo_Haiku(SDL_PowerState *, int *, int *);
39 SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
40 SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
41 SDL_bool SDL_GetPowerInfo_WinRT(SDL_PowerState *, int *, int *);
[all …]
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.h65 extern SDL_bool Android_IsDeXMode(void);
66 extern SDL_bool Android_IsChromebook(void);
83 SDL_bool Android_JNI_HasClipboardText(void);
122 SDL_bool Android_JNI_SetCustomCursor(int cursorID);
123 SDL_bool Android_JNI_SetSystemCursor(int cursorID);
126 SDL_bool Android_JNI_SupportsRelativeMouse(void);
127 SDL_bool Android_JNI_SetRelativeMouseEnabled(SDL_bool enabled);
134 SDL_bool SDL_IsAndroidTablet(void);
135 SDL_bool SDL_IsAndroidTV(void);
136 SDL_bool SDL_IsChromebook(void);
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_cpuinfo.h132 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
142 extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
147 extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
152 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
157 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
162 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE3(void);
167 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void);
172 extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
177 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void);
182 extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void);
[all …]
A DSDL_test_fuzzer.h167 Uint8 SDLTest_RandomUint8BoundaryValue(Uint8 boundary1, Uint8 boundary2, SDL_bool validDomain);
188 Uint16 SDLTest_RandomUint16BoundaryValue(Uint16 boundary1, Uint16 boundary2, SDL_bool validDomain);
209 Uint32 SDLTest_RandomUint32BoundaryValue(Uint32 boundary1, Uint32 boundary2, SDL_bool validDomain);
230 Uint64 SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 boundary2, SDL_bool validDomain);
251 Sint8 SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain);
273 Sint16 SDLTest_RandomSint16BoundaryValue(Sint16 boundary1, Sint16 boundary2, SDL_bool validDomain);
294 Sint32 SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 boundary2, SDL_bool validDomain);
315 Sint64 SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain);
A DSDL_rect.h99 SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r) in SDL_PointInRect()
108 SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r) in SDL_RectEmpty()
116 SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b) in SDL_RectEquals()
127 extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A,
135 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A,
151 extern DECLSPEC SDL_bool SDLCALL SDL_EnclosePoints(const SDL_Point * points,
161 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowswindow.h40 SDL_bool created;
43 SDL_bool initializing;
44 SDL_bool expected_resize;
45 SDL_bool in_border_change;
46 SDL_bool in_title_click;
48 SDL_bool skip_update_clipcursor;
50 SDL_bool windowed_mode_was_maximized;
51 SDL_bool in_window_deactivation;
80 extern SDL_bool WIN_GetWindowWMInfo(_THIS, SDL_Window * window,
84 extern int WIN_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
[all …]
A DSDL_windowsvideo.h144 SDL_bool ime_com_initialized;
146 SDL_bool ime_initialized;
147 SDL_bool ime_enabled;
148 SDL_bool ime_available;
157 SDL_bool ime_candlist;
164 SDL_bool ime_candvertical;
166 SDL_bool ime_dirty;
181 SDL_bool ime_uiless;
191 extern SDL_bool g_WindowsEnableMessageLoop;
192 extern SDL_bool g_WindowFrameUsableWhileCursorHidden;
[all …]
A DSDL_windowsopengl.h30 SDL_bool HAS_WGL_ARB_pixel_format;
31 SDL_bool HAS_WGL_EXT_swap_control_tear;
32 SDL_bool HAS_WGL_ARB_context_flush_control;
33 SDL_bool HAS_WGL_ARB_create_context_robustness;
34 SDL_bool HAS_WGL_ARB_create_context_no_error;
69 extern SDL_bool WIN_GL_UseEGL(_THIS);
79 extern SDL_bool WIN_GL_SetPixelFormatFrom(_THIS, SDL_Window * fromWindow, SDL_Window * toWindow);
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick_c.h37 SDL_bool ff_rumble;
38 SDL_bool ff_sine;
56 SDL_bool has_key[KEY_MAX];
57 SDL_bool has_abs[ABS_MAX];
65 SDL_bool fresh;
66 SDL_bool recovering_from_dropped;
69 SDL_bool m_bSteamController;
72 SDL_bool has_hat[4];
75 SDL_bool gone;
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick_c.h68 extern SDL_bool SDL_IsJoystickSteamController(Uint16 vendor_id, Uint16 product_id);
71 extern SDL_bool SDL_IsJoystickXInput(SDL_JoystickGUID guid);
74 extern SDL_bool SDL_IsJoystickWGI(SDL_JoystickGUID guid);
77 extern SDL_bool SDL_IsJoystickHIDAPI(SDL_JoystickGUID guid);
80 extern SDL_bool SDL_IsJoystickRAWINPUT(SDL_JoystickGUID guid);
83 extern SDL_bool SDL_IsJoystickVirtual(SDL_JoystickGUID guid);
86 extern SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid);
89 extern SDL_bool SDL_IsGameControllerNameAndGUID(const char *name, SDL_JoystickGUID guid);
92 extern SDL_bool SDL_ShouldIgnoreGameController(const char *name, SDL_JoystickGUID guid);
112 extern SDL_bool SDL_PrivateJoystickValid(SDL_Joystick * joystick);
[all …]
A DSDL_sysjoystick.h37 SDL_bool has_initial_value; /* Whether we've seen a value on the axis yet */
38 SDL_bool has_second_value; /* Whether we've seen a second value on the axis yet */
39 SDL_bool sent_initial_value; /* Whether we've sent the initial axis value */
67 SDL_bool attached;
68 SDL_bool is_game_controller;
69 SDL_bool delayed_guide_button; /* SDL_TRUE if this device has the guide button event delayed */
140 SDL_bool (*GetGamepadMapping)(int device_index, SDL_GamepadMapping * out);
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_sysvideo.h53 SDL_bool hasshape;
99 SDL_bool surface_valid;
101 SDL_bool is_hiding;
102 SDL_bool is_destroying;
302 SDL_bool (*HasScreenKeyboardSupport) (_THIS);
310 SDL_bool (*HasClipboardText) (_THIS);
323 SDL_bool is_dummy;
324 SDL_bool suspend_screensaver;
381 SDL_bool gl_allow_no_surface;
455 extern SDL_bool SDL_HasWindows(void);
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick_c.h80 SDL_bool seen;
88 SDL_bool enabled;
89SDL_bool (*IsSupportedDevice)(const char *name, SDL_GameControllerType type, Uint16 vendor_id, Uin…
91 SDL_bool (*InitDevice)(SDL_HIDAPI_Device *device);
94 SDL_bool (*UpdateDevice)(SDL_HIDAPI_Device *device);
95 SDL_bool (*OpenJoystick)(SDL_HIDAPI_Device *device, SDL_Joystick *joystick);
117 extern SDL_bool HIDAPI_IsDevicePresent(Uint16 vendor_id, Uint16 product_id, Uint16 version, const c…
120 extern SDL_bool HIDAPI_JoystickConnected(SDL_HIDAPI_Device *device, SDL_JoystickID *pJoystickID, SD…
121 …I_JoystickDisconnected(SDL_HIDAPI_Device *device, SDL_JoystickID joystickID, SDL_bool is_external);
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandwindow.h41 SDL_bool initial_configure_seen;
50 SDL_bool initial_configure_seen;
74 SDL_bool pending, configure;
89 SDL_bool fullscreen);
91 extern void Wayland_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
93 extern void Wayland_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
99 extern SDL_bool
101 extern int Wayland_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11opengl.h34 SDL_bool HAS_GLX_EXT_visual_rating;
35 SDL_bool HAS_GLX_EXT_visual_info;
36 SDL_bool HAS_GLX_EXT_swap_control_tear;
37 SDL_bool HAS_GLX_ARB_context_flush_control;
38 SDL_bool HAS_GLX_ARB_create_context_robustness;
39 SDL_bool HAS_GLX_ARB_create_context_no_error;
70 extern SDL_bool X11_GL_UseEGL(_THIS);
A DSDL_x11window.h52 SDL_bool use_mitshm;
58 SDL_bool created;
98 extern void X11_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
99 extern void X11_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable);
100 …1_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
102 extern void X11_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
104 extern SDL_bool X11_GetWindowWMInfo(_THIS, SDL_Window * window,
106 extern int X11_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
107 extern void X11_AcceptDragAndDrop(SDL_Window * window, SDL_bool accept);
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse_c.h67 int (*SetRelativeMouseMode) (SDL_bool enabled);
86 SDL_bool has_position;
87 SDL_bool relative_mode;
88 SDL_bool relative_mode_warp;
95 SDL_bool touch_mouse_events;
96 SDL_bool mouse_touch_events;
97 SDL_bool was_touch_mouse_events; /* Was a touch-mouse event pending? */
106 SDL_bool cursor_shown;
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_dbus.c192 static SDL_bool
230 SDL_bool
233 SDL_bool retval; in SDL_DBus_CallMethodOnConnection()
241 SDL_bool
244 SDL_bool retval; in SDL_DBus_CallMethod()
252 static SDL_bool
275 SDL_bool
286 SDL_bool
297 SDL_bool
327 SDL_bool
[all …]
A DSDL_dbus.h85 extern SDL_bool SDL_DBus_CallMethod(const char *node, const char *path, const char *interface, cons…
86 extern SDL_bool SDL_DBus_CallVoidMethod(const char *node, const char *path, const char *interface, …
87 extern SDL_bool SDL_DBus_QueryProperty(const char *node, const char *path, const char *interface, c…
90 extern SDL_bool SDL_DBus_CallMethodOnConnection(DBusConnection *conn, const char *node, const char …
91 extern SDL_bool SDL_DBus_CallVoidMethodOnConnection(DBusConnection *conn, const char *node, const c…
92 extern SDL_bool SDL_DBus_QueryPropertyOnConnection(DBusConnection *conn, const char *node, const ch…
95 extern SDL_bool SDL_DBus_ScreensaverInhibit(SDL_bool inhibit);
A DSDL_ime.c26 typedef SDL_bool (*_SDL_IME_Init)();
28 typedef void (*_SDL_IME_SetFocus)(SDL_bool);
30 typedef SDL_bool (*_SDL_IME_ProcessKeyEvent)(Uint32, Uint32);
45 static SDL_bool inited = SDL_FALSE; in InitIME()
85 SDL_bool
116 SDL_IME_SetFocus(SDL_bool focused) in SDL_IME_SetFocus()
129 SDL_bool
/AliOS-Things-master/components/SDL2/src/power/macosx/
A DSDL_syspower.c39 checkps(CFDictionaryRef dict, SDL_bool * have_ac, SDL_bool * have_battery, in checkps()
40 SDL_bool * charging, int *seconds, int *percent) in checkps()
45 SDL_bool charge = SDL_FALSE; in checkps()
46 SDL_bool choose = SDL_FALSE; in checkps()
47 SDL_bool is_ac = SDL_FALSE; in checkps()
143 SDL_bool
156 SDL_bool have_ac = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
157 SDL_bool have_battery = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
158 SDL_bool charging = SDL_FALSE; in SDL_GetPowerInfo_MacOSX()
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi.h50 SDL_bool coinitialized;
53 SDL_bool device_lost;
63 int WASAPI_PrepDevice(_THIS, const SDL_bool updatestream);
66 void WASAPI_AddDevice(const SDL_bool iscapture, const char *devname, LPCWSTR devid);
67 void WASAPI_RemoveDevice(const SDL_bool iscapture, LPCWSTR devid);
73 int WASAPI_ActivateDevice(_THIS, const SDL_bool isrecovery);
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_sysrender.h89 SDL_bool enabled;
162 SDL_bool hidden;
171 SDL_bool integer_scale;
182 SDL_bool clipping_enabled;
183 SDL_bool clipping_enabled_backup;
193 SDL_bool relative_scaling;
207 SDL_bool always_batch;
208 SDL_bool batching;
217 SDL_bool color_queued;
218 SDL_bool viewport_queued;
[all …]
/AliOS-Things-master/components/SDL2/src/atomic/
A DSDL_atomic.c129 SDL_bool
135 return (SDL_bool) _SDL_cmpxchg_watcom(&a->value, newval, oldval); in SDL_AtomicCAS()
137 return (SDL_bool) __sync_bool_compare_and_swap(&a->value, oldval, newval); in SDL_AtomicCAS()
139 return (SDL_bool) OSAtomicCompareAndSwap32Barrier(oldval, newval, &a->value); in SDL_AtomicCAS()
145 SDL_bool retval = SDL_FALSE; in SDL_AtomicCAS()
160 SDL_bool
168 return (SDL_bool) _SDL_cmpxchg_watcom((int *)a, (long)newval, (long)oldval); in SDL_AtomicCASPtr()
172 … return (SDL_bool) OSAtomicCompareAndSwap64Barrier((int64_t)oldval, (int64_t)newval, (int64_t*) a); in SDL_AtomicCASPtr()
174 … return (SDL_bool) OSAtomicCompareAndSwap32Barrier((int32_t)oldval, (int32_t)newval, (int32_t*) a); in SDL_AtomicCASPtr()
176 return (SDL_bool) (atomic_cas_ptr(a, oldval, newval) == oldval); in SDL_AtomicCASPtr()
[all …]
/AliOS-Things-master/components/SDL2/src/power/linux/
A DSDL_syspower.c58 static SDL_bool
77 static SDL_bool
134 SDL_bool charge = SDL_FALSE; in check_proc_acpi_battery()
135 SDL_bool choose = SDL_FALSE; in check_proc_acpi_battery()
237 SDL_bool
244 SDL_bool have_ac = SDL_FALSE; in SDL_GetPowerInfo_Linux_proc_acpi()
288 static SDL_bool
314 static SDL_bool
323 SDL_bool
431 SDL_bool
[all …]

Completed in 27 milliseconds

12345678910>>...14