Re: Gamma correction using GDK/directly accessing pixmap pixels
- From: Hongl Lai <hongli telekabel nl>
- To: gtk-app-devel-list gnome org
- Subject: Re: Gamma correction using GDK/directly accessing pixmap pixels
- Date: 01 Dec 2001 01:28:50 +0100
On Sat, 2001-12-01 at 00:16, Havoc Pennington wrote:
Not that I'm aware of. If you copy data into a canonical format such
as GdkPixbuf, then you inherently and unavoidably add the overhead of
one copy into that format and one copy back out of it into display
format. If you don't copy data, you inherently have the problem of 20
different display formats. This is totally unavoidable, because
computer hardware has different display formats.
So the question you have to answer is whether you can afford the two
extra copies.
Havoc
Not even my brand new Athlon 1,4 Ghz can afford that! o_0
I think I'll just copy some code from SDL...
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]