Comments (5)
SDL_AndroidGetActivity
SDL_AndroidGetCachePath
SDL_AndroidGetExternalStoragePath
SDL_AndroidGetExternalStorageState
SDL_AndroidGetInternalStoragePath
SDL_AndroidGetJNIEnv
SDL_Direct3D9GetAdapterIndex
SDL_GDKGetDefaultUser
SDL_GDKGetTaskQueue
SDL_WinRTGetDeviceFamily
SDL_WinRTGetFSPath
SDL_LinuxSetThreadPriority
SDL_LinuxSetThreadPriorityAndPolicy
SDL_iOSSetAnimationCallback
SDL_iOSSetEventPump
@icculus, should we move Get first, like we do with other functions, or is the platform important namespacing for these?
SDL_AtomicGet
SDL_AtomicGetPtr
SDL_AtomicSet
SDL_AtomicSetPtr
Atomic is an adjective in this case.
Also, maybe rename
SDL_RenderViewportSet
toSDL_IsRenderViewportSet
as you already have some functions that look like SDL_Is*.
The other SDL_Is* functions are "is this a named thing" and the state questions have had "Is" removed, so they read more naturally.
from sdl.
Also, maybe rename SDL_RenderViewportSet
to SDL_IsRenderViewportSet
as you already have some functions that look like SDL_Is*.
from sdl.
@icculus, should we move Get first, like we do with other functions, or is the platform important namespacing for these?
Normally I would say "SDL_SetLinuxThreadPriority" is more correct, but I kinda want to keep a giant red flag on what these things do: non-portable, special case, but also maybe very important, things.
Agree on atomic stuff. You're doing an "atomic set" of a variable, not setting an atomic variable, although I recognize the difference between those two is quite murky. It's less murky when not using SDL_AtomicInt and instead the APIs that take a void pointer, though.
Is there a better word for the viewport one? SDL_RenderViewportInitialized or something? Don't feel strongly about this one, but I can definitely see the name being confusing (but also, any attempt to use it would clarify that confusion immediately, I assume, when it doesn't take any arguments and returns a bool).
from sdl.
Okay, I'm inclined to have the platform functions match the rest of the naming and leave the giant red flag in the documentation rather than being a quirk of the API naming convention that just confuses people.
from sdl.
Fixed, thanks!
from sdl.
Related Issues (20)
- [SDL2] Gamepad Motion Sensors via Bluetooth don't work until you launch another SDL App with working Motion Sensors or swap older SDL2.dll files HOT 2
- Updates on dropping Apple frameworks not available on iOS? HOT 7
- Embed a SDL window by NativeControlHost control in AvaloniaUI, mouse cursor don't restore to default on Linux x11. HOT 1
- Feature request SDL_EVENT_FINGER_CANCELLED
- MFC window, pop a sdl window, break! HOT 1
- Decide and Document how planar data is stored in / accessed from Surfaces
- Always prefer downscaling in SDL_GetSurfaceImage HOT 3
- [SDL2] VITA: Can't create any render at all HOT 2
- [macos] HIDAPI device disconnected while opening
- testcamera prints irrelevant debug message on exit (Windows) HOT 1
- All standard SDL properties should be namespaced HOT 2
- SDL_EnumerateDirectory fails if it hits a file currently in use HOT 3
- SDL_WarpMouseInWindow has buggy behaviour on wayland HOT 3
- How does SDL2 implement testffmpeg.c HOT 1
- Mouse cursor remains visible SDL2-2.30.x ( xwayland ) HOT 1
- Should RWseek(0, RW_SEEK_CUR) be optimized? HOT 3
- Retrobit Sega Saturn Wireless Contoller has invalid parameters HOT 4
- SDL_Event.key and kdevice does not return expected IDs? HOT 12
- testcamera does not work on emscripten HOT 2
- [Feature Request] Add Handheld and Custom device capability and feature support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.