Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
egl::nv12_img_t Struct Reference

NV12 capture image backed by EGL and OpenGL resources. More...

#include <src/platform/linux/graphics.h>

Collaboration diagram for egl::nv12_img_t:

Public Attributes

EGLImage bg88
 EGL image for the NV12 interleaved chroma plane.
gl::frame_buf_t buf
 OpenGL framebuffer object used for rendering.
display_t::pointer display
 EGL display that owns the imported planes.
std::array< file_t, num_fds > fds
 DMA-BUF file descriptors for each exported plane.
EGLImage r8
 EGL image for the NV12 luma plane.
gl::tex_t tex
 Textures containing the imported Y and UV planes.

Static Public Attributes

static constexpr std::size_t num_fds = 4
 Maximum number of DMA-BUF plane file descriptors exported by VAAPI.

Detailed Description

NV12 capture image backed by EGL and OpenGL resources.


The documentation for this struct was generated from the following file: