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

Kenneth Graunke kenneth at whitecape.org
Tue Sep 25 17:37:08 PDT 2012


On 09/20/2012 12:55 PM, Chad Versace wrote:
> 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.

Chad,

This causes a certain game we've been looking at to segfault on startup
with bizarre malloc errors.  I haven't looked into why yet, but
reverting it fixes the problem.

--Ken


More information about the mesa-dev mailing list