-
公开(公告)号:EP3267391A1
公开(公告)日:2018-01-10
申请号:EP15887283.8
申请日:2015-11-19
发明人: JIANG, Xiaotang , ZHOU, Zhenkun , LI, Yunxi
IPC分类号: G06T1/00
CPC分类号: G06T1/20 , G06F9/44505 , G06T11/206 , G06T11/40 , G06T11/60
摘要: Embodiments of the present invention provide a graphics processing method and apparatus, and a system. The method includes: receiving a command queue input by a current frame, where the command queue includes multiple drawing commands; splitting, according to bounding rectangle information and drawing area information, each irregular drawing command into at least one first-class drawing command and at least one second-class drawing command; grouping, into multiple drawing command sets according to the bounding rectangle information and the drawing area information, a regular drawing command in the multiple drawing commands, and the split first-class drawing command and second-class drawing command, so that drawing commands that belong to different drawing command sets do not intersect with each other; separately performing an intersection test on the multiple drawing command sets according to the bounding rectangle information and the drawing area information; separately performing, according to execution content, a drawing mode, and the drawing area information, drawing command combining on the multiple drawing command sets on which the intersection test is performed; and executing a drawing command obtained after combining is performed on each drawing command set.
摘要翻译: 本发明的实施例提供了一种图形处理方法和装置以及系统。 该方法包括:接收当前帧输入的命令队列,该命令队列包括多个绘图命令; 根据边界矩形信息和绘图区域信息将每个不规则绘图命令分割为至少一个第一类绘图命令和至少一个第二类绘图命令; 根据边界矩形信息和绘制区域信息,将多个绘图命令集合分组成多个绘图命令集合,多个绘图命令中的常规绘图命令,以及分割的第一类绘图命令和第二类绘图命令,以使属于 不同的绘图命令集不相互交叉; 根据所述边界矩形信息和所述绘图区域信息分别对所述多个绘图命令集合进行交集测试; 根据执行内容分别执行绘制模式和绘制区域信息绘制命令,所述绘制命令组合在进行交点测试的多个绘图命令集上; 并对每个绘图命令集执行合并后得到的绘图命令。