Stefano Musumeci
0e4c062f3a
TINYGL: Reodered member variables and initialization in BlitImage.
2014-08-10 19:34:47 +02:00
Stefano Musumeci
35a36f7c09
TINYGL: Renamed blit images container with proper class naming convention.
2014-08-09 12:17:40 +02:00
Stefano Musumeci
bd0c813296
TINYGL: Changed blit images container from Array to List
2014-08-09 12:17:11 +02:00
Stefano Musumeci
da01fb30b6
TINYGL: removed commented out
2014-08-07 21:49:36 +02:00
Stefano Musumeci
83626dce94
TINYGL: Fixed code formatting.
2014-08-07 21:49:13 +02:00
Stefano Musumeci
6cd062826b
TINYGL: Renamed zrect in zdirty rect
2014-08-07 17:56:01 +02:00
Stefano Musumeci
75ea6893ef
TINYGL: renamed glIssueDrawCall to tglIssueDrawCall.
2014-08-07 17:38:11 +02:00
Stefano Musumeci
78aa22180b
TINYGL: Fixed a bug with image clipping.
2014-08-05 13:20:18 +02:00
Stefano Musumeci
7bacf3c6b5
TINYGL: Fixed a bug with flipped and clipped blitting
2014-08-05 13:19:57 +02:00
Stefano Musumeci
12f54643f7
TINYGL: Moved a check in a function called less frequently
2014-08-03 22:16:18 +02:00
Stefano Musumeci
dc153a727b
TINYGL: Fixed a bug with blit image version not being updated properly.
2014-08-03 20:56:38 +02:00
Stefano Musumeci
e60d5060d1
TINYGL: Fixed a bug with z buffer blitting.
2014-08-02 21:46:07 +02:00
Stefano Musumeci
f6c259684c
TINYGL: Added blit image versioning.
2014-08-02 21:44:23 +02:00
Stefano Musumeci
3965d93c1b
TINYGL: Implemented clipped bitmap blitting.
2014-08-01 19:45:59 +02:00
Stefano Musumeci
29efd03671
TINYGL: Added an utility function that gives the size of a previously loaded blitImage.
2014-07-27 19:51:16 +02:00
Stefano Musumeci
b5720b425f
TINYGL: Added tglBlitZBuffer as a way to render to the Z buffer.
2014-07-25 16:02:24 +02:00
Stefano Musumeci
8d498699b3
TINYGL: Encapsulated draw calls issuing inside a function.
2014-07-25 16:02:21 +02:00
Stefano Musumeci
96167b84c4
TINYGL: Removed duplicated variables.
...
Explanation: those two variables were already tracked inside the class FrameBuffer and they were duplicated here, since there is no need to keep a copy of those variables I just removed them.
2014-07-25 15:54:07 +02:00
Stefano Musumeci
6fc509bb15
TINYGL: Changed the way textures are disposed.
...
Textures are now marked as disposed and then cleaned up afterwards when the function cleanup is called. (this is needed in order to defer blit calls without making them crash because a texture has been disposed before the frame ended)
2014-07-23 21:37:45 +02:00
Stefano Musumeci
44b0718f0e
TINYGL: Separated dispatch blitting function from execution one.
...
This is needed to allow a deferred blit call.
2014-07-23 15:29:21 +02:00
Stefano Musumeci
c33cd39b15
TINYGL: Removed an hardcoded value.
2014-07-18 20:06:42 +02:00
Stefano Musumeci
3994405195
TINYGL: Optimized blitting routines
2014-07-18 19:56:26 +02:00
Stefano Musumeci
6716541311
TINYGL: Optimized a branching instruction towards static evaluation.
2014-07-18 18:50:10 +02:00
Stefano Musumeci
142a439091
TINYGL: Tweaked a few functions to make them inline.
2014-07-18 18:50:09 +02:00
Stefano Musumeci
98a2e7f3c8
TINYGL: Optimized a few cases in blitting routines.
2014-07-18 18:50:09 +02:00
Stefano Musumeci
7a1bba2591
TINYGL, GRIM: Fixed a bug in monkey island rendering.
2014-07-18 18:50:07 +02:00
Stefano Musumeci
3c2655f21a
TINYGL, MYST3: Fixed compiler warnings.
2014-07-18 18:50:07 +02:00
Stefano Musumeci
e4e0b09059
TINYGL: Formatting fixup
2014-07-18 18:50:06 +02:00
Stefano Musumeci
85940f353d
TINYGL: Formatting fixup.
2014-07-18 18:50:06 +02:00
Stefano Musumeci
6afaca3dc0
TINYGL: Fixed a bug about scaled and rotated sprites not being rendered correctly.
2014-07-18 18:50:05 +02:00
Stefano Musumeci
baf872c963
TINYGL: Moved tglBlit functions inside the struct BlitImage.
2014-07-18 18:50:04 +02:00
Stefano Musumeci
c7e70710b3
TINYGL: Fixed a bug in tglBlitRLE that disregarded destination position.
2014-07-18 18:50:02 +02:00
Stefano Musumeci
d5b137b507
TINYGL: Optimized color keying and fixed a bug with conversion from different types of pixel formats..
2014-07-18 18:50:02 +02:00
Stefano Musumeci
2c697350a9
TINYGL: Fixed sprite coloring and blending.
...
TINYGL: Fixed bug with sprite coloring.
2014-07-18 18:50:01 +02:00
Stefano Musumeci
697d8108b1
TINYGL: Removed duplicated code.
2014-07-18 18:50:01 +02:00
Stefano Musumeci
ba202b497a
TINYGL: Removed unnecessary function arguments to tglBlitScale
2014-07-18 18:50:00 +02:00
Stefano Musumeci
d99aae5b64
TINYGL: Split blitting function in multiple routines to make code more readable.
2014-07-18 18:50:00 +02:00
Stefano Musumeci
6bd8021402
TINYGL: Implemented RLE blit optimization.
2014-07-18 18:49:59 +02:00
Stefano Musumeci
0a43444611
TINYGL: Added license header.
2014-07-18 18:49:59 +02:00
Stefano Musumeci
cc6cc4abb4
TINYGL: Removed static variable.
2014-07-18 18:49:58 +02:00
Stefano Musumeci
a75f462615
TINYGL, MYST3: Added namespace to blitting API.
2014-07-18 18:49:58 +02:00
Stefano Musumeci
148011fb06
TINYGL: Implemented sprite rotation
2014-07-18 18:49:57 +02:00
Stefano Musumeci
674688d771
TINYGL: Implemented sprite scaling
2014-07-18 18:49:56 +02:00
Stefano Musumeci
fb65073dcd
TINYGL: Addressed a few issues with blitting interface.
2014-07-18 18:49:56 +02:00
Stefano Musumeci
75908d68d8
TINYGL: refined blit interface.
2014-07-18 18:49:55 +02:00
Stefano Musumeci
62aa0af91a
TINYGL: Brute force blit api implementation.
2014-07-18 18:49:54 +02:00
Stefano Musumeci
6ab14ac528
TINYGL: Added 2d blitting draft interface.
2014-07-18 18:49:53 +02:00