SDL and FB_VISUAL_DIRECTCOLOR

What are the issues with supporting the FB_VISUAL_DIRECTCOLOR
frame buffer devices. I am using an ATI Mach64 based video
card that uses DIRECTCOLOR instead of TRUECOLOR. Am I correct
in saying that the only difference between the two is that
in DIRECTCOLOR the pixel data is sent through the palette
enabling gamma correction etc…If this is the only difference
can’t an identity palette just be stored and then the system can
be used just like at true color system.

Please reply directly to my email as well as the newsgroup.

Thanks
Adam

What are the issues with supporting the FB_VISUAL_DIRECTCOLOR
frame buffer devices. I am using an ATI Mach64 based video
card that uses DIRECTCOLOR instead of TRUECOLOR. Am I correct
in saying that the only difference between the two is that
in DIRECTCOLOR the pixel data is sent through the palette
enabling gamma correction etc…If this is the only difference
can’t an identity palette just be stored and then the system can
be used just like at true color system.

Very possibly!
I’m not familiar with DirectColor framebuffer devices, and don’t have
access to them to test out code, so if you fix it, please submit a patch! :slight_smile:

Thanks,
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

I’m new to SDL but I found the place in the code and will
attempt to fix it. How does one go about submitting a
patch?

Thanks
Adam

In article ,
slouken at devolution.com says…> > What are the issues with supporting the FB_VISUAL_DIRECTCOLOR

frame buffer devices. I am using an ATI Mach64 based video
card that uses DIRECTCOLOR instead of TRUECOLOR. Am I correct
in saying that the only difference between the two is that
in DIRECTCOLOR the pixel data is sent through the palette
enabling gamma correction etc…If this is the only difference
can’t an identity palette just be stored and then the system can
be used just like at true color system.

Very possibly!
I’m not familiar with DirectColor framebuffer devices, and don’t have
access to them to test out code, so if you fix it, please submit a patch! :slight_smile:

Thanks,
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

I’m new to SDL but I found the place in the code and will
attempt to fix it. How does one go about submitting a
patch?

Go ahead and send it to slouken at devolution.com

I usually copy the original source to SDL.orig and use the following diff line:

diff -ruN -x CVS -x Makefile\* SDL.orig SDL >SDL.pat

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Just send it to the mailing list and Sam will pick it up, or wait until
Sam posts and send it to him personally.On Tue, 18 Jan 2000, user wrote:

I’m new to SDL but I found the place in the code and will
attempt to fix it. How does one go about submitting a
patch?

Thanks
Adam

In article ,
slouken at devolution.com says…

What are the issues with supporting the FB_VISUAL_DIRECTCOLOR
frame buffer devices. I am using an ATI Mach64 based video
card that uses DIRECTCOLOR instead of TRUECOLOR. Am I correct
in saying that the only difference between the two is that
in DIRECTCOLOR the pixel data is sent through the palette
enabling gamma correction etc…If this is the only difference
can’t an identity palette just be stored and then the system can
be used just like at true color system.

Very possibly!
I’m not familiar with DirectColor framebuffer devices, and don’t have
access to them to test out code, so if you fix it, please submit a patch! :slight_smile:

Thanks,
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

hi`

Sam Lantinga wrote:

I’m new to SDL but I found the place in the code and will
attempt to fix it. How does one go about submitting a
patch?

Go ahead and send it to slouken at devolution.com

I usually copy the original source to SDL.orig and use the following diff line:

    diff -ruN -x CVS -x Makefile\* SDL.orig SDL >SDL.pat

and for the lazy: “cvs diff > sdl.patch”–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

    diff -ruN -x CVS -x Makefile\* SDL.orig SDL >SDL.pat

and for the lazy: “cvs diff > sdl.patch”

Gosh, I usually just do ‘cvs commit’.

:slight_smile:

m.On Wed, Jan 19, 2000 at 06:14:22AM +0100, Daniel Vogel wrote:


Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?"
http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC

Go ahead and send it to slouken at devolution.com

I usually copy the original source to SDL.orig and use the following diff line:

diff -ruN -x CVS -x Makefile* SDL.orig SDL >SDL.pat

cvs diff will do a much nicer job, with only 1 copy of the source tree…On Tue, Jan 18, 2000 at 07:56:46PM -0800, Sam Lantinga wrote:


– Michael Samuel <@Michael_Samuel>