[Pharo-dev] GPU accelerated GUI

Camille Teruel camille.teruel at gmail.com
Sat May 31 18:23:53 EDT 2014


On 31 mai 2014, at 20:21, Hilaire Fernandes <hilaire.fernandes at gmail.com> wrote:

> I know the points you described but my point was really it could help --
> as Esteban rephrased it -- if we have a place to write down
> stuff/idea/things to do/technical info related to Pharo improvement. It
> is helpful to point someone to as a starting point.

A good place to discuss and write down ideas and co could be fogbugz' "discussion" feature.
I once set up several discussion topics there but nobody filled them yet.  

> 
> PS: As far as I knwo Cairo is only software based no hw accelerated.
> 
> Le 31/05/2014 16:37, Clément Bera a écrit :
>> Hello,
>> 
>> Typically for a new contribution, one write a new task in the bugtracker
>> and then fix it (here: https://pharo.fogbugz.com/).
>> 
>> The 2 issues I mentioned, Morphic and BitBlt performance are well-known
>> issues in the Pharo team. Some projects have been started to solve these
>> issues: a refactoring of Morphic and Athens. To what I understood,
>> Athens is supposed to replace the bottom layer of Morphic, BitBlt should
>> be replaced by Cairo (binded with NativeBoost) and the top layer of
>> Morphic should be refactored.
>> 
>> A guy was hired to work on these projects, but he left after a month and
>> the Pharo team lost over 65keuros. So the 2 projects got kind of
>> delayed, we're sorry about it.
>> 
>> I think you should talk directly to the the persons responsible for
>> these projects to know what to do to help. The Morphic refactoring is
>> leaded by Stephane Ducasse (and/or Alain Plantec ?) and Athens is leaded
>> by Igor Stasenko. They can tell you on what to do to improve the UI. I
>> know that recently Igor was working on a new/cleaner/faster TextEditor.
>> Stef and Alain have committed several changes to Morph during the past
>> years.
>> 
>> I cannot tell you what to do on these projects because I am working on
>> Smalltalk code execution speed improvement (Cog JIT performance) and I
>> am not deeply aware of recent advancements on these specific projects.
>> So please Ask Stef or Igor.
>> 
>> PS: I was reading again my previous mail, I realized that Athens relies
>> on Cairo so it probably uses GPU accelerated GUI.
>> 
>> Clément
>> 
>> 2014-05-31 15:01 GMT+02:00 Hilaire Fernandes
>> <hilaire.fernandes at gmail.com
>> <mailto:hilaire.fernandes at gmail.com>>:
>> 
>>    Can we collect somewhere in the web the information you mentioned and
>>    other more accurate? Ideally a wiki. Is there a dedicated place for
>>    Pharo? The wiki bugtracker?
>>    I guess most of us does not know where to look at for improvement.
>>    Asking to a newbie to contribute does not really help if we can't
>>    provide direction.
>> 
>>    Hilaire
>> 
>> 
>> 
>>    Le 31/05/2014 10:48, Clément Bera a écrit :
>>> One is that the Morphic-based UI is slow. You can see it by using the
>>> old MVC instead of Morphic which goes faster. Recently Morphic got
>>> slower on Pharo and it is now slower than in Squeak. It may be due to
>>> refactoring on Morphic in order to get it better, it may not be. I
>>    guess
>>> this is temporary.
>>> 
>>> The second thing is that BitBlt is slow for 2 reasons: it is bit based
>>> and not vector based and its implementation half in the VM half in the
>>> image forces to copy a huge number of bits that could be avoided
>>> 
>>> So the answer is that you need to contribute to the refactoring of
>>> Morphic or to Athens.
>>> 
>> 
>>    --
>>    Dr. Geo http://drgeo.eu
>> 
>> 
>> 
> 
> -- 
> Dr. Geo http://drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140601/8aa3d405/attachment-0002.html>


More information about the Pharo-dev mailing list