OSDN Git Service

intel: Add support for (possibly) unsynchronized maps.
authorEric Anholt <eric@anholt.net>
Fri, 10 Feb 2012 12:12:15 +0000 (04:12 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 10 Mar 2012 17:21:33 +0000 (09:21 -0800)
commit99c73378a1b440bcf594742445dfe14ab1e89128
treedd8f8185289671afa3897c4d91cc93f5993be920
parent3a8884851b72af012a8cb2beea320f094a58e5eb
intel: Add support for (possibly) unsynchronized maps.

This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path
in GL_ARB_map_buffer_range.  Improves Unigine Tropics performance at
1024x768 by 2.30482% +/- 0.0492146% (n=61)

v2: Fix comment grammar.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr.h
intel/intel_bufmgr_gem.c