anv/android: Enable shared presentable image support
Signed-off-by: Chris Spencer <spencercw@gmail.com> Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24941>
This commit is contained in:
@@ -63,6 +63,9 @@
|
||||
#include "util/set.h"
|
||||
#include "util/sparse_array.h"
|
||||
#include "util/u_atomic.h"
|
||||
#ifdef ANDROID
|
||||
#include "util/u_gralloc/u_gralloc.h"
|
||||
#endif
|
||||
#include "util/u_vector.h"
|
||||
#include "util/u_math.h"
|
||||
#include "util/vma.h"
|
||||
@@ -1298,6 +1301,9 @@ struct anv_device {
|
||||
|
||||
uint32_t draw_call_count;
|
||||
struct anv_state breakpoint;
|
||||
#ifdef ANDROID
|
||||
struct u_gralloc *u_gralloc;
|
||||
#endif
|
||||
};
|
||||
|
||||
static inline struct anv_state
|
||||
|
Reference in New Issue
Block a user