[Sugar-devel] TA cairo conversion

Walter Bender walter.bender at gmail.com
Fri Nov 11 11:17:19 EST 2011


On Fri, Nov 11, 2011 at 11:00 AM, C. Scott Ananian <cscott at laptop.org> wrote:
> On Fri, Nov 11, 2011 at 10:10 AM, Walter Bender <walter.bender at gmail.com> wrote:
>> On Thu, Nov 10, 2011 at 7:16 PM, C. Scott Ananian <cscott at laptop.org> wrote:
>>> Current version on the cscott-gtk3 branch works on GTK3.  Some functionality
>>> might be missing: I've just discovered a bug in the gir bindings for
>>> gtk_pixmap_get_pixels() which makes 'read pixel' break in gtk3, for
>>> instance.  GTK2 operation should have no regressions. (Testing welcome!)
>>
>> I finally got my head wrapped around the surface caching issue in the
>> sprite library. Not sure it will make too much of a difference, but it
>> is working. I have one more optimization in terms of memory footprint
>> I'll play with and then I plan to merge your branch into my
>> mainline... Stay tuned.

Just tested my latest patches on an XO-1. Doesn't seem to be any
degradation in terms of performance.

>
> I fixed 'read pixel' on my branch.

Great. In my refactoring of the sprite library, get_pixel is much the
same as the one on the canvas and much much more simple.

>  I was noticing that tiles
> sometimes 'stay pressed' after I click on them; that's in both GTK2
> and GTK3 but I *think* is a cairo-branch thing, independent of my
> changes.  There seems to be a kludged call to _expose_cb() in the
> button-press handler, maybe to work around this?

I hadn't seen this, but will check it out.

>
> Anyway, let me know when you're stable again and I'll do another
> rebase.

Other than looking into the button press issue you've raised, I think
TA-123 is ready to go. I am on the fence about two things:

(1) Maybe release this version (cairo) and make 124 the gtk-3 rebased
on your patches.
(2) Should I add my Physics toolbar plugin to the release or leave it
as a separate install... If you haven't tried it, it is really fun.
But perhaps a distraction?

>  Today I expect to get turtleart running in the browser, using
> the GTK3 Broadway stuff.

Cool. Let me know how it goes.

-walter

>  --scott
>
> --
>       ( http://cscott.net )
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list