154 Commits

Author SHA1 Message Date
Vincent Pelletier
f8c72b5967 TINYGL: Move texture resampling from create time to render time
Thanks to pixel repacking using cpu data cache, this has a low runtime
cost even for TGL_LINEAR.
Adds support for TGL_NEAREST.
Adds support for TGL_MIRRORED_REPEAT, TGL_CLAMP_TO_EDGE and TGL_REPEAT.
Also, add support for more texture clamping and resampling options.

Mipmaps are not supported, although their sampling modes will be
applied - but to the full-size texture instead of selected mipmap.

Note: Texture sampler is still chosen at texture creation time.
2020-11-12 08:15:39 +01:00
wonst719
b7664c24dc SCI: Korean fan translation support 2020-11-08 22:26:31 +02:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
2b248a85bf ALL: Minimise differences with ScummVM 2020-09-29 07:57:40 +02:00
Pawel Kolodziejski
201f27a138 ALL: Sync with ScummVM 2020-09-24 15:53:09 +02:00
djsrv
6189a36d12 GRAPHICS: MACGUI: Add border types 2020-07-31 16:38:37 -04:00
Nathanael Gentry
30bd4de3a7 Revert "GRAPHICS: MACGUI: Add QuickDraw class"
This reverts commit 3469ed858c47a8a0ce3c1eb192d2a494bdf5ba02.
2020-06-30 12:38:46 -04:00
Nathanael Gentry
3469ed858c GRAPHICS: MACGUI: Add QuickDraw class 2020-06-29 10:03:12 -04:00
Nathanael Gentry
45937130dd GRAPHICS: MACGUI: Begin reorganizing text classes
MacEditableText has been merged into MacText. The Director engine, which relies
upon MacEditableText, is also updated here.
2020-06-12 15:27:37 -04:00
Nathanael Gentry
d64e41eca2 GRAPHICS: MACGUI: Add MacButton widget 2020-06-10 15:42:49 +02:00
BLooperZ
6a653312e2 GRAPHICS: remove text_renderer 2020-05-12 14:36:09 +02:00
BLooperZ
c39630ad53 GRAPHICS: MACGUI: add text renderer and visual pos 2020-05-12 14:36:09 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789 2020-05-09 20:05:54 +02:00
Eugene Sandulenko
2d9b3b0b2d GRAPHICS: MACGUI: Initial code for MacEditableText 2020-01-02 18:23:33 +01:00
Daniel Wolf
af0434cf09 GRAPHICS: Implement LarryScale cel scaling algorithm 2018-03-16 22:33:06 +01:00
VelocityRa
f2f420e15f GRAPHICS: Skeleton of MacTextWindow
Needed to add 2 helper methods to MacWindowManager to make it cleaner
2017-07-17 23:45:22 +02:00
Eugene Sandulenko
5d18151b55 GRAPHICS: Initial code for reading FONT Mac resources 2017-01-16 19:21:50 +01:00
Eugene Sandulenko
34a9c588b0 GRAPHICS: Added stub for MacText class 2016-12-14 20:10:32 +01:00
Pawel Kolodziejski
9ba9c69b3f ALL: Sync with ScummVM - rev. 823c2f899b480a1fa494b08e1471142129293779 2016-11-12 08:49:29 +01:00
Eugene Sandulenko
b2dcd1bb1e GRAPHICS: Move font-related MacGUI code to MacFontManager 2016-10-06 23:49:39 +02:00
Paul Gilbert
9f316a5b37 GRAPHICS: Fix MSVC project generation 2016-08-03 20:51:54 -04:00
Borja Lorente
da33e52539 GRAPHICS: Reorder modules to preserve alphabetical order 2016-08-02 08:33:50 +02:00
Borja Lorente
4ab02530ae GRAPHICS: Add MacWindowBorder to abstract borders 2016-07-31 14:45:36 +02:00
Borja Lorente
68b2d44a0f WAGE: Extract MacMenu 2016-07-31 14:04:48 +02:00
Borja Lorente
744034bd98 WAGE: Extract MacWindow 2016-07-30 10:06:09 +02:00
Borja Lorente
3d4087b9d0 WAGE: Extract MacWindowManager 2016-07-30 09:41:54 +02:00
Bastien Bouclet
b718d86a6f OPENGL: Add TiledSurface to be used for drawing large 2D surfaces 2016-07-14 12:02:55 +02:00
Eugene Sandulenko
a2174d76c1 GRAPHICS: Added 9-patch bitmap renderer 2016-05-26 22:37:42 +02:00
Paul Gilbert
433a2daa6a GRAPHICS: Added ManagedSurface and Screen classes 2016-03-14 20:56:14 -04:00
Bastien Bouclet
ee1784b2f2 OPENGL: Add a SurfaceRenderer class
To be used to draw textures as 2D surfaces in the current viewport
2016-02-06 08:53:41 +01:00
Bastien Bouclet
ed38c20cce OPENGL: Add a Context class used to describe the active OpenGL context 2016-02-06 08:02:50 +01:00
Bastien Bouclet
6c78bcebe4 GRAPHICS: Move opengles2 files to the opengl folder 2016-02-06 08:02:49 +01:00
Bastien Bouclet
19cc6b41e7 GRAPHICS: Add a list of renderer types 2015-12-28 16:37:15 +01:00
Pawel Kolodziejski
2fadf2e466 ALL: Synced with ScummVM 2015-12-22 00:24:01 +01:00
Eugene Sandulenko
cfc626d78d GRAPHICS: Implemented utility function to print PixelFormat 2015-11-16 07:00:09 +01:00
Dries Harnie
36c8b3d2d5 GRAPHICS: Move common OpenGL files into graphics/opengl 2015-05-27 10:08:25 +02:00
Dries Harnie
3bbdc2ea06 GRAPHICS: Implement Graphics::Texture class for OpenGL 2015-05-27 10:06:16 +02:00
Stefano Musumeci
6cd062826b TINYGL: Renamed zrect in zdirty rect 2014-08-07 17:56:01 +02:00
Stefano Musumeci
d74692477b TINYGL: Added dirty rectangle files. 2014-07-23 15:28:51 +02:00
Stefano Musumeci
6ab14ac528 TINYGL: Added 2d blitting draft interface. 2014-07-18 18:49:53 +02:00
Pawel Kolodziejski
88b93b36dd ALL: sync with ScummVM 2014-07-02 01:02:35 +02:00
Stefano Musumeci
e373f12d64 TINYGL: Removed unnecessary files and updated changelog. 2014-06-29 19:13:18 +02:00
Eugene Sandulenko
7322d905b3 COMMON: Copy TransparentSurface from Wintermute engine to common code 2014-06-15 15:43:06 +03:00
Dries Harnie
9f6cae54af GRAPHICS: Add OpenGL extension registry 2014-04-21 12:00:41 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Dries Harnie
621c0c7602 GRAPHICS: Add Graphics::Framebuffer 2014-01-14 00:26:39 +01:00
Dries Harnie
471e4748b3 ANDROID: Support swipe-based virtcontrols
Touching and holding the left side of the screen functions as a
joystick.
Swiping the middle side allows fine control over arrow keys (eg.
dialogues), tapping it sends an enter key.
Swiping the right side up/down sends pageup/pagedown.
2013-06-02 15:27:55 +02:00
Dries Harnie
35bfb79da8 GRAPHICS: Introduce Shader object 2013-06-02 14:53:50 +02:00