scummvm/graphics
Eugene Sandulenko ff24083fd4
GRAPHICS: Make convertTo() work with incomplete palettes
We we always assuming that the provided palette is 256 bytes long,
up to the point that we hardcoded this value and skipped this parameter
almost everywhere.

This changes the default parameter to 256 and allows the lesser values
be passed.
2024-05-01 22:42:03 +02:00
..
blit GRAPHICS: ATARI: Utilize dlmalloc 2024-02-24 03:54:54 +01:00
fonts GRAPHICS: Allow specifying separate xdpi and ydpi values in loadTTFFont 2024-01-08 23:41:50 +01:00
macgui GRAPHICS: MACGUI: Hid too noisy warning 2024-04-21 22:33:40 +02:00
nanosvg COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
opengl GRAPHICS: OPENGL: Upgrade glad headers 2024-03-17 15:39:32 +01:00
scaler GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
tinygl JANITORIAL: Clean up some whitespace and double semicolons 2024-01-29 19:32:00 +01: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 GRAPHICS: Split conversion.cpp into multiple files 2022-12-22 23:45:14 +01:00
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: MACGUI: Process extra long words (#5703) 2024-03-13 17:39:21 +01:00
font.h GRAPHICS: MACGUI: Process extra long words (#5703) 2024-03-13 17:39:21 +01:00
fontman.cpp GRAPHICS: Remove redundant include 2023-03-17 14:50:48 +01:00
fontman.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
framelimiter.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
framelimiter.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
korfont.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
korfont.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
larryScale_generated.cpp GRAPHICS: Fix GCC Duplicated Branch Warnings in LarryScale 2022-01-12 08:26:39 +00:00
larryScale_generator.js GRAPHICS: Fix GCC Duplicated Branch Warnings in LarryScale 2022-01-12 08:26:39 +00:00
larryScale.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
larryScale.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
maccursor.cpp GRAPHICS: Fix MacCursor handling of color 255 2022-11-12 19:32:57 -08:00
maccursor.h GRAPHICS: Add support for loading oversized Mac CURS resources 2022-05-07 20:51:44 +03:00
macega.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
managed_surface.cpp GRAPHICS: Fix Signed vs. Unsigned Comparison GCC Warnings 2024-03-20 22:16:45 +00:00
managed_surface.h GRAPHICS: Remove palette start from surface convertToInPlace. 2024-03-31 23:16:59 +03:00
mode.h ENGINES: Allow to specify several supported resolutions 2023-02-28 01:58:13 +01:00
module.mk TWP: Move ImGui to backends 2024-03-07 20:08:26 +01:00
nine_patch.cpp GRAPHICS: NINEPATCH: Change the way remaining_stretch is distributed 2024-04-25 00:37:48 +02:00
nine_patch.h GRAPHICS: Remove use of TransparentSurface in NinePatch code 2023-10-24 20:16:34 +02:00
palette.cpp GRAPHICS: Add copy operator to Palette 2024-04-29 22:13:00 -07:00
palette.h GRAPHICS: Add copy operator to Palette 2024-04-29 22:13:00 -07:00
paletteman.h GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
pixelformat.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
pixelformat.h GRAPHICS: Make the Graphics::PixelFormat constructors constexpr 2023-12-26 20:23:59 +01:00
pm5544.cpp JANITORIAL: Clean up all non-engine Visual Studio warnings. 2022-12-04 00:08:48 +01:00
pm5544.h GRAPHICS: Added doxygen documentation to PM5544 2022-10-08 23:39:18 +02:00
primitives.cpp GRAPHICS: Change drawRect1 in primitives to fix corner pixel issues 2022-09-19 00:38:28 +02:00
primitives.h GRAPHICS: Bump color parameter to uint32 type for functions using it 2022-09-09 02:21:47 +02:00
renderer.cpp OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
renderer.h GRAPHICS: Create a dynamic list of available renderers 2022-04-10 18:11:46 +02:00
scaler.h GRAPHICS: Use forward declaration of ManagedSurface 2023-08-03 10:34:00 +02:00
scalerplugin.cpp GRAPHICS: Use correct pixel size in Normal1x with CLUT8 2023-01-11 19:15:48 +01:00
scalerplugin.h BASE: Filter out old graphics modes when passed to -g 2023-02-12 09:44:51 +01:00
screen.cpp GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
screen.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
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: Make convertTo() work with incomplete palettes 2024-05-01 22:42:03 +02:00
surface.h GRAPHICS: Make convertTo() work with incomplete palettes 2024-05-01 22:42:03 +02: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 GRAPHICS: Add function to create thumbnail without binding it to a output stream 2022-09-08 19:10:42 +02:00
thumbnail.h GRAPHICS: Add function to create thumbnail without binding it to a output stream 2022-09-08 19:10:42 +02:00
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 ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
transform_tools.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
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 IMAGE: Add support for loading CUR and ANI files 2024-03-31 14:39:28 -04:00
wincursor.h IMAGE: Add support for loading CUR and ANI files 2024-03-31 14:39:28 -04:00
yuv_to_rgb.cpp GRAPHICS: Reuse YUV lookup tables for identical RGB component sizes 2024-04-25 00:44:31 +02:00
yuv_to_rgb.h GRAPHICS: Reuse YUV lookup tables for identical RGB component sizes 2024-04-25 00:44:31 +02:00