summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2010-02-15 13:45:28 +0200
committerMichel Dänzer <daenzer@vmware.com>2010-02-15 16:48:06 +0100
commit3ec25e59854b6b03ad763bc374d3475a50f562d8 (patch)
tree2ae091fb70ef837162e64f48bd8d6abe02a2eadf /src/radeon.h
parent221ef11b31756deb7134801730e76c040e841f5c (diff)
Use memcpy instead of memove for RADEONSwapCopy.
memcpy has about 25% better performance than memmove when destination is GTT (wc caching). Changing memmove to memcpy in SwapCopy will reduce CPU time spent moving data between host and GPU. memcpy will specially help Xv when playing high resolution videos. The swap path doesn't support overlapping memory copies either so extra safety is not worth the performance hit in commonly used code path. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> [ Michel Dänzer: Fixed up whitespace ]
Diffstat (limited to 'src/radeon.h')
0 files changed, 0 insertions, 0 deletions