We should add trilinear filtering support to compositor and use it for overview mode. This will reduce aliasing artifacts and improve rendering performance.
It should be possible to do this efficiently now that we have render surface caching. The idea is:
- Add a new layer flag to enable trilinear filtering.
- Layers with trilinear filtering will require a render surface.
- GenerateMipmap will be called after updating the render surface.
- GLRenderer will use GL_LINEAR_MIPMAP_LINEAR when drawing the render surface.
- Chrome OS UI can enable render surface caching to avoid unnecessary updates of render surface and calls to GenerateMipmap.
Comment 1 by reve...@chromium.org
, Aug 18 2017