Welcome, Guest. Please login or register.

Author Topic: AEROS for Pi - beta available on SD-card  (Read 2956 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bbond007

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
Re: AEROS for Pi - beta available on SD-card
« on: June 18, 2013, 02:49:33 AM »
Quote from: ChaosLord;738184
Is it possible for me to perform Hardware Assisted AlphaBlitting when using AROS?

Or must I do all alphablending using the CPU?

as long as the OpenMax libraries are installed you should be able to open an 32bit RGBA OpenGL ES or OpenVG in full screen(or window) that exists on an independent plane/layer than the X11 window manager which in this case is Aros.

I do this in a program I wrote for the RPi I track the position and mouse movements of a dummy X11 window and move my hardware OpenVG "window" around accordingly. Most likely X11 is running in 16bpp anyway....

right around there.

https://github.com/bbond007/raspytube/blob/master/kbjs.c#L648

and here:

https://github.com/bbond007/raspytube/blob/master/gfxlib.c#L653
« Last Edit: June 18, 2013, 01:37:44 PM by bbond007 »
 

Offline bbond007

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show all replies
Re: AEROS for Pi - beta available on SD-card
« Reply #1 on: June 18, 2013, 04:01:42 AM »
Quote from: ChaosLord;738192
I guess what you are saying is "AROS has no built-in AlphaBlitting functions but you can get around that limitation by using an OpenMax library" ?

Is OpenMax.library an AmigaOS style shared library?

Why isn't OpenMax library included with AROS?


I'm not saying anything about the blitting capabilities of Aros. I'm just saying that I understand that it runs on an X11 server acting as a window manager, and the accelerated capabilities of the X11 server are quite limited and the X11 server (on the RPi) typically runs in 16bpp anyway due to performance reasons.

Much like on the amiga (where you need to access hardware & software API's to program the cooper, blitter, paula, etc.)  on the RPi you'll most likely want to take advantage of the BCM 2835 via the VideoCore API which I was confusing for OpenMax.

http://elinux.org/RPi_VideoCore_APIs

Anyway, who says its not included? I'd assume its probably is... if not i'm sure its one "apt-get" away.

The code I linked to just showed trick method of making a 32BIT RGBA window appear on a 16bit X11 desktop.
« Last Edit: June 18, 2013, 04:19:00 AM by bbond007 »