Commit Graph
3567 Commits
Author SHA1 Message Date
Vincent Pelletier c6685bdba3 GRAPHICS: Store pixels in native order in PixelBuffer
Pixel format is supposed to specify the correct ordering for the
platform already. Improves the situation on big endian archs.
2020-11-12 07:47:55 +01:00
Eugene Sandulenko 458b2332d5 JANITORIAL: Formatting fixes 2020-11-09 19:33:57 +01:00
Laurent Merckx 373f872dfa GRAPHICS: Fix no shader error on Raspberry PI 2020-11-09 17:41:26 +01:00
D G Turner e74f225731 GRAPHICS: Fix Compilation Breakage from Merge of Korean Font Code
This breaks compilation on several platforms due to the initialization
in the header. This is replaced by adding a constructor / destructor
instead as per the other class, which also will aid future development
of this code.
2020-11-09 07:40:40 +00:00
wonst719 00bd552840 SCI: Korean code cleanup
- Move repeated message.map tests into ResourceManager::isKoreanMessageMap()
- Fix comments
- Fix formatting
- Remove unused codes
2020-11-08 22:26:31 +02:00
wonst719 71d0362b75 GRAPHICS: Rewrite Korean codepage conversion code 2020-11-08 22:26:31 +02:00
wonst719 25da3603e4 SCI: Korean code cleanup
- Remove unused function definitions
- Remove unnecessary #include
- Fix comment
- Fix license header
2020-11-08 22:26:31 +02:00
wonst719 b7664c24dc SCI: Korean fan translation support 2020-11-08 22:26:31 +02:00
Thierry Crozat 2d64cba73a GRAPHICS: Remove unused function
This was a left over from GUI conversion to U32String.
2020-11-04 22:25:43 +00:00
Vladimir Serbinenko 3fc822e55c COMMON: introduce substr for U32String (#2585)
It's safer than direct array manipulation. Replace current uses
of subsetting with substr.
2020-11-01 22:53:03 +01:00
Eugene Sandulenko 87beb98b95 GRAPHICS: Turn set of bool parameters for wordWrap() to a bitfield 2020-10-16 23:52:18 +02:00
Cameron Cawley 1bf1fb40fc CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski 51d25636bc GRAPHICS: Missed one opengl ifdef 2020-10-14 08:57:23 +02:00
Paweł Kołodziejski 9abb3f5111 BACKENDS: Another attempt to fix opengl flags 2020-10-14 07:45:56 +02:00
Paweł Kołodziejski e3cd0da0df BACKENDS: Attempt to fix buildbot targets 2020-10-14 07:06:18 +02:00
BeWorld cab7cd49c4 MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS (#2510)
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
Paweł Kołodziejski 7bcce1fb7a GRAPHICS: Add missing OpenGL ifdef guard 2020-10-11 09:01:45 +02:00
Paweł Kołodziejski 264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Paweł Kołodziejski 35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski b321938c7b TINYGL: Restored ability to create internal buffer based on pixel format 2020-10-05 08:09:20 +02:00
Pawel Kolodziejski 2e68577f1a GRAPHICS: No need to keep comment anymore 2020-10-04 14:03:36 +02:00
Paweł Kołodziejski 7c5e1c01ed GRAPHICS: Fixed caching alpha information in YUV to RGB conversion code. 2020-10-04 14:02:44 +02:00
Pawel Kolodziejski d8f2040dba ALL: Drop setupScreen API, use new initGraphics3d from engine API.
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode.
Function setGraphicsMode will use optional params to trigger 3d rendering
and switch to proper SDL Gfx manager.
2020-10-02 19:14:19 +02:00
Pawel Kolodziejski e072e2cef8 GRAPHICS: Alpha mode state was not stored in YUVToRGBManager 2020-10-02 13:09:30 +02:00
Pawel Kolodziejski 04fec35274 GRAPHICS: Added missing files for windows target from last commit. 2020-09-30 17:07:56 +02:00
Pawel Kolodziejski 6f69981904 BACKENDS: Drop launcherInitSize() and use 2d backend gfx manager for launcher. 2020-09-30 16:52:44 +02:00
Pawel Kolodziejski 2b248a85bf ALL: Minimise differences with ScummVM 2020-09-29 07:57:40 +02:00
Pawel Kolodziejski a8b53f8f21 ALL: Avoid class names clashing with ScummVM classes 2020-09-28 18:47:10 +02:00
Pawel Kolodziejski 201f27a138 ALL: Sync with ScummVM 2020-09-24 15:53:09 +02:00
Paweł Kołodziejski 0051eef251 VIDEO: Added support for alpha component support for BINK videos 2020-09-24 14:24:17 +02:00
Pawel Kolodziejski 6844942b58 ALL: Cleanup after sync 2020-09-24 00:37:58 +02:00
Paweł Kołodziejski d05d4df9e0 GRAPHICS: Added support for stem darkening in TTF 2020-09-23 23:44:35 +02:00
Pawel Kolodziejski 27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +02:00
Pawel Kolodziejski bfe58d3c77 ALL: Synced with ScummVM - rev: d4db631f9b 2020-09-23 21:52:10 +02:00
Cameron Cawley ce2ad28477 GRAPHICS: Add a basic copyBlit() function 2020-09-17 22:21:23 +02:00
Pawel Kolodziejski d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Vladimir Menshakov b1bee9b372 GRAPHICS: Remove unimplemented colorkey methods from TransparentSurface 2020-09-01 21:52:38 +01:00
Eugene Sandulenko 3bc8e687f2 GRAPHICS: Expose SJIS font chunk calculation 2020-08-31 23:46:50 +02:00
aryanrawlani28 546fe374df GRAPHICS: Properly assign chars in handleEllipsis according to stringtype 2020-08-30 14:43:41 +02:00
aryanrawlani28 521acaf459 GUI: RTL: Fix 1-off issue for drawing u32 strings
When RTL mode is on, previously it was fixed in a commit. This commit just reapplies that, for u32 string drawing.
2020-08-30 14:43:41 +02:00
aryanrawlani28 aa33fc2354 GRAPHICS: Use template for handleEllipsis 2020-08-30 14:43:41 +02:00
aryanrawlani28 ad78777bc6 GUI: Handle ellipsis shortening of text when drawing u32 strings 2020-08-30 14:43:41 +02:00
aryanrawlani28 20e21ba79d GUI: U32: Temporarily overload drawString
- To accept u32 string as a parameter
- To draw everything else normally until fully converted to drawing u32
2020-08-30 14:43:41 +02:00
Eugene Sandulenko 8c52f6db12 GRAPHICS: MACGUI: Reset MacWindget dirty flag on blit.
This reduces amount of unnecessary redraws.
2020-08-24 20:53:37 +02:00
Nathanael Gentry 2512ca2d5b GRAPHICS: MACGUI: Fix hex format decoding 2020-08-20 13:17:01 -04:00
Nathanael Gentry d2a1102423 GRAPHICS: MACGUI: Fix screen copying with direct draw 2020-08-19 16:59:18 -04:00
Nathanael Gentry 7b82dcd8ac GRAPHICS: MACGUI: Add colour to text render debug 2020-08-19 16:32:45 -04:00
Eugene Sandulenko b221999e1e GRAPHICS: Allocate more memory on generating scaled Mac fonts 2020-08-17 00:50:56 +02:00
Eugene Sandulenko e8e137a46c GRAPHICS: Create FloodFill mask with the matching pixel format of the main surface 2020-08-16 23:50:46 +02:00
Eugene Sandulenko 367dd5ff66 GRAPHICS: MACGUI: More fixed for 32bpp mode 2020-08-16 23:08:33 +02:00