Commit graph

43 commits

Author SHA1 Message Date
Stefano Musumeci
75ea6893ef TINYGL: renamed glIssueDrawCall to tglIssueDrawCall. 2014-08-07 17:38:11 +02:00
Stefano Musumeci
f4d474ca64 TINYGL: Removed compiler warnings about shadowed variables. 2014-08-07 17:31:26 +02:00
Stefano Musumeci
fe3cd44197 TINYGL: Removed unnecessary copy. 2014-08-07 17:30:54 +02:00
Stefano Musumeci
7e32942ce8 TINYGL: Fixed naming convention in ClearDrawCall 2014-08-07 17:30:23 +02:00
Stefano Musumeci
e93e4c0f18 TINYGL: Changed allocation scheme for Draw Call instances. 2014-08-06 21:52:02 +02:00
Stefano Musumeci
98a77b2801 TINYGL: Fixed rasterization area detection. 2014-08-06 21:10:04 +02:00
Stefano Musumeci
3c17942f2c TINYGL: Removed debug line 2014-08-06 21:07:45 +02:00
Stefano Musumeci
e54765ff71 TINYGL: Fixed a bug with calculation of bounding rectangle of rasterization draw call. 2014-08-06 01:42:06 +02:00
Stefano Musumeci
911c82d238 TINYGL: Refined dirty rects logic. 2014-08-05 20:33:42 +02:00
Stefano Musumeci
aa847ab56b TINYGL: Improved dirty area detection for rasterization draw calls. 2014-08-05 20:02:23 +02:00
Stefano Musumeci
d2450c6de0 TINYGL: Fixed a bug caused by wrong branch exclusion 2014-08-03 22:17:02 +02:00
Stefano Musumeci
0c145a7ffb TINYGL: Formatting fixup. 2014-08-03 21:05:07 +02:00
Stefano Musumeci
e7513920be TINYGL: Fixup formatting. 2014-08-03 21:04:35 +02:00
Stefano Musumeci
5ff8765650 TINYGL: Formatting fixup 2014-08-03 21:02:16 +02:00
Stefano Musumeci
70d326f534 TINYGL: Refined rectangles merging and duplicated removal logic. 2014-08-02 21:50:56 +02:00
Stefano Musumeci
ce4d4801df TINYGL: Refined dirty regions redraw logic. 2014-08-02 21:50:31 +02:00
Stefano Musumeci
f4d6c53592 TINYGL: Refined dirty region detection by adding a check on textures and blit textures version 2014-08-02 21:49:14 +02:00
Stefano Musumeci
89582a3cff TINYGL: Fixed typo in code. 2014-08-01 19:46:23 +02:00
Stefano Musumeci
eadcd65d5e TINYGL: Refined dirty rects execution implementation. 2014-08-01 19:46:22 +02:00
Stefano Musumeci
e33a2ed3af TINYGL: Implemented partial draw call execution. 2014-08-01 19:46:21 +02:00
Stefano Musumeci
447aa02d03 TINYGL: Implemented dirty rects region detection and merging. 2014-07-31 15:32:56 +02:00
Stefano Musumeci
ae59f92ce4 TINYGL: Implemented equality operators for draw calls. 2014-07-31 15:32:56 +02:00
Stefano Musumeci
f192fac096 TINYGL: Improved dirty rectangle rendering by differentiating draw call types by color. 2014-07-28 18:33:04 +02:00
Stefano Musumeci
76e6499cb5 TINYGL: Added dirty region computation for rasterization draw calls. 2014-07-28 18:32:28 +02:00
Stefano Musumeci
8b3a080b04 TINYGL: Implemented debug rendering of dirty regions 2014-07-27 19:57:43 +02:00
Stefano Musumeci
2196b66cb7 TINYGL: Added stub implementation for draw call dirty region detection. 2014-07-27 19:53:10 +02:00
Stefano Musumeci
2e8b9b3f4e TINYGL: Added an outline rectangle drawing function inside zrect. 2014-07-27 19:50:24 +02:00
Stefano Musumeci
365839e007 TINYGL: Added a way to optionally restore the state after a draw call. 2014-07-27 19:45:33 +02:00
Stefano Musumeci
529cc2b1c6 TINYGL: Fixed a bug with how textures were deleted inside tglPresentBuffer. 2014-07-26 17:57:15 +02:00
Stefano Musumeci
7f560daf04 TINYGL: Replaced Array with List as the container for draw calls queue.
NOTE: I also had to construct the struct GLContext properly now.
2014-07-26 17:56:44 +02:00
Stefano Musumeci
98d6944c22 TINYGL: Moved rasterization logic inside draw call.
Note: As a side effect to this draw calls are now batched together.
2014-07-26 17:55:34 +02:00
Stefano Musumeci
83e1d0a699 TINYGL: Added a few more information to the state stored for Rasterization draw call. 2014-07-25 16:02:26 +02:00
Stefano Musumeci
390e07f02d TINYGL: Added ZBuffer mode to blitting draw call type. 2014-07-25 16:02:25 +02:00
Stefano Musumeci
7fdd5bcd9a TINYGL: Implemented ClearBuffer draw call type. 2014-07-25 16:02:23 +02:00
Stefano Musumeci
8d498699b3 TINYGL: Encapsulated draw calls issuing inside a function. 2014-07-25 16:02:21 +02:00
Stefano Musumeci
f2bfdc672d TINYGL: Formatting style fixup. 2014-07-25 16:01:34 +02:00
Stefano Musumeci
2b3fd8501a TINYGL: Changed the way tinyGL textures are disposed. 2014-07-25 12:59:51 +02:00
Stefano Musumeci
7df4a3efa9 TINYGL: Added implementation of RasterizationDrawCall. 2014-07-24 19:51:07 +02:00
Stefano Musumeci
6705e54d48 TINYGL: Finished basic implementation of BlittingDrawCall. 2014-07-23 21:40:15 +02:00
Stefano Musumeci
0b7c8140f8 TINYGL: Fixed formatting namepace indentation. 2014-07-23 15:29:20 +02:00
Stefano Musumeci
506cbe35c5 TINYGL: Moved a tglPresent from api.cpp to zrect.cpp 2014-07-23 15:29:16 +02:00
Stefano Musumeci
ff58b301b9 TINYGL: Added stub implementation for the two draw call categories. 2014-07-23 15:28:51 +02:00
Stefano Musumeci
d74692477b TINYGL: Added dirty rectangle files. 2014-07-23 15:28:51 +02:00