wl_eglstream_controller
-
# wl_eglstream_controller
Requests
-
void wl_eglstream_controller_attach_eglstream_consumer(struct wl_eglstream_controller* wl_eglstream_controller,struct wl_surface* wl_surface, /* wl_surface corresponds to the client surface associated with newly created eglstream */struct wl_buffer* wl_resource /* wl_resource corresponding to an EGLStream */)Creates the corresponding server side EGLStream from the given wl_buffer and attaches a consumer to it.
-
void wl_eglstream_controller_attach_eglstream_consumer_attribs(struct wl_eglstream_controller* wl_eglstream_controller,struct wl_surface* wl_surface, /* wl_surface corresponds to the client surface associated with newly created eglstream */struct wl_buffer* wl_resource, /* wl_resource corresponding to an EGLStream */struct wl_array* attribs /* Stream consumer attachment attribs */)Creates the corresponding server side EGLStream from the given wl_buffer and attaches a consumer to it using the given attributes.
Enums
-
WL_EGLSTREAM_CONTROLLER_PRESENT_MODE_DONT_CARE /* Let the Server decide present mode */WL_EGLSTREAM_CONTROLLER_PRESENT_MODE_FIFO /* Use a fifo present mode */WL_EGLSTREAM_CONTROLLER_PRESENT_MODE_MAILBOX /* Use a mailbox mode */- dont_care: Using this enum will tell the server to make its own decisions regarding present mode. - fifo: Tells the server to use a fifo present mode. The decision to use fifo synchronous is left up to the server. - mailbox: Tells the server to use a mailbox present mode.
-
WL_EGLSTREAM_CONTROLLER_ATTRIB_PRESENT_MODE /* Tells the server the desired present mode */WL_EGLSTREAM_CONTROLLER_ATTRIB_FIFO_LENGTH /* Tells the server the desired fifo length when the desired presenation_mode is fifo. */- present_mode: Must be one of wl_eglstream_controller_present_mode. Tells the server the desired present mode that should be used. - fifo_length: Only valid when the present_mode attrib is provided and its value is specified as fifo. Tells the server the desired fifo length to be used when the desired present_mode is fifo.
-
Copyright Info
SPDX-FileCopyrightText: 2017-2018, NVIDIA CORPORATION. All rights reserved.
SPDX-License-Identifier: MIT