Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6778265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:14:47+00:00 2026-05-26T16:14:47+00:00

I’ve been OS X user for about 11 months now, before that I used

  • 0

I’ve been OS X user for about 11 months now, before that I used both Linux and Windows and I know how painful it is to do something with GUI that works well on all platforms (no Java).

What I don’t undestand is that how people can make games like Call of Duty, Duke Nukem Forever or Batman Arkham Asylum work both on Windows and OS X.

Aren’t libraries like DirectX specific to Windows and completely unavailable on Mac? I’d guess that applications like Photoshop will have their own GUI written from zero in C++, so that won’t cause as much trouble as doing this with a 3d graphic engine (am I wrong here?).

I know that it’s possible to get some things working via Wine on Linux, but that’s not really an official way.

How is it possible to achieve this kind of multi-platformness for high performance applications?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:14:48+00:00Added an answer on May 26, 2026 at 4:14 pm

    Even though 3D graphics APIs can vary quite a bit between platforms (OpenGL on Mac / Linux vs. Direct3D 11 on Windows vs. Xbox 360 flavour DirectX9 vs. LibGCM on PS3, etc.) the underlying 3D hardware is actually quite similar. Generally games will have a low level compatibility API layer which abstracts most of the differences between 3D APIs across the target platforms and then higher level rendering will be built on top of this lower level abstraction. This way porting to a new platform only involves porting the relatively small ‘driver’ to support the low level compatibility layer and not porting all of the higher level rendering code.

    The reality of developing a cross platform game that achieves high performance on all the target platforms tends to involve a bit more complexity than this idealized picture. For example, platform differences may leak through and affect high level rendering decisions because the most efficient way to achieve a particular effect may be quite different on different platforms. Handling shaders in an efficient cross platform way when different platforms may use different shading languages (GLSL, HLSL, Cg) can also be quite complex.

    Games developed with consoles in mind already tend to have a complex asset pipeline which takes the source assets authored by artists (textures, models, animations, material definitions, etc.) and pre-processes them into native formats that are optimal for loading and rendering on the console. Many platform differences can be handled in the pipeline where code only has to run on the PC and concerns about performance and memory limitations are less significant.

    This approach allows content creators to develop most of their content without worrying about platform specific details and saves the game runtime from having to deal with format conversions, endianness differences, etc. The graphics driver layer on the target platform can be fairly lean and only has to deal with native texture formats, vertex data, shaders, etc. with most of the complexity of converting between formats handled in pipeline code on the development system (usually a high end PC).

    Developing a cross platform game is a pretty complex challenge but by careful design of abstraction layers and asset pipelines it is possible to make the majority of the game runtime code platform agnostic and isolate the platform specific parts of the code to certain well defined modules.

    Many games now are developed using 3rd party engines like Unreal or Unity which have already done much of the hard work of dealing with platform differences and allow the games’ creators to focus less on the details of handling platform differences and more on developing their specific game.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the
I am doing a simple coin flipping experiment for class that involves flipping a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.