Changeset 99494 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- Apr 20, 2023 7:52:23 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 156989
- Location:
- trunk/src/VBox/Frontends/VBoxSDL
- Files:
-
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r99090 r99494 335 335 if (!winId) 336 336 return E_POINTER; 337 #ifdef RT_OS_DARWIN 338 if (mWinId == 0) /* (In case it failed the first time.) */ 339 mWinId = (intptr_t)VBoxSDLGetDarwinWindowId(); 340 #endif 337 341 338 *winId = mWinId; 342 339 return S_OK; … … 389 386 x, y, w, h)); 390 387 391 #if def VBOXSDL_WITH_X11388 #if defined(VBOXSDL_WITH_X11) || defined(RT_OS_DARWIN) 392 389 /* 393 390 * SDL does not allow us to make this call from any other thread than … … 846 843 void VBoxSDLFB::update(int x, int y, int w, int h, bool fGuestRelative) 847 844 { 848 #if def VBOXSDL_WITH_X11845 #if defined(VBOXSDL_WITH_X11) || defined(RT_OS_DARWIN) 849 846 AssertMsg(gSdlNativeThread == RTThreadNativeSelf(), ("Wrong thread! SDL is not threadsafe!\n")); 850 847 #endif -
trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk
r98412 r99494 58 58 Helper.cpp \ 59 59 ../Common/PasswordInput.cpp 60 VBoxSDL_SOURCES.darwin = \61 VBoxSDLMain-darwin.m \62 Framebuffer-darwin.m63 60 64 61 VBoxSDL_DEFS = … … 96 93 endif 97 94 98 VBoxSDL_LDFLAGS.darwin = \99 -framework Foundation -framework AppKit100 95 VBoxSDL_LDFLAGS.win = -SubSystem:Windows 101 96 … … 126 121 tstSDL_SOURCES = \ 127 122 VBoxSDLTest.cpp 128 tstSDL_SOURCES.darwin = \129 VBoxSDLMain-darwin.m130 123 tstSDL_DEFS = IN_RING3 IN_RT_R3 _GNU_SOURCE 131 124 tstSDL_DEFS.win.x86 = _WIN32_WINNT=0x0500 -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r99090 r99494 4090 4090 } 4091 4091 4092 #if def VBOXSDL_WITH_X114092 #if defined(VBOXSDL_WITH_X11) || defined(RT_OS_DARWIN) 4093 4093 /** 4094 4094 * Special SDL_PushEvent function for NotifyUpdate events. These events may occur in bursts -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.h
r98302 r99494 90 90 #endif /* VBOX_WIN32_UI */ 91 91 92 #if def VBOXSDL_WITH_X1192 #if defined(VBOXSDL_WITH_X11) || defined(RT_OS_DARWIN) 93 93 void PushNotifyUpdateEvent(SDL_Event *event); 94 94 #endif
Note:
See TracChangeset
for help on using the changeset viewer.