Ryan C. Gordon 255c9fe80a opengles: Rework render targets.
Now this keeps one FBO for each SDL_TEXTUREACCESS_TARGET texture, and doesn't
reuse it. We check if the FBO is "complete" once, at creation time, and
setting a render target merely has to bind the right FBO and never look back.

This simplifies the code and removes a guaranteed pipeline stall when setting
a new render target.

(This code merged over from the GLES2 renderer, from changes made in
56e0d052f18938e8d9c6cfe11d87d118afc1990d.)

Fixes #16839.
2026-11-27 19:01:22 -05:00
2026-11-25 00:20:54 -05:00
2026-11-27 19:01:22 -05:00
2026-11-11 19:48:02 -05:00
…
2025-03-06 16:25:17 -08:00
2026-01-01 09:40:08 -08:00
2025-11-16 01:15:10 +03:00

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

S
Description
Lustro github.com/libsdl-org/SDL
Readme
202 MiB
Languages
C 86.5%
C++ 5.2%
Objective-C 3.4%
CMake 1.8%
Java 0.8%
Other 2.1%