Multithread realization method for rasterization stage in graphic rendering
A graphics rendering and implementation method technology, applied in the field of subtitle processing, can solve the problems of CPU underutilization and low efficiency, and achieve the effects of realizing parallelism, improving filling, and high-efficiency parallelism
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2012-10-17
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1
Abstract
Description
technical field
[0001] The invention relates to the subtitle processing field in the field of television program production, in particular to a multi-thread implementation method of the rasterization stage in graphic rendering. Background technique
[0002] With the continuous development of computer graphics, images, and video technologies, and the domestic broadcasting industry is in the period of transition from standard definition mode to high definition mode, television production and broadcasting units such as TV stations have put forward higher requirements for the production and broadcasting of TV graphics. , Update requirements. This requires timely technical updates for every link in the video production process.
[0003] The rasterization stage in graphics rendering is a very important link in the field of subtitling. The rendering of the 3D scene in the prior art is mainly based on a GPU (Graphic Processing Unit, graphics processing unit). GPU-based rendering ...
Examples
Embodiment Construction
[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on this The embodiments in the invention, and all other embodiments obtained by persons of ordinary skill in the art without creative effort, all belong to the scope of protection of the present invention.
[0017] On the one hand, the embodiment of the present invention provides a multi-threaded implementation method for filling the rasterized triangles in graphics rendering. As shown in FIG. 2, the specific implementation method of the embodiment of the present invention is described as follows:
[0018] Step S1: Calculate the bounding box of the three-dimensional object in the screen space. The coordinates of the eight vertices in the screen space ...