Click Here
home features news forums classifieds faqs links search
6127 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 ppcamiga1:  15 mins ago
 agami:  34 mins ago
 Hammer:  1 hr 50 mins ago
 MEGA_RJ_MICAL:  2 hrs 5 mins ago
 DiscreetFX:  2 hrs 45 mins ago
 matthey:  3 hrs 11 mins ago
 RobertB:  3 hrs 34 mins ago
 coder76:  3 hrs 49 mins ago
 bhabbott:  4 hrs 24 mins ago
 NutsAboutAmiga:  4 hrs 50 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Does Workbench use Cairo?
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
pavlor 
Does Workbench use Cairo?
Posted on 14-Sep-2010 10:03:40
#1 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9687
From: Unknown

We (me and Xorxos) need some facts for Wikipedia´s Workbench article. Anyone knows if Workbench in OS4.1 uses cairo for some visual effects?

 Status: Offline
Profile     Report this post  
xeron 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 10:15:45
#2 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@pavlor

No.

_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
pavlor 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 10:16:37
#3 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9687
From: Unknown

@xeron

Thanks! Simple and fast answer I needed.

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 12:26:46
#4 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

@all:
if I'm not wrong, Amiga OS 4.1 update 2 uses Cairo partial hardware support for compositing. this information must be checked. Not sure.

Kindest Regards,
AmiDARK.

 Status: Offline
Profile     Report this post  
salass00 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 13:35:37
#5 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

@AmiDARK

You're wrong.

The intuition window compositing feature uses Composite() function from graphics.library (not Cairo). Incidentally this function is also used by the OS4.1upd2 Cairo implementation.

 Status: Offline
Profile     Report this post  
ssolie 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 16:35:39
#6 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@pavlor
Not yet.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 16:37:37
#7 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

@salass00
I've checked the update list ...
And effectively "not yet" ...
But I didn't find the Caïro SDK help ... Any clue ?

Kindest Regards,
AmiDARK.

 Status: Offline
Profile     Report this post  
-Sam- 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 16:39:10
#8 ]
Elite Member
Joined: 18-Apr-2003
Posts: 3046
From: Yorkshire Dales, United Knigdom

@ssolie

What advantages would using Cairo bring to Workbench?

_________________
Sam

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 16:51:24
#9 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@pavlor
I guess it depends on what you mean by "uses cario". It's used by ALL programs that have Compositing enabled for their screen, and so to this extent it is used by Workbench. But I doubt there is any Workbench code which specifically calls Cairo itself.

Composited screens have partial transparency, and since Update 2 the windows also have shadows (and in fact the screen title bar has a shadow as well).

Also, the Ringhio notification system probably uses Cairo, since it fades notifications in/out on composited screens.

Last edited by ChrisH on 14-Sep-2010 at 04:52 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Ami603 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 16:56:30
#10 ]
Cult Member
Joined: 7-Mar-2003
Posts: 580
From: Valencia,Spain 8-)

@ChrisH

Seems people is mixing the Porter-Duff compositing engine that AmigaOS4.1 sports, with an HW accelerated port of Cairo, which should be useful for those applications that use it on other platforms (Mozilla comes to mind), in the future the workbench could make use of it, now, Ringhio,Workbench, etc all use the compositing engine.

_________________
Cuida tus piedras gordas.

A1200/030 32Mb
A4000D
A1-X1000.

 Status: Offline
Profile     Report this post  
Raffaele 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 17:39:38
#11 ]
Super Member
Joined: 7-Dec-2005
Posts: 1906
From: Naples, Italy

@pavlor

Quote:

pavlor wrote:
We (me and Xorxos) need some facts for Wikipedia´s Workbench article. Anyone knows if Workbench in OS4.1 uses cairo for some visual effects?


The facts of Cairo as embedded into Workbench were edited by me in Wikipedia, but I just reported some public announcements.

I have no Ideas on about how much it is implemented Cairo into Workbench and what it is required to activate it...

For example icons are not vector icons aren't they?

The zoom feature is hardware based but it is not Cairo based, isn't it?

In my ignorance I think that Cairo features should be implemented step by step, by the single programs to be active.

