I could port OpenGL, then make all the D3D functions as wrappers that call corresponding OpenGL functions.
Now that would annoy Microsoft.

Oh nice... I must check out ReactOS.Love4Boobies wrote:ReactX works that way.
The problem is not porting the interface, but having appropriate drivers underneath it. Of course, you could port MESA for having a software rasterizer at least, but well…BMW wrote:Would it be possible to port Direct3D to my OS?
I could port OpenGL, then make all the D3D functions as wrappers that call corresponding OpenGL functions.
Now that would annoy Microsoft.
Exactly. The reason I would want to port Direct3D is for compatibility, not speed.dozniak wrote:Question is, why would you want that? If graphics is all about speed, putting layer on top of layer of wrappers isn't going to make it faster.
Certainly it would be. Easiest way would be modifying Windows to boot directly into the desired program.BMW wrote:My little brother suggested that I make an OS with just one program running - his favourite game (which uses Direct3D) so he could get better performance, so I was wondering whether that would be possible.
If he disables all the trojans he downloaded from the web sites, together with the antivirus that keeps them at bay, performance might noticeably increase without ever writing a new operating system.BMW wrote:My little brother suggested that I make an OS with just one program running - his favourite game (which uses Direct3D) so he could get better performance, so I was wondering whether that would be possible.
An even better and much more efficient way to increase performance is acquiring better hardware.dozniak wrote:If he disables all the trojans he downloaded from the web sites, together with the antivirus that keeps them at bay, performance might noticeably increase without ever writing a new operating system.BMW wrote:My little brother suggested that I make an OS with just one program running - his favourite game (which uses Direct3D) so he could get better performance, so I was wondering whether that would be possible.
If im not mistaken, theres a command line trick/glitch in safe mode to do this.XanClic wrote:Certainly it would be. Easiest way would be modifying Windows to boot directly into the desired program.BMW wrote:My little brother suggested that I make an OS with just one program running - his favourite game (which uses Direct3D) so he could get better performance, so I was wondering whether that would be possible.
Its actually easy than that, just open regedit and navigate to HKLM>Software>Microsoft>Windows NT>CurrentVersion>Winlogon and replace explorer.exe with whatever you want.m12 wrote:If im not mistaken, theres a command line trick/glitch in safe mode to do this.XanClic wrote:Certainly it would be. Easiest way would be modifying Windows to boot directly into the desired program.BMW wrote:My little brother suggested that I make an OS with just one program running - his favourite game (which uses Direct3D) so he could get better performance, so I was wondering whether that would be possible.
Yeah... That's about it with my brother... no clue whatsoever. Installs anything and everything to try and get what he wants. Then asks me why there are all these gay toolbars in his browser.dozniak wrote: If he disables all the trojans he downloaded from the web sites, together with the antivirus that keeps them at bay, performance might noticeably increase without ever writing a new operating system.
Sounds like my brother on my Google Account.BMW wrote:Yeah... That's about it with my brother... no clue whatsoever. Installs anything and everything to try and get what he wants. Then asks me why there are all these gay toolbars in his browser.dozniak wrote: If he disables all the trojans he downloaded from the web sites, together with the antivirus that keeps them at bay, performance might noticeably increase without ever writing a new operating system.
Yes.. Kind of..BMW wrote:Would it be possible to port Direct3D to my OS?
I could port OpenGL, then make all the D3D functions as wrappers that call corresponding OpenGL functions.
Now that would annoy Microsoft.