-
公开(公告)号:US08325177B2
公开(公告)日:2012-12-04
申请号:US12345064
申请日:2008-12-29
申请人: Mark Lawrence , Alexander Stevenson , Jason Hartman , Brett Bloomquist , Robert Brown , Chris Kam Ming Chui , Samrach Tun , Anthony Hodsdon , Thomas Olsen , Miles Cohen , Ben Constable , Bilgem Cakir , Chris Raubacher , Gerhard Schneider , Andrew Precious , Thomas Mulcahy , Kanwal Vedbrat
发明人: Mark Lawrence , Alexander Stevenson , Jason Hartman , Brett Bloomquist , Robert Brown , Chris Kam Ming Chui , Samrach Tun , Anthony Hodsdon , Thomas Olsen , Miles Cohen , Ben Constable , Bilgem Cakir , Chris Raubacher , Gerhard Schneider , Andrew Precious , Thomas Mulcahy , Kanwal Vedbrat
IPC分类号: G06F17/00
摘要: Methods and computer-readable media for displaying two-dimensional objects on a display device are disclosed. Rendering requests are received from an application to render two-dimensionally modeled graphics to a display device. Primitive geometries of drawing calls of the rendering requests are tessellated into sequences of triangles. The vertices of the triangles are mapped to a vertex buffer along with an index to identify associated constant data. Batching operations store and communicate calls and mapped data to a graphics processing unit by way of a three-dimensional rendering application program interface. Constant data associated with the mapped data are indexed and appended together in a constant buffer, thereby allowing drawing calls to be coalesced. A staging buffer and a staging texture are provided for batching text anti-aliasing operations. Shader fragments are precompiled and organized by way of a predetermined lookup table.
摘要翻译: 公开了用于在显示设备上显示二维对象的方法和计算机可读介质。 从应用程序接收呈现请求,以向显示设备呈现二维建模的图形。 将渲染请求的绘制调用的原始几何细分为三角形序列。 三角形的顶点与索引一起映射到顶点缓冲区以识别关联的常量数据。 分批操作通过三维渲染应用程序界面存储和传送调用和映射数据到图形处理单元。 与映射数据相关联的常量数据被索引并在常量缓冲区中附加在一起,从而允许绘图调用被合并。 提供分段缓冲区和分段纹理用于批量文本反锯齿操作。 着色器片段通过预定的查找表进行预编译和组织。