Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 25 of 125) sorted by relevance

12345

/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/
Dwayland-drm.c52 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 …]
DMakefile.am6 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/egl/wayland/wayland-drm/
Dwayland-drm.c52 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 …]
DMakefile.am6 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/chromium_org/ppapi/c/private/
Dppb_flash_drm.h47 int32_t (*GetDeviceID)(PP_Resource drm,
57 PP_Bool (*GetHmonitor)(PP_Resource drm, int64_t* hmonitor);
63 int32_t (*GetVoucherFile)(PP_Resource drm,
71 int32_t (*MonitorIsExternal)(PP_Resource drm,
80 int32_t (*GetDeviceID)(PP_Resource drm,
83 PP_Bool (*GetHmonitor)(PP_Resource drm, int64_t* hmonitor);
84 int32_t (*GetVoucherFile)(PP_Resource drm,
/external/chromium_org/ppapi/thunk/
Dppb_flash_drm_thunk.cc28 int32_t GetDeviceID(PP_Resource drm, in GetDeviceID() argument
32 EnterResource<PPB_Flash_DRM_API> enter(drm, callback, true); in GetDeviceID()
38 PP_Bool GetHmonitor(PP_Resource drm, int64_t* hmonitor) { in GetHmonitor() argument
40 EnterResource<PPB_Flash_DRM_API> enter(drm, true); in GetHmonitor()
46 int32_t GetVoucherFile(PP_Resource drm, in GetVoucherFile() argument
50 EnterResource<PPB_Flash_DRM_API> enter(drm, callback, true); in GetVoucherFile()
57 int32_t MonitorIsExternal(PP_Resource drm, in MonitorIsExternal() argument
61 EnterResource<PPB_Flash_DRM_API> enter(drm, callback, true); in MonitorIsExternal()
/external/mesa3d/src/gallium/targets/egl-static/
DMakefile56 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/chromium_org/third_party/mesa/src/src/gallium/targets/egl-static/
DMakefile56 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/mesa3d/src/gallium/targets/pipe-loader/
DMakefile35 $(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/chromium_org/third_party/mesa/src/src/gallium/targets/pipe-loader/
DMakefile35 $(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/chromium_org/ppapi/tests/
Dtest_flash_drm.cc61 DRM drm(instance_); in TestGetDeviceID() local
64 int32_t rv = drm.GetDeviceID(output_callback.GetCallback()); in TestGetDeviceID()
77 DRM drm(instance_); in TestGetHmonitor() local
81 if (drm.GetHmonitor(&hmonitor)) { in TestGetHmonitor()
91 ASSERT_FALSE(drm.GetHmonitor(&hmonitor)); in TestGetHmonitor()
98 DRM drm(instance_); in TestGetVoucherFile() local
101 int32_t rv = drm.GetVoucherFile(output_callback.GetCallback()); in TestGetVoucherFile()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_image.c167 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 …]
Dnative_helper.c430 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
Degl_g3d_image.c167 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 …]
Dnative_helper.c430 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/chromium_org/ui/ozone/platform/dri/chromeos/
Ddisplay_snapshot_dri.cc44 bool IsAspectPreserving(DriWrapper* drm, drmModeConnector* connector) { in IsAspectPreserving() argument
45 ScopedDrmPropertyPtr property(drm->GetProperty(connector, "scaling mode")); in IsAspectPreserving()
61 DriWrapper* drm, in DisplaySnapshotDri() argument
70 IsAspectPreserving(drm, connector), in DisplaySnapshotDri()
78 dpms_property_(drm->GetProperty(connector, "DPMS")) { in DisplaySnapshotDri()
83 ScopedDrmPropertyBlobPtr edid_blob(drm->GetPropertyBlob(connector, "EDID")); in DisplaySnapshotDri()
/external/mesa3d/src/gallium/state_trackers/egl/
DSConscript27 if env['drm']:
41 if env['drm']:
44 if env['drm'] and False:
51 sources.append(['drm/native_drm.c', 'drm/modeset.c'])
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/
DSConscript27 if env['drm']:
41 if env['drm']:
44 if env['drm'] and False:
51 sources.append(['drm/native_drm.c', 'drm/modeset.c'])
DMakefile9 -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/mesa3d/src/egl/wayland/
D.gitignore2 wayland-drm-client-protocol.h
3 wayland-drm-server-protocol.h
4 wayland-drm-protocol.c
/external/chromium_org/third_party/mesa/src/src/egl/wayland/
D.gitignore2 wayland-drm-client-protocol.h
3 wayland-drm-server-protocol.h
4 wayland-drm-protocol.c
/external/mesa3d/src/gallium/
DAndroid.mk39 SUBDIRS += winsys/i915/drm drivers/i915
45 winsys/nouveau/drm \
54 SUBDIRS += winsys/radeon/drm
68 SUBDIRS += winsys/svga/drm drivers/svga
DSConscript30 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/chromium_org/ui/ozone/platform/dri/
Dcrtc_state.cc11 CrtcState::CrtcState(DriWrapper* drm, in CrtcState() argument
14 : drm_(drm), in CrtcState()
17 saved_crtc_(drm->GetCrtc(crtc)), in CrtcState()
/external/chromium_org/third_party/mesa/src/src/gallium/
DSConscript30 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']:

12345