40 #ifndef QEGLSTREAMCONVENIENCE_H
41 #define QEGLSTREAMCONVENIENCE_H
54 #include <QtGui/qtguiglobal.h>
56 #include <QtGui/private/qt_egl_p.h>
61 #ifndef EGL_VERSION_1_5
65 #ifndef EGL_EXT_platform_base
69 #ifndef EGL_EXT_device_base
71 #define EGL_NO_DEVICE_EXT ((EGLDeviceEXT)(0))
76 #ifndef EGL_EXT_output_base
79 #define EGL_NO_OUTPUT_LAYER_EXT ((EGLOutputLayerEXT)0)
89 #ifndef EGL_KHR_stream
92 #define EGL_NO_STREAM_KHR ((EGLStreamKHR)0)
93 #define EGL_STREAM_STATE_KHR 0x3214
94 #define EGL_STREAM_STATE_CREATED_KHR 0x3215
95 #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216
96 #define EGL_STREAM_STATE_EMPTY_KHR 0x3217
97 #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218
98 #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219
99 #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A
100 #define EGL_BAD_STREAM_KHR 0x321B
101 #define EGL_BAD_STATE_KHR 0x321C
109 #ifndef EGL_KHR_stream_fifo
110 #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC
113 #ifndef EGL_KHR_stream_producer_eglsurface
114 #define EGL_STREAM_BIT_KHR 0x0800
118 #ifndef EGL_KHR_stream_cross_process_fd
120 #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1))
125 #ifndef EGL_KHR_stream_consumer_gltexture
131 #ifndef EGL_EXT_stream_consumer_egloutput
135 #ifndef EGL_EXT_platform_device
136 #define EGL_PLATFORM_DEVICE_EXT 0x313F
139 #ifndef EGL_EXT_device_drm
140 #define EGL_DRM_DEVICE_FILE_EXT 0x3233
143 #ifndef EGL_EXT_output_drm
144 #define EGL_DRM_CRTC_EXT 0x3234
145 #define EGL_DRM_PLANE_EXT 0x3235
148 #ifndef EGL_PLATFORM_X11_KHR
149 #define EGL_PLATFORM_X11_KHR 0x31D5
152 #ifndef EGL_NV_stream_attrib
PFNEGLGETOUTPUTPORTSEXTPROC get_output_ports
PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC query_output_layer_attrib
PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC create_stream_producer_surface
PFNEGLSETSTREAMATTRIBNVPROC set_stream_attrib_nv
PFNEGLSTREAMATTRIBKHRPROC stream_attrib
PFNEGLSTREAMCONSUMERACQUIREATTRIBNVPROC acquire_stream_attrib_nv
PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC query_output_port_string
PFNEGLQUERYSTREAMKHRPROC query_stream
PFNEGLOUTPUTLAYERATTRIBEXTPROC output_layer_attrib
PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC create_stream_from_file_descriptor
PFNEGLCREATESTREAMKHRPROC create_stream
PFNEGLSTREAMCONSUMERRELEASEKHRPROC stream_consumer_release
bool has_egl_stream_consumer_gltexture
PFNEGLGETOUTPUTLAYERSEXTPROC get_output_layers
PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC get_stream_file_descriptor
bool has_egl_platform_device
PFNEGLDESTROYSTREAMKHRPROC destroy_stream
bool has_egl_stream_cross_process_fd
PFNEGLQUERYDEVICESTRINGEXTPROC query_device_string
PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC stream_consumer_gltexture
PFNEGLCREATESTREAMATTRIBNVPROC create_stream_attrib_nv
PFNEGLQUERYSTREAMATTRIBNVPROC query_stream_attrib_nv
PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC query_output_port_attrib
PFNEGLQUERYSTREAMU64KHRPROC query_stream_u64
PFNEGLQUERYDEVICESEXTPROC query_devices
bool has_egl_stream_producer_eglsurface
PFNEGLSTREAMCONSUMERRELEASEATTRIBNVPROC release_stream_attrib_nv
PFNEGLSTREAMCONSUMEROUTPUTEXTPROC stream_consumer_output
bool has_egl_stream_consumer_egloutput
PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC query_output_layer_string
PFNEGLGETPLATFORMDISPLAYEXTPROC get_platform_display
PFNEGLSTREAMCONSUMERACQUIREKHRPROC stream_consumer_acquire
const EGLAttrib EGLOutputLayerEXT EGLint EGLint * num_layers
int EGLNativeFileDescriptorKHR
const char *EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC(EGLDisplay dpy, EGLOutputPortEXT port, EGLint name)
const EGLAttrib EGLOutputLayerEXT EGLint max_layers
EGLDeviceEXT EGLint * num_devices
typedef EGLBoolean(EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC)(EGLint max_devices
const char *EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC(EGLDeviceEXT device, EGLint name)
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
const EGLAttrib EGLOutputPortEXT EGLint max_ports
EGLNativeFileDescriptorKHR file_descriptor
const char *EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC(EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name)
EGLOutputLayerEXT EGLint EGLAttrib value
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
const EGLAttrib EGLOutputLayerEXT * layers
void const EGLint * attrib_list
EGLOutputLayerEXT EGLint attribute
const EGLAttrib EGLOutputPortEXT EGLint EGLint * num_ports
const EGLAttrib EGLOutputPortEXT * ports
unsigned long long quint64
socketLayer initialize(QAbstractSocket::TcpSocket, QAbstractSocket::IPv4Protocol)