Computer Graphics

Moderators: Sephiroth
Number of threads: 1241
Number of posts: 2641

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: A doubt about GPU hardware... Posted by PhilTaylor on 10 Feb 2011 at 10:51 AM
typically the driver buffers 2-3 frames worth of the command stream.

the command buffer is only accessible by the driver, in Ring0, you cant get at it in Ring3.

why is it not acceptible to issue standard API calls, just like the OS does?

for instance, Windows Desktop Window Manager uses D3D9Ex in Vista, and provides each window that is created with a rendertarget buffer to draw into.

unless your hobby OS is writing a driver layer, its pretty hard to get below the API.

and then, you'd need to write drivers for each piece of hw you want to support, using your new driver layer, eg device driver interface or DDI.

to understand the DDI between the driver and the hw, you'd have to not only have access to the Windows DDK and the driver source MS provides to have a working example, but also access to each IHVs hardware reference manual. unless you have relationships with all those companies, that is pretty hard to pull off.
Thread Tree
Niksan A doubt about GPU hardware... on 4 Aug 2010 at 9:23 PM
PhilTaylor Re: A doubt about GPU hardware... on 10 Feb 2011 at 10:51 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.