Re: Using Renderer Accelerated on Android ?

Alex Szpakowski <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
SDL_Render functionality (including SDL_Texture functionality) can only be used on the main thread.

> On Nov 28, 2016, at 11:17 PM, yoann <[email protected]> wrote:
> 
> My native main thread creates a window and a renderer, and then I use other threads to do the demuxing and decoding process. After decoding my frames, I store them in a YV12 Texture in a secondary thread, and then call the renderer in the native main thread to display the picture.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.