Re: [clutter] Problem with foofone demo from clutter-toys

2009-01-12 Thread Chris Lord
On Sun, 2009-01-11 at 12:13 +1100, Erik de Castro Lopo wrote:
 Erik de Castro Lopo wrote:
 
  Any clues why this is going so badly wrong? This is on an Ubuntu
  Intrepid Ibex machine with all stock libraries and clutter 0.8.4
  installed from source.
 
 Ok, a bit of testing on an Ubuntu Hardy based system seems to suggest
 that this is due to either the X driver (Intel i915) or buggy 
 libraries on the Intrepid system.

Yes, unfortunately Ubuntu have picked a buggy driver revision. A
temporary fix is to disable text mip-mapping (note that you'll have
problems using high-quality textures too, but the default settings for
this are fine).

You can do this application-side, with

clutter_set_use_mipmapped_text (FALSE);

before creating any ClutterLabel/ClutterEntry actors, or you can patch
Clutter itself. In clutter-main.c, search for the line

pango_clutter_font_map_set_use_mipmapping (ctx-font_map, TRUE);

and change 'TRUE' to 'FALSE'. This will affect all Clutter applications
and fix the problem. Note that scaled text will also look awful,
however.

-- 
Chris Lord, Intel Open Source Technology Centre

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Problem with foofone demo from clutter-toys

2009-01-12 Thread Neil Roberts
On Sun, 2009-01-11 at 11:24 +1100, Erik de Castro Lopo wrote:

 I'm also seeing strange things with the courasel demo. The names
 assoicated with the various icons have missing letters (eg D s
 instead of Dates and P f  nc s instead of Preferences).
 
 Any clues why this is going so badly wrong?

As you said in a later email, this appears to be a problem with Intel
drivers. It seems that if mipmapped textures are used then updating a
sub-region occasionally causes it to lose the texture data so some of
the earlier glyphs in the glyph cache disappear. The problem can be
avoided by disabling mipmapped text with clutter_set_use_mipmapped_text.

This is discussed briefly in bug 1205:
http://bugzilla.openedhand.com/show_bug.cgi?id=1205

Regards,
- Neil

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] [report] clutter weekly report - w2

2009-01-12 Thread Emmanuele Bassi
hi everyone;

slightly late report after the holidays break - hope you all had a nice
time.

= development branch: (master) =

+ merged branch 'units-rework'
  - this branch fixed some improper internal usage of the Unit type
and it makes changing the internal implementation of a ClutterUnit
safe
+ merged branch 'text-actor'
  - the 'text-actor' branch contained the ClutterText actor, a
replacement of both ClutterLabel and ClutterEntry; ClutterText
is a drop-in replacement for everything that ClutterLabel and
ClutterEntry currently provide -- plus multi-line editing and
selection.
  - some bugs are still present, especially with selection handling
and key navigation
+ merged branch 'animation-improvements'
  - this branch included improvements to the new implicit animation
API as discussed in bug 1014, including setting custom progress
functions for GTypes and overriding the animation progress by
using a new, ClutterAnimatable interface
+ merged branch 'multiple-texture-rectangle'
  - this branch contained new API that allowed uploading multiple
texture rectangles in one operation; this should speed up text
rendering on GL by a factor of 2x-2.5x by uploading multiple
glyphs at the same time (see bug 1289)
+ fix for a race condition on X11
  - Clutter called glViewport() before knowing that the Drawable
had been effectively resized by X; the code has now been reworked
so that glViewport() is only ncalled when a ConfigureNotify event
has been called; this requires an update in the integration
libraries for embedding a Stage into another toolkit. clutter-gtk
HEAD has already been fixed

= experimental branches =

+ new experimental branches for 1.0 features that are going
  to be merged or are being considered for merging:
  - 'async-textures' -- a branch for adding threaded loading
of textures from disk
  - 'units-to-float' -- a branch changing the ClutterUnit typedef
to single precision floating point
  - 'cogl-float' -- a branch dropping fixed point from COGL whenever
it does not make sense; the fixed point types and API is still
available for embedded platforms to use

= stable branch: (clutter-0-8) =

+ backported a variant of the X11 race fix

= releases =

+ the tentative relese plan for Clutter 1.0 is:
  - Clutter 0.9.0 is scheduled for the end of this week; this release
will be API slushy (mostly frozen, except for API fixes)
  - Clutter 0.9.2 is scheduled for 2009-01-30; this release will be
API frozen
  - Clutter 0.9.4 is scheduled for 2009-02-13; will be the 1.0.0-rc1
  - Clutter 1.0.0 is scheduled for 2009-02-27

= bugzilla =

+ 118 bugs opened against Clutter core
+ 10 bugs with 0.8 target milestone (bugs that can, or may be fixed in
  'master' and backported to the current stable branch)
+ 16 bugs with 1.0 target milestone (bugs that should be fixed in
  'master' before 1.0.0 is released)

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Intel Open Source Technology Center

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com