D3d introduction-d3d Introduction

Source: Internet
Author: User
1. D3d Getting started

This section provides a pairD3dGraphic Programming Interface (API. Here you will find an overview of a graphic pipeline and help you achieve basicD3dFunction guide.

1.1. D3d Architecture

This section includesMicrosoftOfD3dComponents, OtherMicrosoft DirectX, The relationship between the operating system and the system hardware; these topics will be discussed below.

1.1.1. D3d Architecture Overview

This is a description of a graphic pipeline. The functionality of each block is described below. The connection contains more information.

 

more d3d


1.1.2. Hardware Abstraction Layer

Microsoft D3d Pass Hal (Hardware Abstraction Layer) provides device independence; Hal Is the interface specified by the device manufacturer, D3d Directly use the display hardware to work.ProgramTo avoid Hal Interaction. Application Usage D3d Expose a series of interfaces and methods instead Hal Provides a mechanism to use display devices. The device manufacturer Windows On each platform ( XP , 2000 , 98 ). 32 Bit programming. Hal It can be a part of the display drive or independent of the device drive that communicates with the drive through an interface defined by the drive manufacturer DLL .

D3d hal By the chip manufacturer, motherboard manufacturer or OEM . Hal Only implement device DependenciesCodeAnd in non-competitive execution. If the hardware does not execute a function, Hal It will not be reported as a hardware function. In addition, Hal Parameters are not verified, D3d Before calling Hal Perform parameter verification before.

At MicrosoftDirectX 9,HalThree different vertex processing modes are available: Software vertex processing, hardware vertex processing, and hybrid vertex processing on the same device. The pure device mode isHalDevice variable. The pure device type only supports hardware vertex processing and only allows applications to query a small subset of the device status. In addition, pure devices are only available on adapters with minimal capacity.

1.1.3. Overall system

Show MicrosoftD3d,GDI,HalAnd the relationship between hardware.

In, we can see that, D3d Programs and GDI The program accesses the graphics hardware through the device driver of the display card. And GDI The difference is that, D3d You can select Hal Hardware features, Hal The device provides hardware acceleration Based on the display card. You can use D3d When running, determine whether the device has this capability.

For more information about devices, see device types.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.