summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_staging.c
AgeCommit message (Collapse)Author
2010-08-21auxiliary: add copyright headersLuca Barbieri
Thanks to Jose Fonseca for pointing out they were missing.
2010-08-20u_staging: improve interfaceLuca Barbieri
2010-08-20u_staging: use PIPE_TEXTURE_RECTLuca Barbieri
2010-08-11u_staging: remove useless inline keywordLuca Barbieri
2010-08-11auxiliary: Make u_staging.c MSVC compatible.Vinson Lee
Fixes MSVC build.
2010-08-11auxiliary: support for transfers using staging resourcesLuca Barbieri
Direct3D 10/11 has no concept of transfers. Applications instead create resources with a STAGING or DYNAMIC usage, copy between them and the real resource and use Map to map the STAGING/DYNAMIC resource. This util module allows to implement Gallium drivers as a Direct3D driver would be implemented: transfers allocate a resource with PIPE_USAGE_STAGING, and copy the data between it and the real resource with resource_copy_region.