Correct my statements if I am wrong.

_________________
"When the Amiga came out, everyone [at Apple] was scared as hell." (J.L. Gassée, former CEO of Apple France and chief of devs of Mac II-fx, interviewed by Amazing Computing, Nov 1996).

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 18:17:52
#12 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12987
From: Norway

@Raffaele

Quote:
For example icons are not vector icons aren't they?


The Icons are scalable but not vectors.

The icon.library support plug-in: So it totally possible to load vector icons if you wrote a plug-in.

Quote:
The zoom feature is hardware based but it is not Cairo based, isn't it?


Yes.

"The intuition window compositing feature uses Composite() function from graphics.library"

Quote:
In my ignorance I think that Cairo features should be implemented step by step


Way?
Is Cairo not just high level interface to low level API’s like intuition?

Last edited by NutsAboutAmiga on 14-Sep-2010 at 06:19 PM.
Last edited by NutsAboutAmiga on 14-Sep-2010 at 06:18 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Rob 
Re: Does Workbench use Cairo?
Posted on 14-Sep-2010 20:25:22
#13 ]
Elite Member
Joined: 20-Mar-2003
Posts: 6403
From: S.Wales

@pavlor

The compositing engine and Cairo are two separate entities. Cairo makes sense if you are porting an application that's already using Cairo for it's rendering engine. Using Cairo for the OS functions is just adding an extra unnecessary layer. A bit like putting a plastic glove on to pick up a dog turd that's already safely wrapped up in a plastic bag.

Last edited by Rob on 14-Sep-2010 at 08:26 PM.

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 8:00:19
#14 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@Ami603 Quote:
Seems people is mixing the Porter-Duff compositing engine that AmigaOS4.1 sports, with an HW accelerated port of Cairo

Perhaps you could enlighten us as to which bit of software is responsible for the transparent windows & window shadows (i.e. Porter-Duff compositing), if Cairo isn't? I assumed it was.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Slash 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 8:07:49
#15 ]
Cult Member
Joined: 10-Mar-2003
Posts: 686
From: Newcastle-upon-Tyne, UK

@Rob

Quote:
A bit like putting a plastic glove on to pick up a dog turd that's already safely wrapped up in a plastic bag.


Haha... great analogy!

_________________
This fire is burnin' and it's out of control
It's not a problem you can stop, It's rock n' roll - GN'F'N'R

 Status: Offline
Profile     Report this post  
Troels 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 8:15:40
#16 ]
Elite Member
Joined: 8-Mar-2003
Posts: 2005
From: Unknown

@Slash
Yeah I'm sick and tired of car analogies, so this was a nice change:)

_________________

 Status: Offline
Profile     Report this post  
broadblues 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 8:16:05
#17 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4449
From: Portsmouth England

@ChrisH

graphics.libray/CompositeTagList - Compose one bitmap onto another (V53) would be my best guess....

Last edited by broadblues on 15-Sep-2010 at 08:17 AM.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
centaurz 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 8:19:50
#18 ]
Member
Joined: 16-Feb-2006
Posts: 65
From: France

@ChrisH

Like many already said, the compositing engine is called through graphics.library/Composite() (and probably resides somewhere in the Radeon driver).
On composited Intuition screens, instead of performing traditional 2D blits on a single bitmap, layers.library use the 3D hardware to blend each window bitmap on the screen.

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 9:05:45
#19 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

@Rob
Quote:
The compositing engine and Cairo are two separate entities. Cairo makes sense if you are porting an application that's already using Cairo for it's rendering engine. Using Cairo for the OS functions is just adding an extra unnecessary layer. A bit like putting a plastic glove on to pick up a dog turd that's already safely wrapped up in a plastic bag.


But, it's maybe interesting to directly develop an app using Caïro when possible instead of OS API. Not ?

Regards,
AmiDARK.

 Status: Offline
Profile     Report this post  
olegil 
Re: Does Workbench use Cairo?
Posted on 15-Sep-2010 11:32:52
#20 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5900
From: Work

@Rob

Hah. That's a crap analogy and you know it

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle