Commit Graph
482 Commits
Author SHA1 Message Date
Stefano Musumeci 2d6940923a TINYGL: Removed all the macros from triangle draw routines. 2014-06-28 20:39:10 +02:00
Stefano Musumeci e630fb398a TINYGL: Refactored shadow drawing routines 2014-06-28 20:39:10 +02:00
Stefano Musumeci 4f140b6520 TINYGL: Refactored the triangle function in a template fashion 2014-06-28 20:39:09 +02:00
Stefano Musumeci 1a5b6272fc TINYGL: Refactored the name of FrameBuffer instance from zb to fb 2014-06-28 20:39:09 +02:00
Stefano Musumeci b9e0b28ed9 TINYGL: Renamed ZBuffer into FrameBuffer 2014-06-28 20:39:08 +02:00
Stefano Musumeci 81b5d40588 TINYGL: Refactored fill functions inside ZBuffer struct. 2014-06-28 20:39:07 +02:00
Stefano Musumeci 2be487a1f0 TINYGL: Added assert to ensure correct texture format. 2014-06-28 20:39:07 +02:00
Stefano Musumeci 10c4d6d4f5 TINYGL: Refactored zTriangleFill texture access code. 2014-06-28 20:39:06 +02:00
Stefano Musumeci f9438a5e3c TINYGL: Moved all external C functions inside the struct ZBuffer. 2014-06-28 20:39:06 +02:00
Stefano Musumeci a2de6a0eef TINYGL: Moved a few external C functions inside ZBuffer. 2014-06-28 20:39:05 +02:00
Stefano Musumeci e3b8e63fd8 TINYGL: Fixed a regression in maths code. 2014-06-28 17:58:29 +02:00
Stefano Musumeci 968dd6515b TINYGL: Modified changelog accordingly. 2014-06-28 17:58:28 +02:00
Stefano Musumeci 19c819e2b0 TINYGL: Fixed an error in matrix transpose method and optimized the code a little bit more. 2014-06-28 17:58:27 +02:00
Stefano Musumeci f40cfb020c TINYGL: Changed the way vertices are transformed, increased performance (now it's comparable to the previous version and sometimes it performs even faster). 2014-06-28 17:58:27 +02:00
Stefano Musumeci 6c7eaca2eb TINYGL: Last optimization batch, performance comparable to the previous version. 2014-06-28 17:58:26 +02:00
Stefano Musumeci d45c455be4 TINYGL: Done some more optimization on maths code. 2014-06-28 17:58:25 +02:00
Stefano Musumeci 5642d195e0 TINYGL: Done some optimization by moving the logic inside the class Matrix4. 2014-06-28 17:58:25 +02:00
Stefano Musumeci 4fbb2d0dc3 TINYGL: Done several optimizations to the maths code. 2014-06-28 17:58:24 +02:00
Stefano Musumeci 9be1423802 TINYGL: Fixed a problem with shadows. 2014-06-28 17:58:23 +02:00
Stefano Musumeci d31c3e7744 TINYGL: Fixed an issue with vertices transformation and matrix-vector multiplication. 2014-06-28 17:58:21 +02:00
Stefano Musumeci 8b92e5ec83 TINYGL: Fixed all the issues that arised after the refactoring. 2014-06-28 17:57:27 +02:00
Stefano Musumeci b1b498d336 TINYGL: Added a few utility methods and operators. 2014-06-28 17:57:27 +02:00
Stefano Musumeci b7853b48f8 TINYGL: Fixed a few mistakes during the refactoring. 2014-06-28 17:57:24 +02:00
Stefano Musumeci c1040a9cdf TINYGL: Started replacing the old classes with the new ones.
TINYGL: Removed all the use of the old classes of Vector and Matrix.
2014-06-27 11:28:59 +02:00
Stefano Musumeci f7343ec6ab TINYGL: Implemented first draft of new matrix and vector classes. 2014-06-26 19:41:09 +02:00
Stefano Musumeci 16ba2a7aee TINYGL: Added a first draft of the maths classes. 2014-06-26 19:37:36 +02:00
Lars Buitinck e5e2c3701a TINYGL: rename variable to get rid of warning 2014-05-18 16:26:09 +02:00
Einar Johan Trøan Sømåen 7f77f55d10 TINYGL: Update ChangeLog 2014-02-20 19:33:27 +01:00
Einar Johan Trøan Sømåen 1b3753bc48 TINYGL: Remove typedef from struct-definitions. 2014-02-20 19:08:55 +01:00
Einar Johan Trøan Sømåen 206975fb13 TINYGL: Make read-only parameters in zmath const.
(This also changes a by-value pass in gl_M4_InvOrtho to const-reference,
thanks to Botje for pointing that one out).
2014-02-20 18:58:03 +01:00
Einar Johan Trøan Sømåen 698ef4a37c TINYGL: Use astyle to (semi-selectively) apply the code-formatting conventions to TinyGL. 2014-02-20 18:46:49 +01:00
Einar Johan Trøan Sømåen b21271bd82 TINYGL: Put declaration of counting variable inside for-construct. 2014-02-20 18:06:04 +01:00
Pawel Kolodziejski 9f54d1a56e JANITORIAL: cleanup licences 2014-02-16 17:57:34 +01:00
Christian Krause 344d86bf45 TINYGL: Fix coverity and compile warning
- change void* to byte*, otherwise delete[] is undefined
2014-02-15 18:40:30 +01:00
Joel Teichroeb f989e29d09 TINYGL: Add obviously missing break 2013-12-08 11:37:51 -08:00
Joel Teichroeb 96f2dd1748 TINYGL: Remove default case as the current cases already represent all possible values 2013-12-08 11:37:39 -08:00
Joel Teichroeb edce904439 TINYGL: Do not check the same conditions twice 2013-12-08 11:37:24 -08:00
Joel Teichroeb 7331ccf4da TINYGL: Use the right delete 2013-12-08 11:37:14 -08:00
Joel Teichroeb f10c953d28 TINYGL: Remove dead assignments 2013-12-06 14:56:13 -08:00
Dries Harnie 6bd38b1801 TINYGL: Support ColorMask
Note, this is just basic support, it is either all or nothing.
Disabling select channels is not possible.
2013-07-02 00:22:59 +02:00
Giulio Camuffo 80109ca3fe GRIM: Fix ActorToClean behaviour. Bump save version to 22.4. Fix #701.
The clean buffer code needs two layers. Every actor needs its buffer,
but we also need a global one. The actors' buffers blit to the global buffer
which then gets blitted to screen.
2013-01-11 12:44:30 +01:00
Paweł Kołodziejski 8f418e2247 tinygl: fix: endian issue
(cherry picked from commit 3c0a12d30d4032957f21902d3ccd87eb09d949e8)
2013-01-07 19:09:27 +01:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Giulio Camuffo 1e9c530ccd GRAPHICS/TinyGL: Fix the color format on big endian. 2012-12-19 20:45:55 +01:00
Einar Johan Trøan Sømåen 51babbf092 TinyGL: Fix ZB_fillTriangleSmooth to support the colour-support patch. 2012-10-24 22:51:38 +02:00
Andrea Corna 173846c3df TINYGL: Remove an unneeded header 2012-04-21 12:20:06 +02:00
Andrea Corna bd14146a78 TINYGL: Fix some memory leaks 2012-04-21 12:18:42 +02:00
Giulio Camuffo 2b29820241 TinyGL: Try to not blit the clean buffer if empty. 2012-02-13 21:28:19 +01:00
Giulio Camuffo 8156e3a9a3 TinyGL: Remove the double zbuffer. Just use the 32bit one. 2012-02-13 19:21:37 +01:00
Giulio Camuffo 2c527f3993 TinyGL: Add an offscreen buffer, used to draw once and blit many times. 2012-02-13 17:59:48 +01:00