linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* I want to use fb device for my 3D game. Can it do what I need?
@ 2004-01-09 22:00 Andrew Walrond
  2004-01-09 22:34 ` Otto Solares
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Walrond @ 2004-01-09 22:00 UTC (permalink / raw)
  To: linux-fbdev-devel

Hello list!

I have developed a software library for rendering 3D scenes.
It would be very cool if I could use the fb device so that X needn't be 
running, freeing considerable resources for the application
Note that it is a _software_ renderer, I don't need access to 3D hardware 
acceleration, just a means of copying/bliting frames to the screen as fast as 
possible, and a double buffering facility

So what I need is an api allowing me to

- Set the screen resolution/colour depth. (16bit colour depth or better is 
required)

- Allocate front and back buffers

- Copy scene to back buffer

- Swap buffers synced with vertical refresh

Does fbdev have the facilities I need?

Andrew Walrond



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I want to use fb device for my 3D game. Can it do what I need?
  2004-01-09 22:00 I want to use fb device for my 3D game. Can it do what I need? Andrew Walrond
@ 2004-01-09 22:34 ` Otto Solares
  2004-01-10  0:03   ` Andrew Walrond
  0 siblings, 1 reply; 3+ messages in thread
From: Otto Solares @ 2004-01-09 22:34 UTC (permalink / raw)
  To: Andrew Walrond; +Cc: linux-fbdev-devel

On Fri, Jan 09, 2004 at 10:00:10PM +0000, Andrew Walrond wrote:
> Hello list!
> 
> I have developed a software library for rendering 3D scenes.

Hmm.. cool! how you construct the 3D scenes?

> It would be very cool if I could use the fb device so that X needn't be 
> running, freeing considerable resources for the application
> Note that it is a _software_ renderer, I don't need access to 3D hardware 
> acceleration, just a means of copying/bliting frames to the screen as fast as 
> possible, and a double buffering facility
> 
> So what I need is an api allowing me to
> 
> - Set the screen resolution/colour depth. (16bit colour depth or better is 
> required)

Already part of fbdev.

> - Allocate front and back buffers
> 
> - Copy scene to back buffer
>
> - Swap buffers synced with vertical refresh
>
> Does fbdev have the facilities I need?

You would probably want to look at SDL's fbdev backend.

-solca



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I want to use fb device for my 3D game. Can it do what I need?
  2004-01-09 22:34 ` Otto Solares
@ 2004-01-10  0:03   ` Andrew Walrond
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Walrond @ 2004-01-10  0:03 UTC (permalink / raw)
  To: Otto Solares; +Cc: linux-fbdev-devel

On Friday 09 Jan 2004 10:34 pm, Otto Solares wrote:
>
> Hmm.. cool! how you construct the 3D scenes?
>
Big question in ... 8 words!
Quick answer - custom 3D renderer :)

>
> You would probably want to look at SDL's fbdev backend.
>

Good hint. I've just checked out SDL and it looks useful.

Andrew



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-10  0:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09 22:00 I want to use fb device for my 3D game. Can it do what I need? Andrew Walrond
2004-01-09 22:34 ` Otto Solares
2004-01-10  0:03   ` Andrew Walrond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).