scummvm/graphics
Torbjörn Andersson b9fecf50c5
GRAPHICS: MACGUI: Avoid recursion in Mac menu event processing
When moving the mouse through the menu bar, over a part that's not
occupied by menu items, the Mac menu class will start calling
processEvent() recursively. This is bad for two reasons: During the
recursion (which can easily reach a depth of dozens or even hundreds of
calls) there is no delay, so it will use 100% CPU. And once the
recursion unwinds, all the delays will come at once.

This moves the call to eventLoop() to after the first event has been
fully processed. Hopefully that will have approximately the same desired
effect, without any of the bad side effects.
2023-12-16 21:15:33 +01:00
..
blit GRAPHICS: Fix Multiply blending in NEON path 2023-11-14 12:05:27 +02:00
fonts GRAPHICS: Fix crash while trying fonts-cjk.dat 2023-12-09 15:33:53 +01:00
macgui GRAPHICS: MACGUI: Avoid recursion in Mac menu event processing 2023-12-16 21:15:33 +01:00
nanosvg
opengl OPENGL: Use GLAD version when available and check functions before use 2023-12-14 18:37:42 +01:00
scaler GRAPHICS: Take into account palette when creating thumbnail 2023-08-03 10:34:00 +02:00
tinygl COMMON: Rename memset2/4/8 to memset16/32/64 2023-11-06 13:40:38 +02:00
big5.cpp GRAPHICS: sanity check for big5 font file 2023-04-29 13:37:45 +02:00
big5.h GRAPHICS: Fix default bpp value for drawBig5Char 2023-05-03 15:22:17 +02:00
blit.h GRAPHICS: Add functions for blitting with transparent masks 2023-11-10 14:36:55 +01:00
colormasks.h GRAPHICS: Fix riscos compilation with an explicit cast 2023-01-19 10:32:26 +01:00
conversion.h
cursor.h GRAPHICS: Add support for pixels with masks and inverted pixels 2023-02-19 23:51:09 +01:00
cursorman.cpp BACKENDS: Report if the backend supports cursors with alpha channels 2023-10-29 02:02:11 +02:00
cursorman.h Revert "Revert "GRAPHICS: Add support for cursor as Surface"" 2023-04-10 12:21:29 +02:00
font.cpp GRAPHICS: Fix regression in font scaling code 2023-09-17 00:56:28 +02:00
font.h GRAPHICS: Refactor MacFont scaling into reusable methods 2023-04-16 21:13:50 +02:00
fontman.cpp GRAPHICS: Remove redundant include 2023-03-17 14:50:48 +01:00
fontman.h
framelimiter.cpp
framelimiter.h
korfont.cpp
korfont.h
larryScale.cpp
larryScale.h
larryScale_generated.cpp
larryScale_generator.js
maccursor.cpp
maccursor.h
macega.h
managed_surface.cpp GRAPHICS: Fixed ManagedSurface bug 2023-08-13 00:22:10 +02:00
managed_surface.h GRAPHICS: Add palette start and size parameters to Surface::convertToInPlace() 2023-11-12 18:36:08 +01:00
mode.h ENGINES: Allow to specify several supported resolutions 2023-02-28 01:58:13 +01:00
module.mk GRAPHICS: Removed graphics/transparent_surface.*. \o/ 2023-10-29 01:44:22 +02:00
nine_patch.cpp GRAPHICS: Remove unneeded include 2023-10-29 01:08:43 +02:00
nine_patch.h GRAPHICS: Remove use of TransparentSurface in NinePatch code 2023-10-24 20:16:34 +02:00
palette.cpp Update graphics/palette.cpp 2023-11-11 23:01:16 +01:00
palette.h GRAPHICS: Add a function for creating maps to PaletteLookup 2023-11-11 23:01:16 +01:00
pixelformat.cpp
pixelformat.h GRAPHICS: Implemented PixelFormat::isCLUT8() 2023-02-02 19:33:20 +01:00
pm5544.cpp
pm5544.h
primitives.cpp
primitives.h
renderer.cpp
renderer.h
scaler.h GRAPHICS: Use forward declaration of ManagedSurface 2023-08-03 10:34:00 +02:00
scalerplugin.cpp
scalerplugin.h BASE: Filter out old graphics modes when passed to -g 2023-02-12 09:44:51 +01:00
screen.cpp
screen.h
sjis.cpp GRAPHICS: Fix glyph offsets for PC98 glyphs *9e 2023-05-19 21:16:17 +02:00
sjis.h GRAPHICS: Added missing override keywords 2023-05-14 23:23:44 +02:00
surface.cpp GRAPHICS: Add palette start and size parameters to Surface::convertToInPlace() 2023-11-12 18:36:08 +01:00
surface.h GRAPHICS: Add palette start and size parameters to Surface::convertToInPlace() 2023-11-12 18:36:08 +01:00
svg.cpp GRAPHICS: SVGBitmap now inherits from ManagedSurface 2023-03-16 19:20:50 +01:00
svg.h GRAPHICS: SVGBitmap now inherits from ManagedSurface 2023-03-16 19:20:50 +01:00
thumbnail.cpp
thumbnail.h
transform_struct.cpp GRAPHICS: Remove leftover include 2023-10-29 01:09:52 +02:00
transform_struct.h ALL: Renamed TS_ARGB to MS_ARGB 2023-08-13 00:22:10 +02:00
transform_tools.cpp
transform_tools.h
VectorRenderer.cpp GUI: Fix hard shadow under HiDPI rendering (#4908) 2023-04-15 02:04:16 +02:00
VectorRenderer.h GUI: Fix hard shadow under HiDPI rendering (#4908) 2023-04-15 02:04:16 +02:00
VectorRendererSpec.cpp COMMON: Rename memset2/4/8 to memset16/32/64 2023-11-06 13:40:38 +02:00
VectorRendererSpec.h GUI: Propagate tab vertical flip to the VectorRenderer 2023-09-17 00:56:28 +02:00
wincursor.cpp GRAPHICS: Only process Win cursor pixels as inverted if they are white and treat any other color with AND mask value 1 as transparent. 2023-04-06 21:38:19 +02:00
wincursor.h
yuv_to_rgb.cpp VIDEO: Add YUV422 and YUV444 to Theora decoder 2023-06-19 08:43:40 +03:00
yuv_to_rgb.h VIDEO: Add YUV422 and YUV444 to Theora decoder 2023-06-19 08:43:40 +03:00