discomfitor pushed a commit to branch master.
commit b1f98748bb51399c609aea614fa9b6e4e91abc56
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Aug 30 10:29:03 2013 +0100
only create render update tiler for comp wins that need it
---
src/bin/e_comp.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 8fe4e76..43d129e 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2275,6 +2275,11 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border
*bd)
cw->pending_count++;
_e_comp_event_source_add(cw);
+ cw->up = e_comp_render_update_new();
+ e_comp_render_update_tile_size_set(cw->up, 32, 32);
+ // for software:
+ e_comp_render_update_policy_set
+ (cw->up,
E_COMP_RENDER_UPDATE_POLICY_HALF_WIDTH_OR_MORE_ROUND_UP_TO_FULL_WIDTH);
}
else
{
@@ -2288,11 +2293,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border
*bd)
c->wins_invalid = 1;
c->wins = eina_inlist_append(c->wins, EINA_INLIST_GET(cw));
- cw->up = e_comp_render_update_new();
- e_comp_render_update_tile_size_set(cw->up, 32, 32);
- // for software:
- e_comp_render_update_policy_set
- (cw->up,
E_COMP_RENDER_UPDATE_POLICY_HALF_WIDTH_OR_MORE_ROUND_UP_TO_FULL_WIDTH);
+
if (((!cw->input_only) && (!cw->invalid)) && (cw->override))
{
cw->redirected = 1;
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk