I don't know, it seems to me that any code that isn't ANSI C/C++ is to be considered a platform specific code, even if it has ports on multiple platforms. But if you preffer, you could interpret my posts as referring to backends then.
Not really. If you use library X one OS K, the library API doesn't become "platform code", the API itself has nothing to do with OS K, it's just an API on it's own. The issue that library X isn't supported on OS J still doesn't make the library API platform specific/platform code.
I can write a library just using standard C++ (it's probably better to use ISO than ANSI, even if ISO stuff is automatically ANSI), like my library has a public function
test() which prints out "Hello World". By your definition my standard C++ library would now turn into platform code, since my function
test() isn't part of the standard C++. However since my code is written in standard C++, it will work on any platform, thus my API (the
test() function) isn't platform code.
OpenGL is also "just" an API (okay it's a bit more tricky than that), it's not platform code, but the API isn't available on all platforms.
Anyways to end this discussion and to repeat the conclusion: Yes, SFML
might be getting the possibility to implement different rendering back-ends.
It is a make or break feature for any user or game studio evaluating SFML for use in a console game, or even a PC game with a potential console port down the road. This is a large user base to turn away from SFML due to lack of necessary cross-platform support.
We're aware of that. However one should also not forget that developing for consoles usually comes with a licensing price to begin with, thus officially porting SFML to such "pay-first-develop-later" platforms probably won't happen, unless there are generous sponsors or something.
It may be worth looking at Ogre3D's decoupling of RenderSystems (DirectX, GL, GLES) when considering a similar architecture for SFML.
I don't think, it's worth looking at that too much, then again I don't know it in detail.