8 Commits

Author SHA1 Message Date
Bartosz Gentkowski
a35cbeab46 DOXYGEN: Add doxy groups to remaining headers in 'graphics'
To make sure that they appear in the graphics group
in the doc structure.
2020-12-01 23:24:37 +00:00
Vincent Pelletier
c6685bdba3 GRAPHICS: Store pixels in native order in PixelBuffer
Pixel format is supposed to specify the correct ordering for the
platform already. Improves the situation on big endian archs.
2020-11-12 07:47:55 +01: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
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