[SDL] SDL 2.0 ABI locked

Nathaniel J Fries nfries88 at yahoo.com
Wed Mar 13 13:48:26 PDT 2013


Can I request a scissor API? Similar to Viewport, but without mucking up the coordinate system. Most GUI libraries that could potentially interface with SDL2.0 require it (and would need to be modified extensively to work with Viewport instead), and it would be convenient for making a GUI intended only for SDL as well.

It's simple enough to make a wrapper around SDL_RenderCopy for non-rotated rendering, but it seems to be impossible to consistently scissor rotated rendering from outside the SDL itself without using a render target, which is inefficient and may not always be an option.

Functionality would ideally be identical to glScissor in OpenGL, SetScissorRect in D3D, or SDL_SetClipRect in SDL 1.2

------------------------
EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130313/354bb557/attachment-0009.htm>


More information about the SDL mailing list