Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Any analog to SDL's expose event?
Print
Pages:
1
[
2
]
Author
Topic: Any analog to SDL's expose event? (Read 9362 times)
0 Members and 1 Guest are viewing this topic.
Laurent
Administrator
Hero Member
Posts: 32498
Re: Any analog to SDL's expose event?
«
Reply #15 on:
October 11, 2012, 09:59:49 am »
Sorry, I just want to understand what your actual problem is. Because I really don't get it.
Logged
Laurent Gomila - SFML developer
cha0s
Newbie
Posts: 16
Re: Any analog to SDL's expose event?
«
Reply #16 on:
October 11, 2012, 11:42:41 am »
There really is no problem I assure you! Due to certain backends (like SFML) being unable to deal with partial render states,
I am accounting for this by periodically flushing the render tree to make sure any stale (that is,
clean
) areas of the screen get updated no matter what.
I was merely inquiring whether SFML had a mechanism to intercept from the window manager events to notify my application exactly where to redraw. I linked an example of SDL's mechanism,
another example is QPaintEvent in Qt
.
Since I don't have to worry about the performance hit, I am simply disregarding dirty rectangle information provided to
the render() function of the SFML implementation of the Window SPI
.
There's no discussion left to be had here, any that existed was merely my inquiry and my subsequent clarification of my intent.
«
Last Edit: October 11, 2012, 12:01:20 pm by cha0s
»
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Any analog to SDL's expose event?
«
Reply #17 on:
October 11, 2012, 02:19:13 pm »
Ok
I'm really sorry, I'm a bit tired and unfocused these days because of my little baby.
Logged
Laurent Gomila - SFML developer
cha0s
Newbie
Posts: 16
Re: Any analog to SDL's expose event?
«
Reply #18 on:
October 11, 2012, 06:38:16 pm »
No worries.
Thanks for taking as much time as you do to make open source!
Logged
Print
Pages:
1
[
2
]
SFML community forums
»
Help
»
Window
»
Any analog to SDL's expose event?
anything