don't render to 16-bit textures on mobile

NEW
Unassigned

Status

()

7 years ago
7 years ago

People

(Reporter: gal, Unassigned)

Tracking

Trunk
All
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
We tested performance of this on a very low end device, and it doesn't make any difference for the frame rate. Memory utilization is unlikely to be significantly less for most content either. Rendering to 16-bit textures is known to cause issues on modern hardware like the Galaxy S2, so we should just stay away from this hack.
(Reporter)

Updated

7 years ago
OS: Mac OS X → Android
Hardware: x86 → All
Should we also test this with WebGL rendering? Currently we will render to RGB565 if a canvas is requested without alpha.
(Reporter)

Comment 2

7 years ago
We tested this visually. We want to whip up a real measurement on the device. We should do the same with canvas. Also, probably not a good idea to step in front of the MWC train, so lets do this right after.
If we render to RGB565 for WebGL, but still use readback, we convert through BGRA, possibly even having to convert between RGBA and BGRA in software if the device doesn't support BGRA readback.
You need to log in before you can comment on or make changes to this bug.