Creating a Stream Surface
Creating a stream surface uses the following functions:
Function |
Extension and Function Description |
---|---|
eglCreateStreamProducerSurfaceKHR |
EGL_KHR_stream_producer_eglsurface Creates an EGLSurface and connects it as the producer of a stream. |
eglStreamConsumerOutputEXT |
EGL_EXT_stream_consumer_egloutput Binds an EGLOutput layer as a stream consumer to send rendering directly to a display device. |
According to the EGL_KHR_stream specification, the EGLStream cannot be used until it has been connected to a consumer and producer. The consumer must be connected before the producer is connected.