Commit graph

8 commits

Author SHA1 Message Date
Vincent Pelletier
241114cbd0 GRAPHICS: Make PixelBuffer::clear take pixel format into account 2017-05-13 14:00:50 +00:00
Vincent Pelletier
a1bc91c906 GRAPHICS: Preserve alpha component in PixelBuffer::copyBuffer 2017-05-13 14:00:50 +00:00
Vincent Pelletier
f4554c1541 GRAPHICS: Optimise PixelBuffer::getValueAt and PixelBuffer::setPixelAt.
Avoid doing a lot of operations just to move 2 or 4 bytes around.
Inline these methods as they are hot-spots and do very little: call
overhead becomes significant.
2016-07-19 11:08:35 +02:00
Andrea Corna
a69f29dd3a GRAPHICS: Fix for a Valgrind warning about an uninitialized value 2012-04-18 09:20:23 +02:00
Einar Johan T. Sømåen
574e09f0ef JANITORIAL: Add missing newline at end of file 2012-01-29 14:20:01 +01:00
Giulio Camuffo
27715543e8 GRAPHICS: Relicense pixelbuffer.(h|cpp) to GPLv2. 2012-01-25 11:40:01 +01:00
Giulio Camuffo
b42bbe5259 TinyGL: Support for different color modes, part 2. 2012-01-24 21:36:47 +01:00
Giulio Camuffo
158a19df31 TinyGL: Support for different color modes, first part. 2012-01-24 21:36:46 +01:00