Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users





Best method to blit a frame buffer in a rastport

Joined:
1/16 4:08
From France
Group:
Member
Posts: 6
Offline
I'm currently in the process of porting a MorphOS software to AROS (and AmigaOS 4).

This software is generating a real time display in the form of frame buffer (which could be of any format: ARGB32, RGBA32, RBG15...) and I was wondering what is the best way on AROS to put this frame buffer into a rastport (or an overlay?).

On MorphOS, there are three display engines. The best one is the overlay (very fast and bilinear filter). Another one is using TinyGL but it is not very efficient (I guess it is not using the good GL method). And the last one is using ScaleWritePixelArray() (which actually looks accelerated on most hardwares).

By now, my AROS port is working using the ScaleWritePixelArray(). I'm targerting AEROS on Raspberry Pi... and it looks to be quite a slow method.

I'm already implementing a dedicated display engine for AmigaOS 4 port (using the compositing APIs), and I would like to also add a dedicated one for AROS.

So, what would be the best rendering method to use on AROS in this case?

Thank you!

Posted on: 2/16 11:50
Transfer the post to other applications Transfer


Re: Best method to blit a frame buffer in a rastport

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 1940
Offline
Quote:

Jeckel wrote:
I'm currently in the process of porting a MorphOS software to AROS (and AmigaOS 4).

This software is generating a real time display in the form of frame buffer (which could be of any format: ARGB32, RGBA32, RBG15...) and I was wondering what is the best way on AROS to put this frame buffer into a rastport (or an overlay?).

On MorphOS, there are three display engines. The best one is the overlay (very fast and bilinear filter). Another one is using TinyGL but it is not very efficient (I guess it is not using the good GL method). And the last one is using ScaleWritePixelArray() (which actually looks accelerated on most hardwares).


Your could use either OpenGL or ScaleWritePixelArray, however neither is guaranteed/likely to be hardware accelerated.

on hosted builds a lot of gfx operations can be painfully slow, and while there is the option of hostgl - if it works at all for you is hit and miss, and even then the way it works isn't particularly safe.

Quote:

By now, my AROS port is working using the ScaleWritePixelArray(). I'm targerting AEROS on Raspberry Pi... and it looks to be quite a slow method.

I'm already implementing a dedicated display engine for AmigaOS 4 port (using the compositing APIs), and I would like to also add a dedicated one for AROS.

So, what would be the best rendering method to use on AROS in this case?

Thank you!

Posted on: 2/16 17:37
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: Best method to blit a frame buffer in a rastport

Joined:
1/16 4:08
From France
Group:
Member
Posts: 6
Offline
Ok, thanks.

So I think I'm out of luck again. :)

Posted on: Yesterday 5:27
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4154
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3870
4 nikolaos
nikolaos
3623
5 deadwood
deadwood
2915
6 ncafferkey
ncafferkey
2511
7 mazze
mazze
2192
8 clusteruk
clusteruk
2055
9 Kalamatee
Kalamatee
1940
10 damocles
damocles
1789
© 2004-2014 AROS Exec