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

Pages: [1]
1
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: March 12, 2014, 11:33:44 pm »

Ceylo,

Well the memory leak only seems to occur when I am using ATI Catalyst Proprietary graphics drivers on my Ubuntu set up.  Reading around I understand that they seem to have a lot of problems.

I no longer have a memory leak when using NVIDIA graphics drivers with an NVIDIA card.

It doesn't appear to be a problem with SFEMovie.  It's a lower level problem in my opinion.  Thanks for your time.

Mark

2
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: March 07, 2014, 04:16:11 pm »
I don't think it is the same as I have used the latest commit, specifically with the Rodian777 memory leak fixed (Commit on Nov 7th 2013)

I don't think I mentioned I'm using the ffmpeg binaries that come with sfeMovie.

I thought the difference here might be that I am not making an explicit call to window.draw(movie);

3
SFML wiki / Re: sfeMovie project
« on: March 07, 2014, 04:52:23 am »

I'm using sfeMovie in a Linux Project with a mix of SFML and OpenGL.

I see that most of the examples with sfeMovie use a call to window.draw(movie); in order to display the texture to a window.

Our game engines code uses a call to getCurrentFrame to bind a texture from VRAM. 

        sf::Texture::bind(&movie.getCurrentFrame(), sf::Texture::Pixels);
        glBindVertexArray(vao);
        glDrawArrays(GL_QUADS, 0, 4);
        glBindVertexArray(0);
    sf::Texture::bind(NULL);
 

This works great and the video textures get put on our quad, but right now we are seeing a small memory leak that builds up after playing videos over and over again.  Not sure if I need to somehow be manually deleting the texture.

Can anyone share examples of the proper way to use getCurrentFrame()?  Or have suggestions for tracking down this leak while playing videos.

Thanks.


4
Feature requests / Touch Events Interface Request
« on: January 15, 2014, 06:44:40 pm »

I'm looking for SFML to support multi touch via a touch events interface (similar to SDL finger / touch events).  Is there any status on this?  Specifically I'm looking for multitouch under X11 linux.

Does anyone have any suggestions that would allow me to use SFML and also use a multi touch interface?  I was looking at OIS library but it seems a bit dead/out of date.  I'm too invested in SFML to use SDL so I am a bit stuck at the moment.

Thanks for listening.

Pages: [1]
anything