Commit graph

62 commits

Author SHA1 Message Date
Stefano Musumeci
41737fcc21 TINYGL: Added/Updated license header in tinyGL files. 2014-08-16 16:03:54 +02:00
Stefano Musumeci
0be18788db TINYGL: Minor formatting fixes. 2014-08-13 21:21:09 +02:00
Stefano Musumeci
2c8f2ecd0b TINYGL: Moved some variables from public to private access. 2014-08-13 21:13:50 +02:00
Stefano Musumeci
e58c1361fe TINYGL: Added const modifier to const variables. 2014-08-13 21:11:35 +02:00
Stefano Musumeci
6c83f83b6c TINYGL: Fixed line breaks. 2014-08-13 21:11:24 +02:00
Stefano Musumeci
a5e91722de TINYGL: moved global variable to GLContext 2014-08-13 21:03:42 +02:00
Stefano Musumeci
7cb1fd7c8b TINYGL: Added default values to Line empty constructor. 2014-08-13 20:51:53 +02:00
Stefano Musumeci
85fdaed682 TINYGL: Added safe check on blit image delete. 2014-08-13 15:38:00 +02:00
Stefano Musumeci
1990876f7a TINYGL: Added some more documentation. 2014-08-11 16:38:52 +02:00
Stefano Musumeci
c64e2884b2 TINYGL: Added some more documentation to blitting code. 2014-08-10 22:02:06 +02:00
Stefano Musumeci
389bcba20d TINYGL: Renamed blit function template parameters with constants naming convention. 2014-08-10 20:29:09 +02:00
Stefano Musumeci
f43d39172b TINYGL: Refactored big complex if else sequence with template function calls. 2014-08-10 20:18:04 +02:00
Stefano Musumeci
d747cad5b2 TINYGL: Improved code commenting. 2014-08-10 20:17:31 +02:00
Stefano Musumeci
5adba756e3 TINYGL: Renamed tglBlitScissorRect into tglBlitSetScissorRect 2014-08-10 19:38:06 +02:00
Stefano Musumeci
bbe0811aea TINYGL: Renamed iterator varaibles from l and r to y and x 2014-08-10 19:35:29 +02:00
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