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
Giulio Camuffo
cd1eadd190
GRAPHICS: Just copy the buffer when it's the same pixel format.
2012-01-25 18:06:39 +01:00
Giulio Camuffo
27715543e8
GRAPHICS: Relicense pixelbuffer.(h|cpp) to GPLv2.
2012-01-25 11:40:01 +01:00
Giulio Camuffo
c73da71b2f
GRAPHICS: New PixelBuffer::getRawBuffer(int) function.
2012-01-24 21:36:47 +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