-1
我們使用混亂來渲染屏幕並在IMX31板上處理GUI事件。雜波1.6。是第一次單獨放慢屏幕渲染
問題描述: -
On startup the buttons,texture will be loaded into memory. When we click any buttons then associated panel(ClutterGroup) will be processed and shown in Clutter main stage.
畫面渲染是當它處理所有的孩子,使其可見在第一時間慢。它還首次在clutter-stage.c中拋出230個重繪錯誤消息。 屏幕渲染時間跨越2秒。
Clutter-Message: [PAINT] ./clutter-stage.c:3369: First redraw request
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 1
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 2
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [TEXTURE] ./clutter-texture.c:311: Texture realized
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 3
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 4
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 5
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 6
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 7
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 8
Clutter-Message: [PAINT] ./clutter-stage.c:3380: Redraw request number 9
.....................
當我們再次進入同一個屏幕時,屏幕轉換非常快並且以微秒爲單位。
也不會有更多的重繪消息,只有19重繪消息。
只是我想知道如何避免在clutter-stage.c(Clutter 1.6)中重繪請求? 哪個混亂函數調用觸發器重繪請求?
由於提前,
與問候, Karthick