/external/drm_gralloc/ |
D | gralloc_drm.cpp | 108 struct gralloc_drm_t *drm; in gralloc_drm_create() local 111 drm = new gralloc_drm_t; in gralloc_drm_create() 112 if (!drm) in gralloc_drm_create() 116 drm->fd = open(path, O_RDWR); in gralloc_drm_create() 117 if (drm->fd < 0) { in gralloc_drm_create() 122 drm->drv = init_drv_from_fd(drm->fd); in gralloc_drm_create() 123 if (!drm->drv) { in gralloc_drm_create() 124 close(drm->fd); in gralloc_drm_create() 125 delete drm; in gralloc_drm_create() 129 return drm; in gralloc_drm_create() [all …]
|
D | gralloc.cpp | 43 if (!dmod->drm) { in drm_init() 44 dmod->drm = gralloc_drm_create(); in drm_init() 45 if (!dmod->drm) in drm_init() 68 *fd = gralloc_drm_get_fd(dmod->drm); in drm_mod_perform() 91 return gralloc_drm_handle_register(handle, dmod->drm); in drm_mod_register_buffer() 132 gralloc_drm_destroy(dmod->drm); in drm_mod_close_gpu0() 164 bo = gralloc_drm_bo_create(dmod->drm, w, h, format, usage); in drm_mod_alloc_gpu0() 238 .drm = NULL
|
D | gralloc_drm.h | 44 void gralloc_drm_destroy(struct gralloc_drm_t *drm); 46 int gralloc_drm_get_fd(struct gralloc_drm_t *drm); 110 int gralloc_drm_handle_register(buffer_handle_t handle, struct gralloc_drm_t *drm); 113 struct gralloc_drm_bo_t *gralloc_drm_bo_create(struct gralloc_drm_t *drm, int width, int height, in… 120 unsigned int planes_for_format(struct gralloc_drm_t *drm, int hal_format);
|
/external/libdrm/tegra/ |
D | tegra.c | 44 struct drm_tegra *drm = bo->drm; in drm_tegra_bo_free() local 53 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free() 60 struct drm_tegra *drm; in drm_tegra_wrap() local 65 drm = calloc(1, sizeof(*drm)); in drm_tegra_wrap() 66 if (!drm) in drm_tegra_wrap() 69 drm->close = close; in drm_tegra_wrap() 70 drm->fd = fd; in drm_tegra_wrap() 72 *drmp = drm; in drm_tegra_wrap() 99 void drm_tegra_close(struct drm_tegra *drm) in drm_tegra_close() argument 101 if (!drm) in drm_tegra_close() [all …]
|
D | tegra.h | 35 void drm_tegra_close(struct drm_tegra *drm); 37 int drm_tegra_bo_new(struct drm_tegra_bo **bop, struct drm_tegra *drm, 39 int drm_tegra_bo_wrap(struct drm_tegra_bo **bop, struct drm_tegra *drm, 42 int drm_tegra_bo_name_ref(struct drm_tegra *drm, uint32_t name, uint32_t size,
|
/external/libdrm/ |
D | Makefile.sources | 16 include/drm/drm.h \ 17 include/drm/drm_fourcc.h \ 18 include/drm/drm_mode.h \ 19 include/drm/drm_sarea.h \ 20 include/drm/i915_drm.h \ 21 include/drm/mach64_drm.h \ 22 include/drm/mga_drm.h \ 23 include/drm/nouveau_drm.h \ 24 include/drm/qxl_drm.h \ 25 include/drm/r128_drm.h \ [all …]
|
D | Android.mk | 36 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) $(LOCAL_PATH)/include/drm 37 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/drm 46 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) $(LOCAL_PATH)/include/drm 47 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/drm
|
D | Makefile.am | 71 libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm 91 cp -r $(kernel_source)/include/uapi/drm/*.h $(top_srcdir)/include/drm/ 94 git add include/drm/*.h
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 52 struct wl_drm *drm = buffer->drm; in destroy_buffer() local 54 drm->callbacks->release_buffer(drm->user_data, buffer); in destroy_buffer() 76 struct wl_drm *drm = resource->data; in create_buffer() local 85 buffer->drm = drm; in create_buffer() 96 drm->callbacks->reference_buffer(drm->user_data, name, buffer); in create_buffer() 170 struct wl_drm *drm = resource->data; in drm_authenticate() local 172 if (drm->callbacks->authenticate(drm->user_data, id) < 0) in drm_authenticate() 189 struct wl_drm *drm = data; in bind_drm() local 194 wl_resource_post_event(resource, WL_DRM_DEVICE, drm->device_name); in bind_drm() 213 struct wl_drm *drm; in wayland_drm_init() local [all …]
|
D | Makefile.am | 6 noinst_LTLIBRARIES = libwayland-drm.la 7 libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c 8 noinst_HEADERS = wayland-drm.h 10 BUILT_SOURCES = wayland-drm-protocol.c \ 11 wayland-drm-client-protocol.h \ 12 wayland-drm-server-protocol.h
|
/external/mesa3d/src/gallium/targets/egl-static/ |
D | Makefile | 56 egl_LIBS += $(TOP)/src/egl/wayland/wayland-drm/.libs/libwayland-drm.a 59 ifneq ($(findstring drm, $(EGL_PLATFORMS)),) 91 ifneq ($(findstring i915/drm,$(GALLIUM_WINSYS_DIRS)),) 94 $(TOP)/src/gallium/winsys/i915/drm/libi915drm.a \ 100 ifneq ($(findstring nouveau/drm,$(GALLIUM_WINSYS_DIRS)),) 103 $(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \ 112 ifneq ($(findstring radeon/drm,$(GALLIUM_WINSYS_DIRS)),) 116 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ 123 ifneq ($(findstring radeon/drm,$(GALLIUM_WINSYS_DIRS)),) 127 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ [all …]
|
/external/libdrm/man/ |
D | Makefile.am | 8 drm.7 \ 9 drm-kms.7 \ 10 drm-memory.7 \ 15 drm-mm.7 \ 16 drm-gem.7 \ 17 drm-ttm.7
|
/external/mesa3d/src/gallium/targets/pipe-loader/ |
D | Makefile | 35 $(TOP)/src/gallium/winsys/i915/drm/libi915drm.a \ 41 $(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \ 50 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ 56 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ 62 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ 68 $(TOP)/src/gallium/winsys/svga/drm/libsvgadrm.a \ 90 ifneq ($(findstring i915/drm,$(GALLIUM_WINSYS_DIRS)),) 95 ifneq ($(findstring nouveau/drm,$(GALLIUM_WINSYS_DIRS)),) 100 ifneq ($(findstring radeon/drm,$(GALLIUM_WINSYS_DIRS)),) 107 ifneq ($(findstring radeon/drm,$(GALLIUM_WINSYS_DIRS)),) [all …]
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_image.c | 167 nbuf.u.drm.templ.target = PIPE_TEXTURE_2D; in egl_g3d_reference_drm_buffer() 168 nbuf.u.drm.templ.format = format; in egl_g3d_reference_drm_buffer() 169 nbuf.u.drm.templ.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW; in egl_g3d_reference_drm_buffer() 170 nbuf.u.drm.templ.width0 = attrs.Width; in egl_g3d_reference_drm_buffer() 171 nbuf.u.drm.templ.height0 = attrs.Height; in egl_g3d_reference_drm_buffer() 172 nbuf.u.drm.templ.depth0 = 1; in egl_g3d_reference_drm_buffer() 173 nbuf.u.drm.templ.array_size = 1; in egl_g3d_reference_drm_buffer() 175 nbuf.u.drm.name = name; in egl_g3d_reference_drm_buffer() 176 nbuf.u.drm.stride = in egl_g3d_reference_drm_buffer() 358 nbuf.u.drm.templ.bind |= PIPE_BIND_SHARED; in egl_g3d_export_drm_image() [all …]
|
D | native_helper.c | 430 wsh.handle = nbuf->u.drm.name; in drm_display_import_native_buffer() 431 wsh.stride = nbuf->u.drm.stride; in drm_display_import_native_buffer() 433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); in drm_display_import_native_buffer() 456 if ((nbuf->u.drm.templ.bind & res->bind) != nbuf->u.drm.templ.bind) in drm_display_export_native_buffer() 464 nbuf->u.drm.handle = wsh.handle; in drm_display_export_native_buffer() 465 nbuf->u.drm.stride = wsh.stride; in drm_display_export_native_buffer() 468 if (nbuf->u.drm.templ.bind & PIPE_BIND_SHARED) { in drm_display_export_native_buffer() 474 nbuf->u.drm.name = wsh.handle; in drm_display_export_native_buffer() 477 nbuf->u.drm.templ = *res; in drm_display_export_native_buffer()
|
/external/mesa3d/src/gallium/state_trackers/egl/ |
D | SConscript | 27 if env['drm']: 41 if env['drm']: 44 if env['drm'] and False: 51 sources.append(['drm/native_drm.c', 'drm/modeset.c'])
|
D | Makefile | 9 -I$(TOP)/src/egl/wayland/wayland-drm/ \ 30 -I$(TOP)/src/egl/wayland/wayland-drm \ 38 drm_SOURCES = $(wildcard drm/*.c) 69 ifneq ($(findstring drm, $(EGL_PLATFORMS)),) 119 $(call egl-cc,drm)
|
/external/drm_hwcomposer/ |
D | hwcomposer.cpp | 154 DrmResources drm; member 164 ctx->drm.compositor()->Dump(&out); in hwc_dump() 176 DrmCrtc *crtc = ctx->drm.GetCrtcForDisplay(i); in hwc_prepare() 243 ctx->drm.compositor()->CreateComposition(ctx->importer); in hwc_set() 304 DrmConnector *connector = ctx->drm.GetConnectorForDisplay(i); in hwc_set() 409 ret = ctx->drm.compositor()->QueueComposition(composition); in hwc_set() 447 return ctx->drm.SetDpmsMode(display, dpmsValue); in hwc_set_power_mode() 489 DrmConnector *connector = ctx->drm.GetConnectorForDisplay(display); in hwc_get_display_configs() 518 DrmConnector *c = ctx->drm.GetConnectorForDisplay(display); in hwc_get_display_attributes() 566 DrmConnector *c = ctx->drm.GetConnectorForDisplay(display); in hwc_get_active_config() [all …]
|
D | drmgenericimporter.cpp | 37 Importer *Importer::CreateInstance(DrmResources *drm) { in CreateInstance() argument 38 DrmGenericImporter *importer = new DrmGenericImporter(drm); in CreateInstance() 52 DrmGenericImporter::DrmGenericImporter(DrmResources *drm) : drm_(drm) { in DrmGenericImporter() argument
|
D | nvimporter.cpp | 34 Importer *Importer::CreateInstance(DrmResources *drm) { in CreateInstance() argument 35 NvImporter *importer = new NvImporter(drm); in CreateInstance() 49 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { in NvImporter() argument
|
/external/mesa3d/src/gallium/ |
D | Android.mk | 39 SUBDIRS += winsys/i915/drm drivers/i915 45 winsys/nouveau/drm \ 54 SUBDIRS += winsys/radeon/drm 68 SUBDIRS += winsys/svga/drm drivers/svga
|
D | SConscript | 30 if env['drm']: 31 # These drivers depend on drm headers 105 'winsys/svga/drm/SConscript', 110 'winsys/i915/drm/SConscript', 115 'winsys/radeon/drm/SConscript', 165 if env['xorg'] and env['drm']:
|
/external/mesa3d/src/egl/wayland/ |
D | .gitignore | 2 wayland-drm-client-protocol.h 3 wayland-drm-server-protocol.h 4 wayland-drm-protocol.c
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | Makefile.am | 28 -I$(top_srcdir)/src/egl/wayland/wayland-drm \ 29 -I$(top_builddir)/src/egl/wayland/wayland-drm \
|
/external/mesa3d/src/gallium/targets/dri-vmwgfx/ |
D | Makefile | 7 $(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \ 8 $(TOP)/src/gallium/winsys/svga/drm/libsvgadrm.a \
|