Skip to content
Snippets Groups Projects
Commit 98053575 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

modesetting: Create a drmmode_bo wrapper; use it for front_bo.


This code is going to be extended to support GBM BOs soon.  This small
abstraction removes a lot of direct dumb_bo access, so we can add that
support in one place, rather than putting conditionals at every
pitch/handle/etc access.

Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Tested-by: default avatarJason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
parent c6388964
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment