![]() |
DirectX support | ![]() |
![]() |
DirectX support | ![]() |
Giorgos Sarris
Guest
![]() |
![]() |
Hi there,
This is great news! I hope this helps to develop a Metro (RT) version of SDL2 for both phone and windows 8. Thanks, Giorgos -------- Original Message -------- Subject: [SDL] DirectX support From: To: Date: 24/10/2012 03:44
|
||||||||||||||
|
![]() |
DirectX support | ![]() |
MrOzBarry
![]() |
![]() |
Jaffar, is your DirectX code c++? If that's the case, we'd have to break it down into C to get it included into SDL. One idea of SDL (from what I understand) is that it's in C to be the lowest common denominator (outside of ASM) to almost every other language available, where-as C++ does not always translate that well. If you post your code up on github, I'm sure there are a handful of people on the list that can help
![]() -Alex On Wed, Oct 24, 2012 at 4:38 AM, Giorgos Sarris wrote:
|
||||||||||||||||
|
![]() |
DirectX support | ![]() |
jaffar.sidek10
Guest
![]() |
![]() |
Hi Alex. Yes it is coded with c++, but it would be a breeze for me to translate it to c. The reason why i coded my framework in c++ in the first place was to take advantage of OOP, but i guess it will work just as well if it were in c. I’ll do the necessary translation during the week end and post it to github some time next week. Do I have to sign up with a developer account? Thanks and cheers.
From: Alex Barry Sent: Wednesday, October 24, 2012 9:19 PM To: ; SDL Development List Subject: Re: [SDL] DirectX support Jaffar, is your DirectX code c++? If that's the case, we'd have to break it down into C to get it included into SDL. One idea of SDL (from what I understand) is that it's in C to be the lowest common denominator (outside of ASM) to almost every other language available, where-as C++ does not always translate that well. If you post your code up on github, I'm sure there are a handful of people on the list that can help ![]() -Alex On Wed, Oct 24, 2012 at 4:38 AM, Giorgos Sarris wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||||
|
![]() |
DirectX support | ![]() |
MrOzBarry
![]() |
![]() |
What I'd recommend is creating a BitBucket account, fork SDL2, add in your directx support, then create a ticket on bugzilla for implementing a directx backend - in all likelihood, it will take a number of iterations before it's considered to be included, but we would have to start somewhere :)
On Wed, Oct 24, 2012 at 12:25 PM, wrote:
|
||||||||||||||||||
|
![]() |
DirectX support | ![]() |
Paulo Pinto
Guest
![]() |
![]() |
With Microsoft dropping the ball on C, SDL might eventually require on Windows the same type of wrappers as on Mac OS X/iOS and Objective-C bindings.
WinRT is a COM based API, and although it is possible to be usable from C, the new interfaces are rather complex to use from any non OO language. -- Paulo On Wed, Oct 24, 2012 at 3:19 PM, Alex Barry wrote:
|
||||||||||||||||||
|
![]() |
DirectX support | ![]() |
jaffar.sidek10
Guest
![]() |
![]() |
Hi Alex. Thank you. I’ll get a git bucket account once i’ve finished my code translation. Cheers!
From: Alex Barry Sent: Thursday, October 25, 2012 12:33 AM To: SDL Development List Subject: Re: [SDL] DirectX support What I'd recommend is creating a BitBucket account, fork SDL2, add in your directx support, then create a ticket on bugzilla for implementing a directx backend - in all likelihood, it will take a number of iterations before it's considered to be included, but we would have to start somewhere :) On Wed, Oct 24, 2012 at 12:25 PM, wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||||||
|
![]() |
DirectX support | ![]() |
jaffar.sidek10
Guest
![]() |
![]() |
Hi Paulo. You are on the ball here. I took a look at the win rt structure and actually tried to build a skeleton windows application with c code based on it. Well, it is not as easy as it was doing the same with win32 or 64. Most of the win rt architecture is now based on c++ 11 and heavily reliant on com. Also, most of it’s structure is geared towards the microsoft family of languages for it’s exposure, and even trying to structure the code based on earlier versions of c++ would be a struggle. Well, perhaps now i have a goal in sight, and that is to create a c++ wrapper for sdl. My only concern is that while trying to upgrade and modernize sdl, i hope i would not have to sacrifice ease of use. One of the things that brought me to sdl in the first place is it’s very short and sweet coding structure to get things going. As an example, 1 line of code for sdl to create a screen, vs 3 to four with DirectX. Having said that though, there are many things sdl yet can’t do, which i am hoping it can, hence my interest in DirectX support. Cheers!
From: Paulo Pinto Sent: Thursday, October 25, 2012 1:08 AM To: SDL Development List Subject: Re: [SDL] DirectX support With Microsoft dropping the ball on C, SDL might eventually require on Windows the same type of wrappers as on Mac OS X/iOS and Objective-C bindings. WinRT is a COM based API, and although it is possible to be usable from C, the new interfaces are rather complex to use from any non OO language. -- Paulo On Wed, Oct 24, 2012 at 3:19 PM, Alex Barry wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||||||
|