diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-05-29 18:53:50 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-06-15 17:20:43 +0900 |
commit | d3ea8a69b02b308f8f23662be6e0c7bd81c1a2c9 (patch) | |
tree | b22f4888c33ff48a06a980987bb87a42a9b21b36 /src/amdgpu_pixmap.h | |
parent | 895e4d73d5f042afa13065b64a78f5625ecb5612 (diff) |
glamor: Add wrappers for the X server rendering hooks
They can choose between using the GPU or CPU for the operation.
(cherry picked from radeon commits eea79472a84672ee4dc7adc4487cec6a4037048a
and e58fc380ccf2a581d28f041fd74b963626ca5404)
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_pixmap.h')
-rw-r--r-- | src/amdgpu_pixmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amdgpu_pixmap.h b/src/amdgpu_pixmap.h index c5cf137..a5dc081 100644 --- a/src/amdgpu_pixmap.h +++ b/src/amdgpu_pixmap.h @@ -29,6 +29,9 @@ #include "amdgpu_drv.h" struct amdgpu_pixmap { + uint_fast32_t gpu_read; + uint_fast32_t gpu_write; + struct amdgpu_buffer *bo; int stride; }; |