Open Bug 729700 Opened 12 years ago Updated 2 years ago

don't render to 16-bit textures on mobile

Categories

(Core :: Graphics, defect)

All
Android
defect

Tracking

()

People

(Reporter: gal, Unassigned)

Details

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.
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.
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.