locked
Lose a part of content in the screen when use VirtualSurfaceImageSource

    Question

  • I use VirtualSurfaceImageSource in my application like Direct2D magazine app sample.

        1,   I modify "ContentImageSource.cpp" file in that sample following:

              In Line 36: modify "m_imageSource = ref new VirtualSurfaceImageSource(m_contentSize.cx, m_contentSize.cy, m_isOpaque);"

              to "m_imageSource = ref new VirtualSurfaceImageSource(m_contentSize.cx * 4, contentSize.cy* 4, m_isOpaque);".

        2,   Build this sample, and run it in the simulator.

        3,   When i drag the view to the second page.

        4,   When i touch the page with a finger(put your a finger on screen, do not lift), a part of the page disappears sometimes.  but no happen in the first page.

        5,   When i lift my finger, the disappeared part will appeare.

    Now I do not know why the page flickering when i tap the second page, 

    who can tell me why? if how to avoid the flickering.

    And any ideas why this is happening? 

    Thank you very much.

    ---King Star


    winRT

    Saturday, September 1, 2012 8:16 AM

All replies

  • In Addition:

    I test  Direct2D magazine app sample.

    do not modify the sample. And test use Touch Display.

     When i drag the view to the second page.

    When i touch the page with a finger(put your a finger on screen, do not lift), a part of the page disappears sometimes.  but no happen in the first page.

    When i lift my finger, the disappeared part will appeare.

    touch before, picture is:

    when  touch the page with a finger(put your a finger on screen, do not lift),  the picture is:

    thanks .

    ----King Star


    winRT

    Saturday, September 1, 2012 10:35 AM
  • Hi,

    I cannot reproduce your issue on my side.
    In the first situation, I can see the background image is 1/4 part of screen.

    I can not see the second result on my simulator.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, September 3, 2012 7:51 AM
  • Hi,

    I cannot reproduce your issue on my side.
    In the first situation, I can see the background image is 1/4 part of screen.

    I can not see the second result on my simulator.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us


    Hi Jesse.

    Thanks for your reply.

    In the first situation, the background image is 1/4 part of screen.

             When you drag to the second page,

             Try to touch the second page with your finger(not mouse pointer, put your a finger on screen, do not lift),

             a part of the page disappears sometimes.  

             but no happen in the first page.

             When i lift my finger, the disappeared part will appeare.

             use simulator test the first situation, touch before, picture is:

    when  touch the page with a finger(put your a finger on screen, do not lift),  the picture is:

     The second situation:

     you had better test it in Touch Display,

     if test it with simulator , that happens rarely.

     I wait your anwser . Thanks again.

    ----King Star.


    winRT

    Tuesday, September 4, 2012 6:20 AM