Home
last modified time | relevance | path

Searched refs:Display (Results 1 – 25 of 63) sorted by relevance

123

/hardware/interfaces/graphics/composer/2.1/default/
DComposerBase.h45 PixelFormat* format, Display* outDisplay) = 0;
46 virtual Error destroyVirtualDisplay(Display display) = 0;
47 virtual Error createLayer(Display display, Layer* outLayer) = 0;
48 virtual Error destroyLayer(Display display, Layer layer) = 0;
50 virtual Error getActiveConfig(Display display, Config* outConfig) = 0;
51 virtual Error getClientTargetSupport(Display display,
54 virtual Error getColorModes(Display display,
56 virtual Error getDisplayAttribute(Display display, Config config,
58 virtual Error getDisplayConfigs(Display display,
60 virtual Error getDisplayName(Display display, hidl_string* outName) = 0;
[all …]
DHwc.h71 PixelFormat* format, Display* outDisplay) override;
72 Error destroyVirtualDisplay(Display display) override;
74 Error createLayer(Display display, Layer* outLayer) override;
75 Error destroyLayer(Display display, Layer layer) override;
77 Error getActiveConfig(Display display, Config* outConfig) override;
78 Error getClientTargetSupport(Display display,
81 Error getColorModes(Display display,
83 Error getDisplayAttribute(Display display, Config config,
85 Error getDisplayConfigs(Display display,
87 Error getDisplayName(Display display, hidl_string* outName) override;
[all …]
DComposerClient.h61 void onHotplug(Display display, IComposerCallback::Connection connected);
62 void onRefresh(Display display);
63 void onVsync(Display display, int64_t timestamp);
72 Return<Error> destroyVirtualDisplay(Display display) override;
73 Return<void> createLayer(Display display, uint32_t bufferSlotCount,
75 Return<Error> destroyLayer(Display display, Layer layer) override;
76 Return<void> getActiveConfig(Display display,
78 Return<Error> getClientTargetSupport(Display display,
81 Return<void> getColorModes(Display display,
83 Return<void> getDisplayAttribute(Display display,
[all …]
DHwc.cpp327 PixelFormat* format, Display* outDisplay) in createVirtualDisplay()
337 Error HwcHal::destroyVirtualDisplay(Display display) in destroyVirtualDisplay()
343 Error HwcHal::createLayer(Display display, Layer* outLayer) in createLayer()
349 Error HwcHal::destroyLayer(Display display, Layer layer) in destroyLayer()
355 Error HwcHal::getActiveConfig(Display display, Config* outConfig) in getActiveConfig()
361 Error HwcHal::getClientTargetSupport(Display display, in getClientTargetSupport()
371 Error HwcHal::getColorModes(Display display, hidl_vec<ColorMode>* outModes) in getColorModes()
391 Error HwcHal::getDisplayAttribute(Display display, Config config, in getDisplayAttribute()
399 Error HwcHal::getDisplayConfigs(Display display, hidl_vec<Config>* outConfigs) in getDisplayConfigs()
419 Error HwcHal::getDisplayName(Display display, hidl_string* outName) in getDisplayName()
[all …]
DComposerClient.cpp218 void ComposerClient::onHotplug(Display display, in onHotplug()
236 void ComposerClient::onRefresh(Display display) in onRefresh()
243 void ComposerClient::onVsync(Display display, int64_t timestamp) in onVsync()
269 Display display = 0; in createVirtualDisplay()
283 Return<Error> ComposerClient::destroyVirtualDisplay(Display display) in destroyVirtualDisplay()
295 Return<void> ComposerClient::createLayer(Display display, in createLayer()
312 Return<Error> ComposerClient::destroyLayer(Display display, Layer layer) in destroyLayer()
325 Return<void> ComposerClient::getActiveConfig(Display display, in getActiveConfig()
335 Return<Error> ComposerClient::getClientTargetSupport(Display display, in getClientTargetSupport()
344 Return<void> ComposerClient::getColorModes(Display display, in getColorModes()
[all …]
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerTestUtils.h79 Display createVirtualDisplay(uint32_t width, uint32_t height,
83 void destroyVirtualDisplay(Display display);
85 Layer createLayer(Display display, uint32_t bufferSlotCount);
86 void destroyLayer(Display display, Layer layer);
88 Config getActiveConfig(Display display);
89 bool getClientTargetSupport(Display display, uint32_t width, uint32_t height,
91 std::vector<ColorMode> getColorModes(Display display);
92 int32_t getDisplayAttribute(Display display, Config config,
94 std::vector<Config> getDisplayConfigs(Display display);
95 std::string getDisplayName(Display display);
[all …]
DGraphicsComposerCallback.h37 std::vector<Display> getDisplays() const;
46 Return<void> onHotplug(Display display, Connection connection) override;
47 Return<void> onRefresh(Display display) override;
48 Return<void> onVsync(Display display, int64_t) override;
52 std::unordered_set<Display> mDisplays;
DVtsHalGraphicsComposerTestUtils.cpp82 Display display = it.first; in ~ComposerClient()
108 Display ComposerClient::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay()
112 Display display = 0; in createVirtualDisplay()
128 void ComposerClient::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay()
136 Layer ComposerClient::createLayer(Display display, uint32_t bufferSlotCount) { in createLayer()
157 void ComposerClient::destroyLayer(Display display, Layer layer) { in destroyLayer()
166 Config ComposerClient::getActiveConfig(Display display) { in getActiveConfig()
177 bool ComposerClient::getClientTargetSupport(Display display, uint32_t width, in getClientTargetSupport()
185 std::vector<ColorMode> ComposerClient::getColorModes(Display display) { in getColorModes()
197 Display display, Config config, IComposerClient::Attribute attribute) { in getDisplayAttribute()
[all …]
DGraphicsComposerCallback.cpp31 std::vector<Display> GraphicsComposerCallback::getDisplays() const { in getDisplays()
33 return std::vector<Display>(mDisplays.begin(), mDisplays.end()); in getDisplays()
51 Return<void> GraphicsComposerCallback::onHotplug(Display display, in onHotplug()
68 Return<void> GraphicsComposerCallback::onRefresh(Display display) { in onRefresh()
78 Return<void> GraphicsComposerCallback::onVsync(Display display, int64_t) { in onVsync()
/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);
63 VA_DRI2GetBuffers(Display *dpy, XID drawable,
68 VA_DRI2CopyRegion(Display *dpy, XID drawable, XserverRegion region,
71 VA_DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor,
Dva_dri.h72 Bool VA_DRIQueryExtension( Display *dpy, int *event_base, int *error_base );
74 Bool VA_DRIQueryVersion( Display *dpy, int *majorVersion, int *minorVersion,
77 Bool VA_DRIQueryDirectRenderingCapable( Display *dpy, int screen,
80 Bool VA_DRIOpenConnection( Display *dpy, int screen, drm_handle_t *hSAREA,
83 Bool VA_DRIAuthConnection( Display *dpy, int screen, drm_magic_t magic );
85 Bool VA_DRICloseConnection( Display *dpy, int screen );
87 Bool VA_DRIGetClientDriverName( Display *dpy, int screen,
91 Bool VA_DRICreateContext( Display *dpy, int screen, Visual *visual,
94 Bool VA_DRICreateContextWithConfig( Display *dpy, int screen, int configID,
106 Bool VA_DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable,
[all …]
Dva_dri.c62 static int close_display(Display *dpy, XExtCodes *extCodes);
100 Display *dpy;
118 Display* dpy; in VA_DRIQueryVersion()
150 Display* dpy; in VA_DRIQueryDirectRenderingCapable()
180 Display* dpy; in VA_DRIOpenConnection()
229 Display* dpy; in VA_DRIAuthConnection()
260 Display* dpy; in VA_DRICloseConnection()
283 Display* dpy; in VA_DRIGetClientDriverName()
333 Display* dpy; in VA_DRICreateContextWithConfig()
368 Display* dpy; in VA_DRICreateContext()
[all …]
Dva_dri2.c48 VA_DRI2Error(Display *dpy, xError *err, XExtCodes *codes, int *ret_code);
74 VA_DRI2Error(Display *dpy, xError *err, XExtCodes *codes, int *ret_code) in VA_DRI2Error()
89 Bool VA_DRI2QueryExtension(Display *dpy, int *eventBase, int *errorBase) in VA_DRI2QueryExtension()
102 Bool VA_DRI2QueryVersion(Display *dpy, int *major, int *minor) in VA_DRI2QueryVersion()
129 Bool VA_DRI2Connect(Display *dpy, XID window, in VA_DRI2Connect()
185 Bool VA_DRI2Authenticate(Display *dpy, XID window, drm_magic_t magic) in VA_DRI2Authenticate()
212 void VA_DRI2CreateDrawable(Display *dpy, XID drawable) in VA_DRI2CreateDrawable()
228 void VA_DRI2DestroyDrawable(Display *dpy, XID drawable) in VA_DRI2DestroyDrawable()
246 VA_DRI2Buffer *VA_DRI2GetBuffers(Display *dpy, XID drawable, in VA_DRI2GetBuffers()
304 void VA_DRI2CopyRegion(Display *dpy, XID drawable, XserverRegion region, in VA_DRI2CopyRegion()
[all …]
Dva_nvctrl.c154 static Bool XNVCTRLQueryVersion (Display *dpy, int *major, int *minor);
161 static void XNVCTRLCheckTargetData(Display *dpy, XExtDisplayInfo *info, in XNVCTRLCheckTargetData()
193 Display *dpy, in XNVCTRLQueryExtension()
210 Display *dpy, in XNVCTRLQueryVersion()
241 Display *dpy, in XNVCTRLIsNvScreen()
272 Display *dpy, in XNVCTRLQueryTargetStringAttribute()
326 Display *dpy, in XNVCTRLQueryStringAttribute()
338 Bool VA_NVCTRLQueryDirectRenderingCapable( Display *dpy, int screen, in VA_NVCTRLQueryDirectRenderingCapable()
356 Bool VA_NVCTRLGetClientDriverName( Display *dpy, int screen, in VA_NVCTRLGetClientDriverName()
Dva_nvctrl.h29 Bool VA_NVCTRLQueryDirectRenderingCapable( Display *dpy, int screen,
32 Bool VA_NVCTRLGetClientDriverName( Display *dpy, int screen,
/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c50 int (*oldHandler)(Display *, XErrorEvent *) = 0;
52 static int psb_XErrorHandler(Display *dpy, XErrorEvent *event) in psb_XErrorHandler()
70 Display *dpy = (Display *)ctx->native_dpy; in GetPortId()
149 if (DPMSQueryExtension((Display *)ctx->native_dpy, &dummy, &dummy) in psb_init_xvideo()
150 && DPMSCapable((Display *)ctx->native_dpy)) { in psb_init_xvideo()
154 DPMSInfo((Display *)ctx->native_dpy, &state, &onoff); in psb_init_xvideo()
187 XFreeGC((Display *)ctx->native_dpy, output->gc); in psb_deinit_xvideo()
192 XFreeGC((Display *)ctx->native_dpy, output->extend_gc); in psb_deinit_xvideo()
212 … XvStopVideo((Display *)ctx->native_dpy, output->textured_portID, output->output_drawable); in psb_deinit_xvideo()
216 XvUngrabPort((Display *)ctx->native_dpy, output->textured_portID, CurrentTime); in psb_deinit_xvideo()
[all …]
Dpsb_coverlay.c54 psb_x11_getWindowCoordinate(Display * display, in psb_x11_getWindowCoordinate()
127 psb_x11_substractRects(Display * display, in psb_x11_substractRects()
254 psb_x11_createWindowClipBoxList(Display * display, in psb_x11_createWindowClipBoxList()
375 XFillRectangle((Display *)ctx->native_dpy, draw, output->gc, destx, desty, destw, desth); in psb_cleardrawable_stopoverlay()
376 XSync((Display *)ctx->native_dpy, False); in psb_cleardrawable_stopoverlay()
499 XSync((Display *)ctx->native_dpy, False); in psb_DisplayRGBASubpicture()
513 XSync((Display *)ctx->native_dpy, False); in psb_DisplayRGBASubpicture()
588 XSetForeground((Display *)ctx->native_dpy, output->gc, pPriv->colorKey); in psb_repaint_colorkey()
589 …XFillRectangle((Display *)ctx->native_dpy, draw, output->gc, 0, 0, x11_window_width, x11_window_he… in psb_repaint_colorkey()
590 XSync((Display *)ctx->native_dpy, False); in psb_repaint_colorkey()
[all …]
Dpsb_x11.c63 static int (*old_error_handler)(Display *, XErrorEvent *);
162 visual = DefaultVisual((Display *)ctx->native_dpy, ctx->x11_screen); in psb_putsurface_x11()
163 gc = XCreateGC((Display *)ctx->native_dpy, draw, 0, NULL); in psb_putsurface_x11()
164 depth = DefaultDepth((Display *)ctx->native_dpy, ctx->x11_screen); in psb_putsurface_x11()
189 …ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32… in psb_putsurface_x11()
252 XPutImage((Display *)ctx->native_dpy, draw, gc, ximg, 0, 0, destx, desty, width, height); in psb_putsurface_x11()
253 XFlush((Display *)ctx->native_dpy); in psb_putsurface_x11()
261 XFreeGC((Display *)ctx->native_dpy, gc); in psb_putsurface_x11()
349 error_handler(Display *dpy, XErrorEvent *error) in error_handler()
398 is_window(Display *dpy, Drawable drawable) in is_window()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp200 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
201 &Display::acceptChanges>); in doGetFunction()
204 displayHook<decltype(&Display::createLayer), in doGetFunction()
205 &Display::createLayer, hwc2_layer_t*>); in doGetFunction()
208 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
209 &Display::destroyLayer, hwc2_layer_t>); in doGetFunction()
212 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
213 &Display::getActiveConfig, hwc2_config_t*>); in doGetFunction()
216 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
217 &Display::getChangedCompositionTypes, uint32_t*, in doGetFunction()
[all …]
DHWC2On1Adapter.h169 class Display {
174 Display(HWC2On1Adapter& device, HWC2::DisplayType type);
248 Config(Display& display) in Config()
253 bool isOnDisplay(const Display& display) const { in isOnDisplay()
281 Display& mDisplay;
401 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction()
422 return callDisplayFunction(device, display, &Display::getAttribute, in getDisplayAttributeHook()
433 return callDisplayFunction(device, display, &Display::setColorTransform, in setColorTransformHook()
440 return callDisplayFunction(device, display, &Display::setColorMode, mode); in setColorModeHook()
446 return callDisplayFunction(device, display, &Display::setPowerMode, in setPowerModeHook()
[all …]
/hardware/intel/common/libva/test/basic/
Dtest_android.c24 #define Display unsigned int macro
25 Display *dpy;
33 dpy = (Display*)malloc(sizeof(Display)); in test_init()
/hardware/intel/common/libva/va/glx/
Dva_glx_private.h37 typedef void (*PFNGLXBINDTEXIMAGEEXTPROC)(Display *, GLXDrawable, int, const int *);
38 typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
44 typedef GLXPixmap (*PFNGLXCREATEPIXMAPPROC)(Display *, GLXFBConfig, Pixmap, const int *);
45 typedef void (*PFNGLXDESTROYPIXMAPPROC)(Display *, GLXPixmap);
/hardware/intel/common/libva/va/drm/
Dva_drm_auth_x11.c37 typedef Display *(*X11OpenDisplayFunc)(const char *display_name);
38 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;
/hardware/intel/common/libva/test/putsurface/
Dputsurface_x11.c54 Display *x11_display = (Display *)win_display; in create_pixmap()
73 Display *x11_display = (Display *)win_display; in create_window()
140 Display *x11_display = (Display *)win_display; in check_window_event()
/hardware/intel/common/libmix/mix_video/src/
Dmixdisplayx11.h74 Display *display;
130 Display * display);
133 Display ** dislay);

123