Home
last modified time | relevance | path

Searched refs:gbm (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/gbm/main/
Dgbm.c53 gbm_device_get_fd(struct gbm_device *gbm) in gbm_device_get_fd() argument
55 return gbm->fd; in gbm_device_get_fd()
64 gbm_device_get_backend_name(struct gbm_device *gbm) in gbm_device_get_backend_name() argument
66 return gbm->name; in gbm_device_get_backend_name()
82 gbm_device_is_format_supported(struct gbm_device *gbm, in gbm_device_is_format_supported() argument
85 return gbm->is_format_supported(gbm, format, usage); in gbm_device_is_format_supported()
93 gbm_device_destroy(struct gbm_device *gbm) in gbm_device_destroy() argument
95 gbm->refcount--; in gbm_device_destroy()
96 if (gbm->refcount == 0) in gbm_device_destroy()
97 gbm->destroy(gbm); in gbm_device_destroy()
[all …]
Dgbmint.h60 void (*destroy)(struct gbm_device *gbm);
61 int (*is_format_supported)(struct gbm_device *gbm,
65 struct gbm_bo *(*bo_create)(struct gbm_device *gbm,
69 struct gbm_bo *(*bo_import)(struct gbm_device *gbm, uint32_t type,
81 struct gbm_surface *(*surface_create)(struct gbm_device *gbm,
97 struct gbm_device *gbm; member
108 struct gbm_device *gbm; member
Dgbm.h226 gbm_device_get_fd(struct gbm_device *gbm);
229 gbm_device_get_backend_name(struct gbm_device *gbm);
232 gbm_device_is_format_supported(struct gbm_device *gbm,
236 gbm_device_destroy(struct gbm_device *gbm);
242 gbm_bo_create(struct gbm_device *gbm,
259 gbm_bo_import(struct gbm_device *gbm, uint32_t type,
332 gbm_surface_create(struct gbm_device *gbm,
Dgbm.pc.in6 Name: gbm name
7 Description: Mesa gbm library
/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c38 static struct gbm_device *gbm; variable
272 gbm = gbm_create_device(fd); in test_init()
274 CHECK(gbm_device_get_fd(gbm) == fd); in test_init()
276 const char* backend_name = gbm_device_get_backend_name(gbm); in test_init()
288 gbm_device_destroy(gbm); in test_reinit()
294 gbm = gbm_create_device(fd); in test_reinit()
296 CHECK(gbm_device_get_fd(gbm) == fd); in test_reinit()
299 bo = gbm_bo_create(gbm, 1024, 1024, GBM_FORMAT_XRGB8888, GBM_BO_USE_RENDERING); in test_reinit()
314 bo = gbm_bo_create(gbm, 1024, 1024, GBM_FORMAT_XRGB8888, GBM_BO_USE_RENDERING); in test_alloc_free()
329 bo = gbm_bo_create(gbm, i, i, GBM_FORMAT_XRGB8888, GBM_BO_USE_RENDERING); in test_alloc_free_sizes()
[all …]
DMakefile13 CCFLAGS += $(shell $(PKG_CONFIG) --cflags gbm libdrm)
15 LDLIBS += $(shell $(PKG_CONFIG) --libs gbm libdrm)
/external/mesa3d/src/gbm/
DMakefile.am4 pkgconfig_DATA = main/gbm.pc
9 -I$(top_srcdir)/src/gbm/main \
15 include_HEADERS = main/gbm.h
50 TESTS = gbm-symbols-check
51 EXTRA_DIST = gbm-symbols-check
DMakefile.sources5 main/gbm.c \
6 main/gbm.h \
/external/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c73 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers()
86 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_flush_front_buffer()
99 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers_with_format()
118 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in image_get_buffers()
155 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_put_image2()
187 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_get_image()
545 gbm_dri_is_format_supported(struct gbm_device *gbm, in gbm_dri_is_format_supported() argument
588 struct gbm_dri_device *dri = gbm_dri_device(_bo->gbm); in gbm_dri_bo_get_fd()
604 struct gbm_dri_device *dri = gbm_dri_device(_bo->gbm); in gbm_dri_bo_destroy()
650 gbm_dri_bo_import(struct gbm_device *gbm, in gbm_dri_bo_import() argument
[all …]
Dgbm_driint.h122 gbm_dri_device(struct gbm_device *gbm) in gbm_dri_device() argument
124 return (struct gbm_dri_device *) gbm; in gbm_dri_device()
154 ret = drmIoctl(bo->base.base.gbm->fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in gbm_dri_bo_map_dumb()
159 MAP_SHARED, bo->base.base.gbm->fd, map_arg.offset); in gbm_dri_bo_map_dumb()
/external/mesa3d/doxygen/
Dgbm.doxy8 PROJECT_NAME = "Generic Buffer Manager (gbm)"
12 INPUT = ../src/gbm/main
26 HTML_OUTPUT = gbm
48 GENERATE_TAGFILE = gbm.tag
D.gitignore6 gbm
DMakefile19 gbm.doxy \
/external/mesa3d/src/egl/
DMakefile.am27 -I$(top_srcdir)/src/gbm/main \
78 libEGL_la_LIBADD += $(top_builddir)/src/gbm/libgbm.la
97 -I$(top_srcdir)/src/gbm/backends/dri \
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c48 struct gbm_dri_device *device = (struct gbm_dri_device *) _surf->gbm; in lock_front_buffer()
661 struct gbm_device *gbm; in dri2_initialize_drm() local
673 gbm = disp->PlatformDisplay; in dri2_initialize_drm()
674 if (gbm == NULL) { in dri2_initialize_drm()
682 gbm = gbm_create_device(fd); in dri2_initialize_drm()
683 if (gbm == NULL) { in dri2_initialize_drm()
688 fd = fcntl(gbm_device_get_fd(gbm), F_DUPFD_CLOEXEC, 3); in dri2_initialize_drm()
695 if (strcmp(gbm_device_get_backend_name(gbm), "drm") != 0) { in dri2_initialize_drm()
700 dri2_dpy->gbm_dri = gbm_dri_device(gbm); in dri2_initialize_drm()
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Damdgcn_glslc.c80 struct gbm_device *gbm = gbm_create_device(fd); in create_gl_core_context() local
81 if (unlikely(gbm == NULL)) { in create_gl_core_context()
87 gbm, NULL); in create_gl_core_context()
/external/autotest/client/bin/
Dscreenshot.py19 from cros.graphics.gbm import crtcScreenshot
/external/autotest/client/cros/graphics/
Dgraphics_utils.py29 from autotest_lib.client.cros.graphics import gbm
412 image = gbm.crtcScreenshot()
437 image = gbm.crtcScreenshot()
481 image = gbm.crtcScreenshot(crtc_id)
483 image = gbm.crtcScreenshot(get_internal_crtc())
/external/mesa3d/
DMakefile.am31 --enable-gbm \
DAndroid.mk82 src/gbm \
Dconfigure.ac1167 AC_ARG_ENABLE([gbm], optenable
1168 [AS_HELP_STRING([--enable-gbm],
1169 [enable gbm library @<:@default=yes except cygwin@:>@])],
1853 dnl gbm configuration
1856 require_dri_shared_libs_and_glapi "gbm"
2125 AC_MSG_ERROR([EGL platform drm needs gbm])
2691 src/gbm/Makefile
2692 src/gbm/main/gbm.pc
/external/mesa3d/src/
DMakefile.am103 SUBDIRS += gbm subdir
/external/mesa3d/src/gallium/state_trackers/nine/
DREADME8 --disable-opengl --disable-egl --disable-vdpau --disable-xvmc --disable-gbm \
/external/autotest/client/common_lib/cros/
Darc.py403 from cros.graphics.gbm import crtcScreenshot
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt382 gbm{"gbm_Deva_IN"}

12