New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create functions to save/restore render state #367
Comments
Let's just add a function to say "I have invalidated the state" so it doesn't sound like they can save specific states off. Then this is simple enough we could probably even add it into SDL2. |
Actually, we can probably just make an explicit Flush make all state dirty, since you would only call this before using GL/D3D directly. Implicit flushes (changing render targets, presenting, etc) won't dirty all the state. |
This uses the same `SDL_VerbNoun` format as the rest of SDL3, and also adds stronger effort to invalidate cached state in the backend, so cooperation improves with apps that are using lowlevel rendering APIs directly. Fixes libsdl-org#367.
This uses the same `SDL_VerbNoun` format as the rest of SDL3, and also adds stronger effort to invalidate cached state in the backend, so cooperation improves with apps that are using lowlevel rendering APIs directly. Fixes libsdl-org#367.
This uses the same `SDL_VerbNoun` format as the rest of SDL3, and also adds stronger effort to invalidate cached state in the backend, so cooperation improves with apps that are using lowlevel rendering APIs directly. Fixes #367.
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.1
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2011-02-20 12:22:19 +0000, Sam Lantinga wrote:
On 2013-05-21 09:34:48 +0000, Gabriel Jacobo wrote:
On 2013-05-21 23:57:56 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: