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

Pages: [1]
1
General discussions / Re: IOS support?
« on: March 25, 2017, 06:33:41 am »
There's currently no one on the team who would take care of the iOS support and development. The former one quit some time ago.
I believe that will drive a lot of users away, include me.
Nowadays any game engines, especially 2D game engines (I know SFML is "multi media library"...), that not support mobile well, are not interesting.

2
General / Re: Android, how to know if GL context is lost?
« on: February 17, 2017, 03:22:51 am »
Hi Alex, again,

I dowload your Kroniax source code from github, but can't see where you handle the message "gained focus".
How can I see how you deal with context loss in Kroniax?

Thanks

3
General / Re: Android, how to know if GL context is lost?
« on: February 17, 2017, 01:25:39 am »
It has been quite some time i did the port of Kroniax on android. But the LostFocus/GainedFocus worked, but you also have to watch for MouseEnter/Leave, they were strangly mapped (Lockscreen iirc).

I never had the issue with only clearing the GPU objects, in my case the RAM did also get cleaned up (savestate). But maybe things have changed because we now have plenty of RAM (at the time of the port 1-2gb were top-notch :D)


AlexAUT

Thanks.
Then I have to re-create all GL resources in GainedFocus no matter whether the context is lost or not? I can't know exactly whether the context is lost?

4
General / Re: Android, how to know if GL context is lost?
« on: February 16, 2017, 01:19:20 am »
Nobody knows?
On my Android phone, both my game and SFML sample become black screen after bringing to foreground.
If we can't solve or even detect the OpenGL context loss issue, how can we use SFML on Android?

5
General / Android, how to know if GL context is lost?
« on: February 13, 2017, 11:36:09 am »
Hi all,

On Android, if I put the game to background then get it foreground, there is chance that the GL context is lost and the screen is in black.

My questions:

1, How to detect if the GL context has been lost? If I can detect it, I can reconstruct the context and reload all textures.
2, Do the events, LostFocus and GainedFocus, work on Android for being in background and foreground?

Thanks

Pages: [1]