发明授权
- 专利标题: Vertex array access bounds checking
- 专利标题(中): 顶点数组访问边界检查
-
申请号: US13945024申请日: 2013-07-18
-
公开(公告)号: US09043515B1公开(公告)日: 2015-05-26
- 发明人: Greggory Alan Tavares
- 申请人: Google Inc.
- 申请人地址: US CA Mountain View
- 专利权人: Google Inc.
- 当前专利权人: Google Inc.
- 当前专利权人地址: US CA Mountain View
- 代理机构: Lerner, David, Littenberg, Krumholz & Mentlik, LLP
- 主分类号: G06F3/00
- IPC分类号: G06F3/00 ; G06T11/20
摘要:
Aspects of the invention relate generally to validating array bounds in an API emulator. More specifically, an OpenGL (or OpenGL ES) emulator may examine each array accessed by a 3D graphic program. If the program requests information outside of an array, the emulator may return an error when the graphic is drawn. However, when the user (here, a programmer) queries the value of the array, the correct value (or the value provided by the programmer) may be returned. In another example, the emulator may examine index buffers which contain the indices of the elements on the other arrays to access. If the program requests a value which is not within the range, the emulator may return an error when the graphic is drawn. Again, when the programmer queries the value of the array, the correct value (or the value provided by the programmer) may be returned.
信息查询