Prebuffering next layout

Asked by SampL on 2010-04-15

Will it be possibile to change the load of next layout. I need prebuffering next layout.
Now, it does so:

this.DestroyLayout();
isExpired = false;
this.PrepareLayout(layoutPath);

And i need this:
this.PrepareLayout(layoutPath);
this.PrebufferingLayout(layoutPath); // create start frame
this.DestroyLayout(); // destroy prev layout with switching to new layout
isExpired = false;

Thnx
Martin Henes

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
SampL
Solved:
2010-04-16
Last query:
2010-04-16
Last reply:
2010-04-15

The python client already works that way. The . Net client doesn't because I don't think it can.

As I understand it your code would just cause the new layout to render on top of the old one. The . Net client is a windows forms application so i don't think there's any concept of offscreen rendering.

Alex

SampL (mhenes) said : #2

Thank you for the quick response. I thought that it applies two Panels (Panel Component) and will be switched in LayoutChangeEvent.

1. Render all objects to bufferPanel
2. Switch to bufferPanel
3. Destroy all objects in oldPanel

All the time will be visible only one Panel, and invisible will work as bufferPanel.