<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - How does RBackedupWindow interact with app Menu?? - Comments</title>
 <link>http://www.newlc.com/en/topic-17920</link>
 <description>Comments for &quot;How does RBackedupWindow interact with app Menu??&quot;</description>
 <language>en</language>
<item>
 <title>Re: How does RBackedupWindow interact with app Menu??</title>
 <link>http://www.newlc.com/en/topic-17920#comment-38060</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Thank you! Your reply is very helpful!&lt;/div&gt;</description>
 <pubDate>Thu, 15 Mar 2007 18:10:27 +0100</pubDate>
 <dc:creator>rensijie</dc:creator>
 <guid isPermaLink="false">comment 38060 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How does RBackedupWindow interact with app Menu??</title>
 <link>http://www.newlc.com/en/topic-17920#comment-38059</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;We have never got RBackedUpWindow to behave in any sane way, for the usecase you describe.&lt;br /&gt;&lt;br /&gt;I would recommend using your own offscreen bitmap, and draw that one through the normal CWindowGc of your control. &lt;br /&gt;&lt;br /&gt;That is the most compatible way to do it, and will always work on any phone.&lt;br /&gt;&lt;br /&gt;For the blitting to be as efficient as possible, you should make sure the bitmap has the same displaymode as the screen.&lt;br /&gt;&lt;br /&gt;If this really is not enough you could consider useing DSA to track your windows visible region, and blit directly to the screen. (as opposed to telling the wserv through IPC, that it should blit your bitmap to the screen as in above)&lt;br /&gt;&lt;br /&gt;DSA can though be tricky to get right though, and could also interfere with other stuff in the phone wanting to use DSA. &lt;br /&gt;&lt;br /&gt;I recommend the first solution, and it should be enough for almost all applications.&lt;br /&gt;performance difference is not much compared to DSA as long as you don&amp;#039;t rewrite your blitting routines to something faster then what is normally given by CFbsBitGc.&lt;br /&gt;Or if you have a render engine that can draw regions and not only rects, you could also gain some on skipping the copying totally and draw directly too screen.&lt;br /&gt;Though, this has also implications, somtimes (depening on what you draw and how, and how caches are configured) it might be faster to draw to a bitmap and copy to screen, then do draw to screen.&lt;br /&gt;&lt;br /&gt;All these above methods does though have one problem in common: Tearing.&lt;br /&gt;&lt;br /&gt;If you want to get rid of tearing too, you have no choice but to use CDirectScreenBitmap.&lt;br /&gt;CDirectScreenBitmap is supposed to be used with DSA, though you will notice that the DSB interface isn&amp;#039;t really compatible with DSA and regions, just rects..&amp;nbsp; But as long as you only draw fullscreen or in a rect it is usable. Also, there is issues in getting the framerate over 18fps, without some advanced active object programming...&lt;br /&gt;&lt;br /&gt;Good luck &lt;img src=&quot;/en/sites/all/modules/smf_filter/smf_smileys/smiley.gif&quot; alt=&quot;Smiley&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 15 Mar 2007 17:06:28 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 38059 at http://www.newlc.com</guid>
</item>
<item>
 <title>How does RBackedupWindow interact with app Menu??</title>
 <link>http://www.newlc.com/en/topic-17920</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-17920&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-17920#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Thu, 15 Mar 2007 15:58:26 +0100</pubDate>
 <dc:creator>rensijie</dc:creator>
 <guid isPermaLink="false">17416 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
