In order to realize the advanced graphics rendering algorithms which tends to become more complex and flexible, more and more graphics processor units (GPU) include a micro-processor-like core to support the programmable shading capability. However, since the number of cycles spent in the fragment shader in programmable GPU will vary with different applications, the hardware implementation of the remaining fixed function of the graphics rendering flow becomes not trivial because the suitable target throughput is hard to set. In addition, the data transfer between the shader processor and other hardware fixed-function modules will also represent a big overhead. Therefore, this thesis focuses on realizing the rasterization, which is a very important fixed rendering function, and proposes a pure-software solution that can be executed by the shader processor. The pure-software rasterization requires 98 cycles in setup-stage, and an average of 13 cycles per pixel in interpolation-stage. To further accelerate this rasterization, this thesis also proposes an hardware-software codesign which uses a embedded scan-conversion unit to cooperate with the shader processor. This unit costs about 8.5K gates, which occupies only 1.7% of the entire GPU, but can help reduce more than 30% cycles compared with the pure-software approach in the test-benches used in this thesis. The other contribution of this thesis is to implement the stereoscopic graphic rendering function. To provide stereoscopic effect, the graphic rendering system has to run the entire rendering flow for additional passes to generate the results from different views. However, this thesis will embed an additional code in the fragement shader to adjust the x-coordinate position generated by vertex shader to avoid the additional running pass of the vertex shader.
Identifer | oai:union.ndltd.org:NSYSU/oai:NSYSU:etd-0214111-110842 |
Date | 14 February 2011 |
Creators | Lin, Shih-ming |
Contributors | Chih-peng Fan, Yun-nan Chang, Shen-fu Hsiao |
Publisher | NSYSU |
Source Sets | NSYSU Electronic Thesis and Dissertation Archive |
Language | Cholon |
Detected Language | English |
Type | text |
Format | application/pdf |
Source | http://etd.lib.nsysu.edu.tw/ETD-db/ETD-search/view_etd?URN=etd-0214111-110842 |
Rights | not_available, Copyright information available at source archive |
Page generated in 0.0021 seconds