Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - James Lehman

Pages: [1]
1
Graphics / Re: Linux console with framebuffer?
« on: October 22, 2013, 01:05:32 am »
OK. Thank you again for your answer.

Hopefully my question is of some value to others who are looking for similar information.

I guess I understand what you are saying. You would have to throw away almost all of the functionality of the SFML window class and only get the benefit of a bitmapped screen area.

The main reason I was looking at SFML is because I just noticed that SDL has come out with SDL2. I'm not even sure that SDL2 still supports a direct connection to the Linux Framebuffer. But while I was looking for stuff about it, I found a comparison of it to SFML. So I started looking at that.

One thing I really like about SFML is the fact that it is truly written in C++ and is a nice collection of classes, rather than C.

James.  :)

2
Graphics / Re: Linux console with framebuffer?
« on: October 21, 2013, 06:46:31 pm »
Thank you Laurent  for your answer.

Do you think there might be some value in adding this capability?

I don't think it would be too difficult. The Linux Framebuffer API is very well defined and it seems to work the same as any other bitmapped screen area. You just get a width and height in pixels, a bits per pixel and an address to the first pixel.

This is particularly nice for tiny embedded devices like the Raspberry Pi and other ARM based boards with limited resources.

Plus it's in the video RAM so it's super fast (with no window manager overhead).

James.  :)

3
Graphics / Linux console with framebuffer?
« on: October 20, 2013, 10:13:08 pm »
Hello everyone.

I have a quick question:

I have already written an app that uses SDL 1.2 and with that I can get to a graphics area in Windows, Max OSX, and Linux with X

*PLUS* it lets me run the app in a native Linux console (no X) and get the whole screen via the Linux Framebuffer.

Is this also possible with SFML?

Thanks!

James.  :)

Pages: [1]
anything