garbear / xbmc

XBMC Main Repository
http://xbmc.org
Other
134 stars 53 forks source link

[RetroPlayer] Set Amlogic GPU to ignore alpha channel when appropriate #97

Closed GTechAlpha closed 6 years ago

GTechAlpha commented 6 years ago

Description

Set an Amlogic chip to ignore the alpha channel, when appropriate. The proprietary OpenGL lib and driver do not (currently) handle this, potentially resulting in a black screen. This capability is only present in S905 chips and higher.

Motivation and Context

Black screen on some AML devices when color space containing unused alpha channel is used.

How Has This Been Tested?

Tested using Nestopia on Odroid-C2.

Screenshots (if appropriate):

Types of change

garbear commented 6 years ago

Only problem is we don't put platform code outside of a platforms folder. For RetroPlayer this is the process/ folder. I sent https://github.com/GTechAlpha/xbmc/pull/2 to fix this.

garbear commented 6 years ago

Can you rebase out my stray commit? I dropped it in my main branch because it's not needed.

GTechAlpha commented 6 years ago

Updated. Should be good to go now.