[Mesa-dev] [PATCH] intel: Improve teximage perf for Google Chrome paint rects (v3)

Eric Anholt eric at anholt.net
Fri Sep 21 02:40:07 PDT 2012


Chad Versace <chad.versace at linux.intel.com> writes:

> This patch reduces the time spent in glTexImage and glTexSubImage by
> over 5x on Sandybridge for the workload described below.
>
> It adds a new fast path for glTexImage2D and glTexSubImage2D,
> intel_texsubimage_tiled_memcpy, which is optimized for Google Chrome's
> paint rectangles. The fast path is implemented only for 2D GL_BGRA
> textures for chipsets with a LLC.

Acked-by: Eric Anholt <eric at anholt.net>

(I reviewed parts of v2, but not the actual math in the loop)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120921/8ea90dc9/attachment.pgp>


More information about the mesa-dev mailing list