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 - pierotofy

Pages: [1]
1
Feature requests / Pixel Buffer Objects support in SFML2
« on: November 21, 2012, 01:30:44 am »
Greetings :)

In my program I have a lot of image data coming in (you can think of the data as the frames of a movie streaming) and I'm currently using the update function of the Texture class to refresh the texture on screen, as follow:

// sf::Texture *texture = ....
void onFrameAvailable(char *bitmap_in){
texture->update((sf::Uint8 *)bitmap_in, textureWidth, textureHeight, 0, 0);
}
 

Which works, but I noticed that as I increase the size of the texture the performance drops dramatically (for obvious reasons).

I read in a few places that Pixel Buffer Objects could be used to create spaces of shared memory between the CPU and the GPU (if I understood correctly). Right now I'm constantly copying data from the CPU to the GPU when calling the update function, maybe if I simply setup a space in memory where I can update my image data and tell OpenGL to use that space in memory to display my texture things would be faster.

Any suggestions? Ideas?

2
SFML projects / Re: Glassomium - Multi-touch window manager
« on: September 08, 2012, 10:16:38 pm »
Thank you! :)

If anybody is interested in contributing to it, feel free to contact me here or via the project's mailing list!

3
SFML projects / Glassomium - Multi-touch window manager
« on: August 29, 2012, 05:17:39 pm »
This project I've been working on uses SFML at its core.

It's an open source cross platform window manager for big multi-touch surfaces (tables, kiosks' displays). It renders the content of web browser tabs onto a texture and allows developers to use web technologies to build everything, from the layout to the user applications.

Video:

Home Page: http://www.glassomium.org

Pages: [1]