Home
last modified time | relevance | path

Searched refs:gbm_surface (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gbm/main/
Dgbmint.h91 struct gbm_surface *(*surface_create)(struct gbm_device *gbm,
96 struct gbm_bo *(*surface_lock_front_buffer)(struct gbm_surface *surface);
97 void (*surface_release_buffer)(struct gbm_surface *surface,
99 int (*surface_has_free_buffers)(struct gbm_surface *surface);
100 void (*surface_destroy)(struct gbm_surface *surface);
119 struct gbm_surface { struct
Dgbm.h48 struct gbm_surface;
398 struct gbm_surface *
403 struct gbm_surface *
411 gbm_surface_lock_front_buffer(struct gbm_surface *surface);
414 gbm_surface_release_buffer(struct gbm_surface *surface, struct gbm_bo *bo);
417 gbm_surface_has_free_buffers(struct gbm_surface *surface);
420 gbm_surface_destroy(struct gbm_surface *surface);
Dgbm.c603 GBM_EXPORT struct gbm_surface *
611 GBM_EXPORT struct gbm_surface *
637 gbm_surface_destroy(struct gbm_surface *surf) in gbm_surface_destroy()
664 gbm_surface_lock_front_buffer(struct gbm_surface *surf) in gbm_surface_lock_front_buffer()
682 gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo) in gbm_surface_release_buffer()
704 gbm_surface_has_free_buffers(struct gbm_surface *surf) in gbm_surface_has_free_buffers()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dminigbm_bindings.rs27 pub struct gbm_surface { struct
214 ) -> *mut gbm_surface; in gbm_surface_create() argument
224 ) -> *mut gbm_surface; in gbm_surface_create_with_modifiers() argument
227 pub fn gbm_surface_lock_front_buffer(surface: *mut gbm_surface) -> *mut gbm_bo; in gbm_surface_lock_front_buffer()
230 pub fn gbm_surface_release_buffer(surface: *mut gbm_surface, bo: *mut gbm_bo); in gbm_surface_release_buffer() argument
233 pub fn gbm_surface_has_free_buffers(surface: *mut gbm_surface) -> c_int; in gbm_surface_has_free_buffers()
236 pub fn gbm_surface_destroy(surface: *mut gbm_surface); in gbm_surface_destroy() argument
/external/minigbm/
Dgbm.h48 struct gbm_surface;
449 struct gbm_surface *
454 struct gbm_surface *
462 gbm_surface_lock_front_buffer(struct gbm_surface *surface);
465 gbm_surface_release_buffer(struct gbm_surface *surface, struct gbm_bo *bo);
468 gbm_surface_has_free_buffers(struct gbm_surface *surface);
471 gbm_surface_destroy(struct gbm_surface *surface);
Dgbm.c74 PUBLIC struct gbm_surface *gbm_surface_create(struct gbm_device *gbm, uint32_t width, in gbm_surface_create()
77 struct gbm_surface *surface = (struct gbm_surface *)malloc(sizeof(*surface)); in gbm_surface_create()
85 PUBLIC struct gbm_surface *gbm_surface_create_with_modifiers(struct gbm_device *gbm, uint32_t width, in gbm_surface_create_with_modifiers()
96 PUBLIC struct gbm_bo *gbm_surface_lock_front_buffer(struct gbm_surface *surface) in gbm_surface_lock_front_buffer()
101 PUBLIC void gbm_surface_release_buffer(struct gbm_surface *surface, struct gbm_bo *bo) in gbm_surface_release_buffer()
105 PUBLIC int gbm_surface_has_free_buffers(struct gbm_surface *surface) in gbm_surface_has_free_buffers()
110 PUBLIC void gbm_surface_destroy(struct gbm_surface *surface) in gbm_surface_destroy()
Dgbm_priv.h21 struct gbm_surface { struct
/external/mesa3d/src/gbm/backends/dri/
Dgbm_driint.h134 struct gbm_surface base;
152 gbm_dri_surface(struct gbm_surface *surface) in gbm_dri_surface()
Dgbm_dri.c1265 static struct gbm_surface *
1329 gbm_dri_surface_destroy(struct gbm_surface *_surf) in gbm_dri_surface_destroy()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c45 lock_front_buffer(struct gbm_surface *_surf) in lock_front_buffer()
68 release_buffer(struct gbm_surface *_surf, struct gbm_bo *bo) in release_buffer()
82 has_free_buffers(struct gbm_surface *_surf) in has_free_buffers()
97 struct gbm_surface *surface) in dri2_drm_config_is_compatible()
147 struct gbm_surface *surface = native_surface; in dri2_drm_create_window_surface()
/external/libkmsxx/kmscube/
Dcube-gbm.cpp82 struct gbm_surface* handle() const { return m_surface; } in handle()
85 struct gbm_surface* m_surface;