Home
last modified time | relevance | path

Searched refs:SDL_TRUE (Results 1 – 25 of 196) sorted by relevance

12345678

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_sdltest.c165 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
172 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 11, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
179 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 12, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
186 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 13, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
193 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(10, 20, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
200 uresult = (Uint64)SDLTest_RandomUint8BoundaryValue(20, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint8()
275 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 10, SDL_TRUE); in sdltest_randomBoundaryNumberUint16()
282 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 11, SDL_TRUE); in sdltest_randomBoundaryNumberUint16()
289 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 12, SDL_TRUE); in sdltest_randomBoundaryNumberUint16()
296 uresult = (Uint64)SDLTest_RandomUint16BoundaryValue(10, 13, SDL_TRUE); in sdltest_randomBoundaryNumberUint16()
[all …]
Dcontrollermap.c62 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture()
66 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
70 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture()
73 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
77 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
153 button = LoadTexture(screen, "button.bmp", SDL_TRUE); in WatchJoystick()
154 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); in WatchJoystick()
244 next=SDL_TRUE; in WatchJoystick()
265 next=SDL_TRUE; in WatchJoystick()
282 next=SDL_TRUE; in WatchJoystick()
[all …]
Dtestaudiocapture.c34 please_quit = SDL_TRUE; in loop()
37 please_quit = SDL_TRUE; in loop()
41 SDL_PauseAudioDevice(devid_out, SDL_TRUE); in loop()
46 SDL_PauseAudioDevice(devid_in, SDL_TRUE); in loop()
79 while (SDL_TRUE) { in loop()
115 devcount = SDL_GetNumAudioDevices(SDL_TRUE); in main()
117 SDL_Log(" Capture device #%d: '%s'\n", i, SDL_GetAudioDeviceName(i, SDL_TRUE)); in main()
148 devid_in = SDL_OpenAudioDevice(argv[1], SDL_TRUE, &spec, &spec, 0); in main()
Dtestautomation_rect.c26 (expectedIntersection == SDL_TRUE) ? "SDL_TRUE" : "SDL_FALSE", in _validateIntersectRectAndLineResults()
27 (intersection == SDL_TRUE) ? "SDL_TRUE" : "SDL_FALSE", in _validateIntersectRectAndLineResults()
68 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 15… in rect_testIntersectRectAndLine()
76 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 15, 0… in rect_testIntersectRectAndLine()
84 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 0,… in rect_testIntersectRectAndLine()
92 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 31, 3… in rect_testIntersectRectAndLine()
100 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 31… in rect_testIntersectRectAndLine()
108 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 31, 0… in rect_testIntersectRectAndLine()
143 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, x1Ref… in rect_testIntersectRectAndLineInside()
151 …_validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, x1Ref… in rect_testIntersectRectAndLineInside()
[all …]
Dtestrendertarget.c64 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture()
68 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
72 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture()
75 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
79 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
129 blend_tested = SDL_TRUE; in DrawComposite()
178 return SDL_TRUE; in DrawComposite()
222 return SDL_TRUE; in Draw()
273 test_composite = SDL_TRUE; in main()
295 drawstate->sprite = LoadTexture(drawstate->renderer, "icon-alpha.bmp", SDL_TRUE); in main()
[all …]
Dtestgamecontroller.c82 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *)temp->pixels); in LoadTexture()
86 SDL_SetColorKey(temp, SDL_TRUE, (*(Uint32 *)temp->pixels) & 0x00FFFFFF); in LoadTexture()
121 done = SDL_TRUE; in loop()
153 done = SDL_TRUE; in loop()
154 retval = SDL_TRUE; /* keep going, wait for reattach. */ in loop()
207 button = LoadTexture(screen, "button.bmp", SDL_TRUE); in WatchGameController()
208 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); in WatchGameController()
285 SDL_bool keepGoing = SDL_TRUE; in main()
307 reportederror = SDL_TRUE; in main()
Dtestatomic.c55 tfret = SDL_AtomicSet(&v, 10) == 0 ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
57 tfret = SDL_AtomicAdd(&v, 10) == 10 ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
62 tfret = (SDL_AtomicGet(&v) == 1) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
65 tfret = (SDL_AtomicGet(&v) == 2) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
67 tfret = (SDL_AtomicDecRef(&v) == SDL_FALSE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
69 tfret = (SDL_AtomicDecRef(&v) == SDL_TRUE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
73 tfret = (SDL_AtomicCAS(&v, 0, 20) == SDL_FALSE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
76 tfret = (SDL_AtomicCAS(&v, value, 20) == SDL_TRUE) ? SDL_TRUE : SDL_FALSE; in RunBasicTest()
339 status = SDL_TRUE; in EnqueueEvent_LockFree()
386 status = SDL_TRUE; in DequeueEvent_LockFree()
[all …]
Dtestscale.c65 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture()
69 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
73 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture()
76 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
80 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
187 drawstate->sprite = LoadTexture(drawstate->renderer, "icon.bmp", SDL_TRUE); in main()
Dtestrendercopyex.c63 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadTexture()
67 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
71 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadTexture()
74 SDL_SetColorKey(temp, SDL_TRUE, in LoadTexture()
78 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadTexture()
197 drawstate->sprite = LoadTexture(drawstate->renderer, "icon.bmp", SDL_TRUE); in main()
Dtestspriteminimal.c60 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); in LoadSprite()
64 SDL_SetColorKey(temp, SDL_TRUE, in LoadSprite()
68 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels); in LoadSprite()
71 SDL_SetColorKey(temp, SDL_TRUE, in LoadSprite()
75 SDL_SetColorKey(temp, SDL_TRUE, *(Uint32 *) temp->pixels); in LoadSprite()
/third_party/flutter/skia/third_party/externals/sdl/src/power/linux/
DSDL_syspower.c70 return SDL_TRUE; in read_power_file()
118 return SDL_TRUE; in make_proc_acpi_key_val()
148 *have_battery = SDL_TRUE; in check_proc_acpi_battery()
153 charge = SDL_TRUE; in check_proc_acpi_battery()
155 charge = SDL_TRUE; in check_proc_acpi_battery()
194 choose = SDL_TRUE; /* at least we know there's a battery. */ in check_proc_acpi_battery()
197 choose = SDL_TRUE; in check_proc_acpi_battery()
200 choose = SDL_TRUE; in check_proc_acpi_battery()
227 *have_ac = SDL_TRUE; in check_proc_acpi_ac_adapter()
281 return SDL_TRUE; /* definitive answer. */ in SDL_GetPowerInfo_Linux_proc_acpi()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/power/macosx/
DSDL_syspower.c61 is_ac = *have_ac = SDL_TRUE; in checkps()
67 charge = SDL_TRUE; in checkps()
74 *have_battery = SDL_TRUE; in checkps()
83 *have_battery = SDL_TRUE; in checkps()
123 choose = SDL_TRUE; /* at least we know there's a battery. */ in checkps()
126 choose = SDL_TRUE; in checkps()
129 choose = SDL_TRUE; in checkps()
186 return SDL_TRUE; /* always the definitive answer on Mac OS X. */ in SDL_GetPowerInfo_MacOSX()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_bmp.c71 hasAlpha = SDL_TRUE; in CorrectAlphaChannel()
131 was_error = SDL_TRUE; in SDL_LoadBMP_RW()
140 was_error = SDL_TRUE; in SDL_LoadBMP_RW()
145 was_error = SDL_TRUE; in SDL_LoadBMP_RW()
180 was_error = SDL_TRUE; in SDL_LoadBMP_RW()
192 haveRGBMasks = SDL_TRUE; in SDL_LoadBMP_RW()
199 haveAlphaMask = SDL_TRUE; in SDL_LoadBMP_RW()
227 topDown = SDL_TRUE; in SDL_LoadBMP_RW()
235 was_error = SDL_TRUE; in SDL_LoadBMP_RW()
278 correctAlpha = SDL_TRUE; in SDL_LoadBMP_RW()
[all …]
DSDL_rect.c71 return SDL_TRUE; in SDL_HasIntersection()
234 return SDL_TRUE; in SDL_EnclosePoints()
240 added = SDL_TRUE; in SDL_EnclosePoints()
260 return SDL_TRUE; in SDL_EnclosePoints()
290 return SDL_TRUE; in SDL_EnclosePoints()
372 return SDL_TRUE; in SDL_IntersectRectAndLine()
393 return SDL_TRUE; in SDL_IntersectRectAndLine()
408 return SDL_TRUE; in SDL_IntersectRectAndLine()
459 return SDL_TRUE; in SDL_IntersectRectAndLine()
520 return SDL_TRUE; in SDL_GetSpanEnclosingRect()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_windowsjoystick.c119 s_bWindowsDeviceChanged = SDL_TRUE; in SDL_PrivateJoystickDetectProc()
124 s_bWindowsDeviceChanged = SDL_TRUE; in SDL_PrivateJoystickDetectProc()
243 bXInputChanged = SDL_TRUE; in SDL_JoystickThread()
255 s_bDeviceRemoved = SDL_TRUE; in SDL_JoystickThread()
256 s_bDeviceAdded = SDL_TRUE; in SDL_JoystickThread()
269 device->send_add_event = SDL_TRUE; in SDL_SYS_AddJoystickDevice()
274 s_bDeviceAdded = SDL_TRUE; in SDL_SYS_AddJoystickDevice()
296 s_bDeviceAdded = SDL_TRUE; /* force a scan of the system for joysticks this first time */ in SDL_SYS_JoystickInit()
465 joystick->force_recentering = SDL_TRUE; in SDL_SYS_JoystickUpdate()
498 s_bJoystickThreadQuit = SDL_TRUE; in SDL_SYS_JoystickQuit()
DSDL_xinputjoystick.c35 static SDL_bool s_bXInputEnabled = SDL_TRUE;
56 s_bXInputEnabled = SDL_GetHintBoolean(SDL_HINT_XINPUT_ENABLED, SDL_TRUE); in SDL_XINPUT_JoystickInit()
149 pNewJoystick->bXInputDevice = SDL_TRUE; in AddXInputDevice()
197 joystick->hwdata->bXInputDevice = SDL_TRUE; in SDL_XINPUT_JoystickOpen()
331 joystick->hwdata->send_remove_event = SDL_TRUE; in SDL_XINPUT_JoystickUpdate()
332 joystick->hwdata->removed = SDL_TRUE; in SDL_XINPUT_JoystickUpdate()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_string.c64 negative = SDL_TRUE; in SDL_ScanLong()
169 negative = SDL_TRUE; in SDL_ScanLongLong()
243 negative = SDL_TRUE; in SDL_ScanFloat()
1045 suppress = SDL_TRUE; in SDL_vsscanf()
1076 suppress = SDL_TRUE; in SDL_vsscanf()
1148 done = SDL_TRUE; in SDL_vsscanf()
1200 done = SDL_TRUE; in SDL_vsscanf()
1212 done = SDL_TRUE; in SDL_vsscanf()
1224 done = SDL_TRUE; in SDL_vsscanf()
1249 done = SDL_TRUE; in SDL_vsscanf()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/power/windows/
DSDL_syspower.c47 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows()
50 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows()
53 need_details = SDL_TRUE; in SDL_GetPowerInfo_Windows()
70 return SDL_TRUE; /* always the definitive answer on Windows. */ in SDL_GetPowerInfo_Windows()
/third_party/flutter/skia/third_party/externals/sdl/src/power/haiku/
DSDL_syspower.c97 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku()
100 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku()
103 need_details = SDL_TRUE; in SDL_GetPowerInfo_Haiku()
120 return SDL_TRUE; /* the definitive answer if APM driver replied. */ in SDL_GetPowerInfo_Haiku()
/third_party/flutter/skia/third_party/externals/sdl/src/cpuinfo/
DSDL_cpuinfo.c261 return ((a & 6) == 6) ? SDL_TRUE : SDL_FALSE; in CPU_OSSavesYMM()
629 return SDL_TRUE; in SDL_HasRDTSC()
638 return SDL_TRUE; in SDL_HasAltiVec()
647 return SDL_TRUE; in SDL_HasMMX()
656 return SDL_TRUE; in SDL_Has3DNow()
665 return SDL_TRUE; in SDL_HasSSE()
674 return SDL_TRUE; in SDL_HasSSE2()
683 return SDL_TRUE; in SDL_HasSSE3()
692 return SDL_TRUE; in SDL_HasSSE41()
701 return SDL_TRUE; in SDL_HasSSE42()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsvideo.c42 SDL_bool g_WindowsEnableMessageLoop = SDL_TRUE;
43 SDL_bool g_WindowFrameUsableWhileCursorHidden = SDL_TRUE;
50 g_WindowsEnableMessageLoop = SDL_TRUE; in UpdateWindowsEnableMessageLoop()
59 g_WindowFrameUsableWhileCursorHidden = SDL_TRUE; in UpdateWindowFrameUsableWhileCursorHidden()
254 return SDL_TRUE; in D3D_LoadDLL()
264 return SDL_TRUE; in D3D_LoadDLL()
342 return SDL_TRUE; in DXGI_LoadDLL()
420 return SDL_TRUE; in SDL_DXGIGetOutputInfo()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dvariator_common.c36 var->bool_value = SDL_TRUE; in SDLVisualTest_NextValue()
207 vars[i].enumerated.on = SDL_TRUE; in SDLVisualTest_InitVariation()
213 vars[i].integer.on = SDL_TRUE; in SDLVisualTest_InitVariation()
219 vars[i].string.on = SDL_TRUE; in SDLVisualTest_InitVariation()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_rect.h76 (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE; in SDL_PointInRect()
84 return ((!r) || (r->w <= 0) || (r->h <= 0)) ? SDL_TRUE : SDL_FALSE; in SDL_RectEmpty()
93 (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE; in SDL_RectEquals()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_dbus.c181 return SDL_TRUE; in SDL_DBus_ScreensaverInhibit()
184 return SDL_TRUE; in SDL_DBus_ScreensaverInhibit()
219 return SDL_TRUE; in SDL_DBus_ScreensaverInhibit()
236 return SDL_TRUE; in SDL_DBus_ScreensaverInhibit()
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c91 phdata->egl_initialized = SDL_TRUE; in PND_create()
219 wdata->uses_gles = SDL_TRUE; in PND_createwindow()
305 return SDL_TRUE; in PND_getwindowwminfo()
386 if (phdata->egl_initialized == SDL_TRUE) { in PND_gl_unloadlibrary()
409 if (phdata->egl_initialized != SDL_TRUE) { in PND_gl_createcontext()
709 if (phdata->egl_initialized != SDL_TRUE) { in PND_gl_makecurrent()
752 if (phdata->egl_initialized != SDL_TRUE) { in PND_gl_setswapinterval()
783 if (phdata->egl_initialized != SDL_TRUE) { in PND_gl_swapwindow()
803 if (phdata->egl_initialized != SDL_TRUE) { in PND_gl_deletecontext()

12345678