[Android] [PATCH 4/4] Enable iomx direct rendering if "full acceleration" is chosen

Martin Storsjö martin at martin.st
Fri Jul 25 01:24:15 CEST 2014


On Fri, 25 Jul 2014, Jean-Baptiste Kempf wrote:

> On 25 Jul, Martin Storsjö wrote :
>> +        (hardwareAcceleration == HW_ACCELERATION_FULL) ? IOMX_DR : "--no-mediacodec-dr",
>
> (hardwareAcceleration == HW_ACCELERATION_FULL) ? "--omxil-dr" : "--no-mediacodec-dr"
>
> So we have different defaults for iomx and mediacodec?

Yes, they were set differently - perhaps because the iomx stuff is more 
hacky than mediacodec and might not deserve being enabled by default... In 
the end, it doesn't matter much what it is set to by default since it's 
all controlled by the UI settings anyway, so perhaps we should switch the 
default to match, to keep it consistent.

// Martin


More information about the Android mailing list