Home
last modified time | relevance | path

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

123

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h58 virtual void onHotplug(Display display, IComposerCallback::Connection connected) = 0;
59 virtual void onRefresh(Display display) = 0;
60 virtual void onVsync(Display display, int64_t timestamp) = 0;
74 Display* outDisplay) = 0;
75 virtual Error destroyVirtualDisplay(Display display) = 0;
76 virtual Error createLayer(Display display, Layer* outLayer) = 0;
77 virtual Error destroyLayer(Display display, Layer layer) = 0;
79 virtual Error getActiveConfig(Display display, Config* outConfig) = 0;
80 virtual Error getClientTargetSupport(Display display, uint32_t width, uint32_t height,
82 virtual Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) = 0;
[all …]
DComposerClient.h93 void onHotplug(Display display, IComposerCallback::Connection connected) { in onHotplug()
104 void onRefresh(Display display) { in onRefresh()
109 void onVsync(Display display, int64_t timestamp) { in onVsync()
133 Display display = 0; in createVirtualDisplay()
143 Return<Error> destroyVirtualDisplay(Display display) override { in destroyVirtualDisplay()
152 Return<void> createLayer(Display display, uint32_t bufferSlotCount, in createLayer()
171 Return<Error> destroyLayer(Display display, Layer layer) override { in destroyLayer()
180 Return<void> getActiveConfig(Display display, in getActiveConfig()
188 Return<Error> getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport()
194 Return<void> getColorModes(Display display, in getColorModes()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h79 Display createVirtualDisplay(uint32_t width, uint32_t height, PixelFormat formatHint,
81 void destroyVirtualDisplay(Display display);
83 Layer createLayer(Display display, uint32_t bufferSlotCount);
84 void destroyLayer(Display display, Layer layer);
86 Config getActiveConfig(Display display);
87 bool getClientTargetSupport(Display display, uint32_t width, uint32_t height,
89 std::vector<ColorMode> getColorModes(Display display);
90 int32_t getDisplayAttribute(Display display, Config config,
92 std::vector<Config> getDisplayConfigs(Display display);
93 std::string getDisplayName(Display display);
[all …]
DGraphicsComposerCallback.h36 std::vector<Display> getDisplays() const;
45 Return<void> onHotplug(Display display, Connection connection) override;
46 Return<void> onRefresh(Display display) override;
47 Return<void> onVsync(Display display, int64_t) override;
51 std::unordered_set<Display> mDisplays;
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerHal.h35 using V2_1::Display;
42 Display* outDisplay) override { in createVirtualDisplay()
46 Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport()
53 Error setPowerMode(Display display, V2_1::IComposerClient::PowerMode mode) override { in setPowerMode()
58 Error getColorModes(Display display, hidl_vec<common::V1_0::ColorMode>* outModes) override { in getColorModes()
63 Error setColorMode(Display display, common::V1_0::ColorMode mode) override { in setColorMode()
68 Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) = 0;
70 Display display, Layer layer,
73 virtual Error getReadbackBufferAttributes(Display display, PixelFormat* outFormat,
75 virtual Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle,
[all …]
DComposerClient.h52 Display display, IComposerClient::getPerFrameMetadataKeys_cb hidl_cb) override { in getPerFrameMetadataKeys()
60 Display display, IComposerClient::getReadbackBufferAttributes_cb hidl_cb) override { in getReadbackBufferAttributes()
69 Display display, IComposerClient::getReadbackBufferFence_cb hidl_cb) override { in getReadbackBufferFence()
82 Return<Error> setReadbackBuffer(Display display, const hidl_handle& buffer, in setReadbackBuffer()
105 Display display = 0; in createVirtualDisplay_2_2()
115 Return<Error> getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height, in getClientTargetSupport_2_2()
121 Return<Error> setPowerMode_2_2(Display display, IComposerClient::PowerMode mode) override { in setPowerMode_2_2()
125 Return<void> getColorModes_2_2(Display display, in getColorModes_2_2()
133 Return<void> getRenderIntents(Display display, ColorMode mode, in getRenderIntents()
147 Return<Error> setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2()
/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()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h70 std::vector<IComposerClient::PerFrameMetadataKey> getPerFrameMetadataKeys(Display display);
72 Display createVirtualDisplay_2_2(uint32_t width, uint32_t height, PixelFormat formatHint,
74 bool getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height,
76 void setPowerMode_2_2(Display display, V2_2::IComposerClient::PowerMode mode);
77 void setReadbackBuffer(Display display, const native_handle_t* buffer, int32_t releaseFence);
78 void getReadbackBufferAttributes(Display display, PixelFormat* outPixelFormat,
80 void getReadbackBufferFence(Display display, int32_t* outFence);
82 std::vector<ColorMode> getColorModes(Display display);
83 std::vector<RenderIntent> getRenderIntents(Display display, ColorMode mode);
84 void setColorMode(Display display, ColorMode mode, RenderIntent intent);
/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 …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp82 Display display = it.first; in ~ComposerClient()
110 Display ComposerClient::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay()
113 Display display = 0; in createVirtualDisplay()
128 void ComposerClient::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay()
135 Layer ComposerClient::createLayer(Display display, uint32_t bufferSlotCount) { in createLayer()
153 void ComposerClient::destroyLayer(Display display, Layer layer) { in destroyLayer()
162 Config ComposerClient::getActiveConfig(Display display) { in getActiveConfig()
172 bool ComposerClient::getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport()
178 std::vector<ColorMode> ComposerClient::getColorModes(Display display) { in getColorModes()
188 int32_t ComposerClient::getDisplayAttribute(Display display, Config config, 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, Connection connection) { in onHotplug()
67 Return<void> GraphicsComposerCallback::onRefresh(Display display) { in onRefresh()
77 Return<void> GraphicsComposerCallback::onVsync(Display display, int64_t) { in onVsync()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp53 Display display) { in getPerFrameMetadataKeys()
94 Display ComposerClient_v2_2::createVirtualDisplay_2_2(uint32_t width, uint32_t height, in createVirtualDisplay_2_2()
98 Display display = 0; in createVirtualDisplay_2_2()
113 bool ComposerClient_v2_2::getClientTargetSupport_2_2(Display display, uint32_t width, in getClientTargetSupport_2_2()
121 void ComposerClient_v2_2::setPowerMode_2_2(Display display, V2_2::IComposerClient::PowerMode mode) { in setPowerMode_2_2()
126 void ComposerClient_v2_2::setReadbackBuffer(Display display, const native_handle_t* buffer, in setReadbackBuffer()
133 void ComposerClient_v2_2::getReadbackBufferAttributes(Display display, PixelFormat* outPixelFormat, in getReadbackBufferAttributes()
144 void ComposerClient_v2_2::getReadbackBufferFence(Display display, int32_t* outFence) { in getReadbackBufferFence()
153 std::vector<ColorMode> ComposerClient_v2_2::getColorModes(Display display) { in getColorModes()
162 std::vector<RenderIntent> ComposerClient_v2_2::getRenderIntents(Display display, ColorMode mode) { in getRenderIntents()
[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/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp162 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
163 &Display::acceptChanges>); in doGetFunction()
166 displayHook<decltype(&Display::createLayer), in doGetFunction()
167 &Display::createLayer, hwc2_layer_t*>); in doGetFunction()
170 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
171 &Display::destroyLayer, hwc2_layer_t>); in doGetFunction()
174 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
175 &Display::getActiveConfig, hwc2_config_t*>); in doGetFunction()
178 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
179 &Display::getChangedCompositionTypes, uint32_t*, in doGetFunction()
[all …]
/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 …]
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h145 Display* outDisplay) override { in createVirtualDisplay()
154 Error destroyVirtualDisplay(Display display) override { in destroyVirtualDisplay()
159 Error createLayer(Display display, Layer* outLayer) override { in createLayer()
164 Error destroyLayer(Display display, Layer layer) override { in destroyLayer()
169 Error getActiveConfig(Display display, Config* outConfig) override { in getActiveConfig()
174 Error getClientTargetSupport(Display display, uint32_t width, uint32_t height, in getClientTargetSupport()
182 Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes()
201 Error getDisplayAttribute(Display display, Config config, IComposerClient::Attribute attribute, in getDisplayAttribute()
208 Error getDisplayConfigs(Display display, hidl_vec<Config>* outConfigs) override { in getDisplayConfigs()
225 Error getDisplayName(Display display, hidl_string* outName) override { in getDisplayName()
[all …]
/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/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h41 using V2_1::Display;
52 Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) override { in getPerFrameMetadataKeys()
78 Display display, Layer layer, in setLayerPerFrameMetadata()
98 Error getReadbackBufferAttributes(Display display, PixelFormat* outFormat, in getReadbackBufferAttributes()
115 Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle, in setReadbackBuffer()
126 Error getReadbackBufferFence(Display display, base::unique_fd* outFenceFd) override { in getReadbackBufferFence()
138 Display* outDisplay) override { in createVirtualDisplay_2_2()
143 Error getClientTargetSupport_2_2(Display display, uint32_t width, uint32_t height, in getClientTargetSupport_2_2()
150 Error setPowerMode_2_2(Display display, IComposerClient::PowerMode mode) override { in setPowerMode_2_2()
157 Error setLayerFloatColor(Display display, Layer layer, in setLayerFloatColor()
[all …]
/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