Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Render Freeze - Please Help

  1. #11

    Render Freeze - Please Help

    Quote Originally Posted by Huehnerschaender
    But there must be a way to avoid this, because there are applications which do not stop working when being dragged.
    Can you name any Microsoft applications that do this?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  2. #12

    Render Freeze - Please Help

    Quote Originally Posted by savage
    Can you name any Microsoft applications that do this?
    IE if you move the window while a page is loading the logo will still be updated, same goes for the inpage animations.
    [size=9px]BEGIN GEEK CODE BLOCK
    <br />d s-- : a24 GB GCS GTW GE C++ P L+ W++ N+ K- w++++ M- PS+ PE+ Y- t+ 5+++ X+ R*
    <br />tv b+ DI++ D+ e++ h+ G-
    <br />END GEEK CODE BLOCK[/size]
    <br />Create your own GeekCode block at: <a href="">...</a>

  3. #13

    Render Freeze - Please Help

    Quote Originally Posted by savage
    Quote Originally Posted by Huehnerschaender
    But there must be a way to avoid this, because there are applications which do not stop working when being dragged.
    Can you name any Microsoft applications that do this?
    Yes as i said earlier Windows Media Player continues to play video while being dragged as do most other non-Microsoft players. Don't know how they manage it

    Quote Originally Posted by tanffn
    Don’t have the time to test it right now, but I think that it will stop the primary/gui thread. So maybe if you’ll run a second thread that will do the actual processing and drawing it will still work.

    If non of you will I can try and test it tomorrow.
    Thanks. I'm not familiar with threaded apps, so if you do get it to work could you please post the code for the setup/render loop

  4. #14

    Render Freeze - Please Help

    Quote Originally Posted by mancunian
    Yes as i said earlier Windows Media Player continues to play video while being dragged as do most other non-Microsoft players. Don't know how they manage it
    Easy. You never grab the window frame, but a panel within the frame (an imitation window frame if you will) that permits a drag while rendering.

    Otherwise, if you use a standard window all I can say is "Tough luck", because it's a Microsoft-ism. You'll have to ask them why they did it that way.

  5. #15

    Render Freeze - Please Help

    Windows Media Player and most of the players don't render using the stander GUI/Desktop overlay and they are not even in charge of the decoding/rendering.. so its not really a good comparison.
    [size=9px]BEGIN GEEK CODE BLOCK
    <br />d s-- : a24 GB GCS GTW GE C++ P L+ W++ N+ K- w++++ M- PS+ PE+ Y- t+ 5+++ X+ R*
    <br />tv b+ DI++ D+ e++ h+ G-
    <br />END GEEK CODE BLOCK[/size]
    <br />Create your own GeekCode block at: <a href="">...</a>

  6. #16

    Render Freeze - Please Help

    Done some testing and when you drag a window (on mouse move) the app will freeze, its much more noticeable if you press (and not release) the X of the window.
    If you play an MP3 in Windows Media Player It will also stop the animation but not the sound, if you play a video file its again not controlled in the same thread + overlay.

    I guess the only way to fully bypass it is by creating your own GUI (i.e Winamp, QuickTime Player), am I wrong?

    EDIT: OOPS ops: I does work, I uploaded a Threaded demo to:
    www.global-rd.com/ariel/freeze.zip
    [size=9px]BEGIN GEEK CODE BLOCK
    <br />d s-- : a24 GB GCS GTW GE C++ P L+ W++ N+ K- w++++ M- PS+ PE+ Y- t+ 5+++ X+ R*
    <br />tv b+ DI++ D+ e++ h+ G-
    <br />END GEEK CODE BLOCK[/size]
    <br />Create your own GeekCode block at: <a href="">...</a>

  7. #17

    Render Freeze - Please Help

    I was messing around with one of the JEDI-SDL timer demos yesterday, and I think moving the animation to a secondary thread may work. Again it would need to be tested. But I have to ask, is it such a bad thing to have the animation stop when you are dragging the Window?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  8. #18

    Render Freeze - Please Help

    Quote Originally Posted by savage
    I was messing around with one of the JEDI-SDL timer demos yesterday, and I think moving the animation to a secondary thread may work. Again it would need to be tested. But I have to ask, is it such a bad thing to have the animation stop when you are dragging the Window?
    It should work, as even in my above demo I made it work with TImage.
    [size=9px]BEGIN GEEK CODE BLOCK
    <br />d s-- : a24 GB GCS GTW GE C++ P L+ W++ N+ K- w++++ M- PS+ PE+ Y- t+ 5+++ X+ R*
    <br />tv b+ DI++ D+ e++ h+ G-
    <br />END GEEK CODE BLOCK[/size]
    <br />Create your own GeekCode block at: <a href="">...</a>

  9. #19

    Render Freeze - Please Help

    Hi Tanffn

    Your demo does not work for me. It counts up at the most to 13 or so and then image stops being drawn to. This occurs even if I don't move the mouse or anything.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  10. #20

    Render Freeze - Please Help

    Quote Originally Posted by czar
    Hi Tanffn

    Your demo does not work for me. It counts up at the most to 13 or so and then image stops being drawn to. This occurs even if I don't move the mouse or anything.
    What can I say czar.. it works fine here, tested it several times until I gave up (300-600).

    How many times did you try? You can always look at the code as its very straight forward.
    I'm using XP Pro sp2, whats your spec?
    [size=9px]BEGIN GEEK CODE BLOCK
    <br />d s-- : a24 GB GCS GTW GE C++ P L+ W++ N+ K- w++++ M- PS+ PE+ Y- t+ 5+++ X+ R*
    <br />tv b+ DI++ D+ e++ h+ G-
    <br />END GEEK CODE BLOCK[/size]
    <br />Create your own GeekCode block at: <a href="">...</a>

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •