Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 93) sorted by relevance

1234

/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c42 struct display;
101 struct display { struct
102 struct wl_display *display; argument
110 struct wl_display *display; argument
140 struct display *d; in va_put_surface()
148 d = wl_display_get_user_data(wl_drawable->display); in va_put_surface()
154 wl_display_flush(d->display); in va_put_surface()
156 wl_display_dispatch(wl_drawable->display); in va_put_surface()
169 wl_display_flush(d->display); in va_put_surface()
186 struct display * const d = data; in registry_handle_global()
[all …]
/hardware/intel/common/libva/test/common/
Dva_display_wayland.c34 struct display { struct
35 struct wl_display *display; member
45 static struct display *g_display; argument
56 struct display * const d = data; in registry_handle_global()
73 struct display *d; in va_open_display_wayland()
85 d->display = wl_display_connect(NULL); in va_open_display_wayland()
86 if (!d->display) { in va_open_display_wayland()
90 wl_display_set_user_data(d->display, d); in va_open_display_wayland()
91 d->registry = wl_display_get_registry(d->display); in va_open_display_wayland()
93 d->event_fd = wl_display_get_fd(d->display); in va_open_display_wayland()
[all …]
/hardware/intel/common/libva/va/drm/
Dva_drm_auth_x11.c38 typedef int (*X11CloseDisplayFunc)(Display *display);
40 Display *display, int *event_base, int *error_base);
42 Display *display, int *major, int *minor);
44 Display *display, XID window, uint32_t magic);
57 Display *display; member
116 auth->display = vtable->x11_open_display(NULL); in drm_auth_x11_init()
117 if (!auth->display) in drm_auth_x11_init()
120 auth->window = DefaultRootWindow(auth->display); in drm_auth_x11_init()
130 if (auth->display) { in drm_auth_x11_terminate()
131 auth->vtable.x11_close_display(auth->display); in drm_auth_x11_terminate()
[all …]
/hardware/qcom/display/msm8960/
Dcommon.mk2 common_includes := hardware/qcom/display/msm8960/libgralloc
3 common_includes += hardware/qcom/display/msm8960/liboverlay
4 common_includes += hardware/qcom/display/msm8960/libcopybit
5 common_includes += hardware/qcom/display/msm8960/libqdutils
6 common_includes += hardware/qcom/display/msm8960/libhwcomposer
7 common_includes += hardware/qcom/display/msm8960/libexternal
8 common_includes += hardware/qcom/display/msm8960/libqservice
10 common_header_export_path := qcom/display
DAndroid.mk1 display-hals := libgralloc libgenlock libcopybit liblight
2 display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
3 display-hals += libmemtrack
5 include $(call all-named-subdir-makefiles,$(display-hals))
9 include $(call all-named-subdir-makefiles,$(display-hals))
/hardware/qcom/display/msm8974/
Dcommon.mk2 common_includes := hardware/qcom/display/msm8974/libgralloc
3 common_includes += hardware/qcom/display/msm8974/liboverlay
4 common_includes += hardware/qcom/display/msm8974/libcopybit
5 common_includes += hardware/qcom/display/msm8974/libqdutils
6 common_includes += hardware/qcom/display/msm8974/libhwcomposer
7 common_includes += hardware/qcom/display/msm8974/libexternal
8 common_includes += hardware/qcom/display/msm8974/libqservice
10 common_header_export_path := qcom/display
DAndroid.mk1 display-hals := libgralloc libgenlock libcopybit liblight
2 display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
3 display-hals += libmemtrack
5 include $(call all-named-subdir-makefiles,$(display-hals))
9 include $(call all-named-subdir-makefiles,$(display-hals))
/hardware/intel/img/hwcomposer/ips/tangier/
DTngDisplayContext.cpp73 bool TngDisplayContext::commitContents(hwc_display_contents_1_t *display, HwcLayerList *layerList) in commitContents() argument
79 if (!display || !layerList) { in commitContents()
86 for (size_t i = 0; i < display->numHwLayers; i++) { in commitContents()
93 if (!display->hwLayers[i].handle) { in commitContents()
110 imgLayer->psLayer = &display->hwLayers[i]; in commitContents()
165 hwc_display_contents_1_t* display = displays[i]; in commitEnd() local
166 if (!display) { in commitEnd()
170 for (size_t j = 0; j < display->numHwLayers-1; j++) { in commitEnd()
171 hwc_layer_1_t& layer = display->hwLayers[j]; in commitEnd()
182 hwc_layer_1_t& fbt = display->hwLayers[display->numHwLayers-1]; in commitEnd()
[all …]
/hardware/libhardware/tests/hwc/
Dutil.c177 EGLDisplay display; in egl_create() local
182 display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in egl_create()
183 if (display == EGL_NO_DISPLAY) in egl_create()
186 if (!(res = eglInitialize(display, &major, &minor))) in egl_create()
197 if ((res = select_config_for_window(display, config_attrs, format, &config))) in egl_create()
200 surface = eglCreateWindowSurface(display, config, window, NULL); in egl_create()
204 context = eglCreateContext(display, config, EGL_NO_CONTEXT, context_attrs); in egl_create()
208 if (!(res = eglMakeCurrent(display, surface, surface, context))) in egl_create()
211 eglQuerySurface(display, surface, EGL_WIDTH, &w); in egl_create()
212 eglQuerySurface(display, surface, EGL_HEIGHT, &h); in egl_create()
[all …]
/hardware/intel/img/hwcomposer/common/devices/
DDummyDevice.cpp41 bool DummyDevice::prePrepare(hwc_display_contents_1_t *display) in prePrepare() argument
45 if (!display) { in prePrepare()
53 bool DummyDevice::prepare(hwc_display_contents_1_t *display) in prepare() argument
57 if (!display || mType >= DEVICE_VIRTUAL) { in prepare()
62 if (display->flags & HWC_GEOMETRY_CHANGED) { in prepare()
63 for (size_t i=0; i < display->numHwLayers-1; i++) { in prepare()
64 hwc_layer_1 * player = &display->hwLayers[i]; in prepare()
73 bool DummyDevice::commit(hwc_display_contents_1_t *display, IDisplayContext *context) in commit() argument
77 if (!display || !context) in commit()
DPhysicalDevice.cpp80 bool PhysicalDevice::prePrepare(hwc_display_contents_1_t *display) in prePrepare() argument
85 if (!mConnected || !display || mBlank) { in prePrepare()
93 if ((display->flags & HWC_GEOMETRY_CHANGED) && mLayerList) { in prePrepare()
99 bool PhysicalDevice::prepare(hwc_display_contents_1_t *display) in prepare() argument
103 if (!mConnected || !display || mBlank) in prepare()
107 if (display->flags & HWC_GEOMETRY_CHANGED) { in prepare()
108 onGeometryChanged(display); in prepare()
116 return mLayerList->update(display); in prepare()
120 bool PhysicalDevice::commit(hwc_display_contents_1_t *display, IDisplayContext *context) in commit() argument
124 if (!display || !context || !mLayerList || mBlank) { in commit()
[all …]
/hardware/intel/common/libva/va/x11/
Dva_dri2.h50 VA_DRI2QueryExtension(Display *display, int *eventBase, int *errorBase);
52 VA_DRI2QueryVersion(Display *display, int *major, int *minor);
54 VA_DRI2Connect(Display *display, XID window,
57 VA_DRI2Authenticate(Display *display, XID window, drm_magic_t magic);
59 VA_DRI2CreateDrawable(Display *display, XID drawable);
61 VA_DRI2DestroyDrawable(Display *display, XID handle);
/hardware/qcom/display/msm8226/
DAndroid.mk1 display-hals := libgralloc libcopybit liblight libvirtual
2 display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
3 display-hals += libmemtrack
5 include $(call all-named-subdir-makefiles,$(display-hals))
8 include $(call all-named-subdir-makefiles,$(display-hals))
/hardware/qcom/display/msm8084/
DAndroid.mk1 display-hals := libgralloc libcopybit liblight libvirtual
2 display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
3 display-hals += libmemtrack
5 include $(call all-named-subdir-makefiles,$(display-hals))
8 include $(call all-named-subdir-makefiles,$(display-hals))
/hardware/intel/common/libva/pkgconfig/
Dlibva-x11.pc.in5 display=x11 var
7 Name: libva-${display}
8 Description: Userspace Video Acceleration (VA) ${display} interface
11 Libs: -L${libdir} -lva-${display}
Dlibva-glx.pc.in5 display=glx var
7 Name: libva-${display}
8 Description: Userspace Video Acceleration (VA) ${display} interface
11 Libs: -L${libdir} -lva-${display}
Dlibva-drm.pc.in5 display=drm var
7 Name: libva-${display}
8 Description: Userspace Video Acceleration (VA) ${display} interface
11 Libs: -L${libdir} -lva-${display}
Dlibva-egl.pc.in5 display=egl var
7 Name: libva-${display}
8 Description: Userspace Video Acceleration (VA) ${display} interface
11 Libs: -L${libdir} -lva-${display}
Dlibva-wayland.pc.in5 display=wayland var
7 Name: libva-${display}
8 Description: Userspace Video Acceleration (VA) ${display} interface
11 Libs: -L${libdir} -lva-${display}
/hardware/intel/common/libva/test/encode/
DMakefile.am35 $(top_builddir)/test/common/libva-display.la \
42 $(top_builddir)/test/common/libva-display.la \
49 $(top_builddir)/test/common/libva-display.la \
/hardware/intel/img/hwcomposer/include/
DDummyDevice.h33 virtual bool prePrepare(hwc_display_contents_1_t *display);
34 virtual bool prepare(hwc_display_contents_1_t *display);
35 virtual bool commit(hwc_display_contents_1_t *display,
DIDisplayDevice.h74 virtual bool prePrepare(hwc_display_contents_1_t *display) = 0;
75 virtual bool prepare(hwc_display_contents_1_t *display) = 0;
76 virtual bool commit(hwc_display_contents_1_t *display,
DPhysicalDevice.h38 virtual bool prePrepare(hwc_display_contents_1_t *display);
39 virtual bool prepare(hwc_display_contents_1_t *display);
40 virtual bool commit(hwc_display_contents_1_t *display, IDisplayContext *context);
/hardware/intel/img/hwcomposer/common/base/
DDisplayAnalyzer.cpp115 void DisplayAnalyzer::setCompositionType(hwc_display_contents_1_t *display, int type) in setCompositionType() argument
117 for (size_t i = 0; i < display->numHwLayers - 1; i++) { in setCompositionType()
118 hwc_layer_1_t *layer = &display->hwLayers[i]; in setCompositionType()
/hardware/intel/common/libva/va/glx/
Dva_glx_impl.c300 Display *display; member
311 if (cs->display && cs->context) { in gl_destroy_context()
313 glXMakeCurrent(cs->display, None, NULL); in gl_destroy_context()
314 glXDestroyContext(cs->display, cs->context); in gl_destroy_context()
315 cs->display = NULL; in gl_destroy_context()
343 cs->display = ctx->native_dpy; in gl_create_context()
349 parent->display, in gl_create_context()
415 cs->display = glXGetCurrentDisplay(); in gl_get_current_context()
426 if (!new_cs->display) in gl_set_current_context()
433 if (old_cs->display == new_cs->display && in gl_set_current_context()
[all …]

1234