Author: richard
Date: Mon Feb 9 07:43:25 2009
New Revision: 4095
URL: http://svn.slimdevices.com?rev=4095&root=Jive&view=rev
Log:
Bug: N/A
Description:
Fix for hardware double buffering.
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua
7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
Modified: 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua
URL:
http://svn.slimdevices.com/7.4/trunk/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua?rev=4095&root=Jive&r1=4094&r2=4095&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/JiveMain.lua Mon Feb 9
07:43:25 2009
@@ -362,7 +362,7 @@
function JiveMain:setSelectedSkin(appletName)
- log:warn(appletName)
+ log:info("Select skin ", appletName)
if _loadSkin(self, appletName, false, true) then
self.selectedSkin = appletName
end
Modified: 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
URL:
http://svn.slimdevices.com/7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c?rev=4095&root=Jive&r1=4094&r2=4095&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c Mon Feb 9
07:43:25 2009
@@ -325,7 +325,7 @@
JiveSurface *srf;
Uint32 t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0;
clock_t c0 = 0, c1 = 0;
- bool_t force_redraw;
+ bool_t force_redraw, drawn = false;
JIVEL_STACK_CHECK_BEGIN(L);
@@ -421,6 +421,8 @@
lua_pushvalue(L, -3); // widget
lua_pushvalue(L, 2); // surface
lua_call(L, 2, 0);
+
+ drawn = true;
}
else if (jive_dirty_region.w || force_redraw) {
#if 0
@@ -445,6 +447,8 @@
lua_call(L, 3, 0);
}
jive_dirty_region.w = 0;
+
+ drawn = true;
}
if (perfwarn.screen) {
@@ -463,7 +467,8 @@
JIVEL_STACK_CHECK_END(L);
- return 0;
+ lua_pushboolean(L, drawn);
+ return 1;
}
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins