One Windows

Microsoft is building a new Windows 10 Shell for PC, Mobile and Xbox

On the Inside

Everything you need to know about the Xbox Insider Program

Beautiful compromises

Surface Studio review: you'll want one, even if you don't need one

3-in-1

Is this the Surface Phone? Microsoft awarded patents for foldable devices

Windows Central Offers

MCSE Certification bundle is just $39

Even more improvements

All the changes found in Windows 10 build 15007!

Games as a Service

What does the cancellation of Scalebound mean for future Xbox exclusives?

Windows Central Offers

Save $90 on these FRESHeBUDS Pro Magnetic Bluetooth Earbuds

Returning for 2017

We're back with an new episode of #AskDanWindows

Lifetime Subscription

VPNSecure is currently 91% off

Our favorite things

The Best of CES 2017 Awards

Infinity Edge in your hand

The XPS 13 2-in-1 is the Dell convertible we've always wanted

Project Valerie

Razer just made a laptop with three — THREE! — 17-inch 4K displays. 😱

Great design from Palo Alto

HP's CES 2017 releases are truly gorgeous PCs

Intel and Google's big day

CES 2017 Day Two: New laptops, new phones, and old ideas made new

Take five is better than ever

The updated Lenovo ThinkPad X1 packs Kaby Lake chips and zero bloatware

Everything we know about the next Xbox: Project Scorpio

UWPowered

'Game Mode' for Windows 10 will power Xbox One and Scorpio games too

Buyer's guide

Best accessories for Microsoft Surface Book

Oh, what a year!

Windows Central Best of 2016 Awards

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Xeron's Avatar
    Member

    Posts
    1 Posts
    Global Posts
    250 Global Posts
       #1  
    Hi,

    I have a game on webOS and Android. It is written in C, and uses SDL and OpenGL ES. I am thinking of porting it to Windows Phone, but I'm wondering if I would have to move it over to DirectX and how hard that would be?

    I have absolutely no experience with DirectX, and would prefer to use an SDL/OpenGL ES wrapper if one exists, but I have no idea...
  2. narv's Avatar
    Member

    Posts
    308 Posts
    #2  
    As far as I'm aware, WP8 only supports DirectX for graphics.

    I personally haven't used OpenGL ES for mobile so I cannot say how different it is from a desktop version of OpenGL (may be the exact same with a settings change for all I know) but from what I've done with OpenGL and Direct3D before, they aren't that different really.. concepts are still the same, geometry itself doesn't change. There are tons of tutorials and example codes out there for DirectX, or if you have some money to spend, hit up a barnes and noble and pickup a book on DirectX programming (or see if there are any specific WP8 or W8 books out yet that might cover it).

    Thanks for your interest in WP8 and bringing more functionality, apps, games, etc to the platform! :) Best of luck!

    PS: Windows Phone Samples

    This is the link of sample code from Microsoft that are C++ based. Most of the examples are C# based but since you said C, then C++ would be the best examples to look for. Some have Direct3D examples.

Similar Threads

  1. a new cool RGP Game " SoulCraft" coming to windows phone
    By cedarlog in forum Windows Phone Games
    Replies: 7
    Last Post: 03-14-2013, 04:43 PM
  2. direct x games you would like to see come to windows phone 8
    By geekmaster in forum Windows Phone 8
    Replies: 9
    Last Post: 07-30-2012, 01:36 AM
  3. Replies: 12
    Last Post: 03-06-2012, 05:58 PM
  4. Thinking of jumping from android to windows phone.
    By reelon in forum Windows Phone 7
    Replies: 45
    Last Post: 01-25-2012, 12:51 AM
  5. What games do you want to see ported to Windows Phone?
    By Paul Acevedo in forum Windows Phone Games
    Replies: 105
    Last Post: 08-10-2011, 08:00 AM

Posting Permissions