diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-10-04 14:38:54 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-10-08 16:41:44 +0300 |
commit | 3415b197c60a9e9f74d44ece3cbafa8ddb598b97 (patch) | |
tree | a3376f9c5602b21072ec63945535c32d0f68138b /lib/intel_batchbuffer.c | |
parent | b121f7d42c260ae3a050c3f440d1c11f7cff7d1a (diff) |
fb: Add buffer map/unmap functions
The current code to manipulate the buffer has the assumption that we can
create an underlying cairo instance.
However, when it comes to supporting various formats, cairo is very limited
so we would need to decouple the buffer access from cairo surfaces.
Let's create a function that allows to map the underlying GEM buffer from
an igt_fb structure, which will then allow use to manipulate as we wish.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions