VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_polygon.txt@ 19142

最後變更 在這個檔案從19142是 15532,由 vboxsync 提交於 16 年 前

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 832 位元組
 
1# Copyright (c) 2001, Stanford University
2# All rights reserved.
3#
4# See the file LICENSE.txt for information on redistributing this software.
5:enable:polygonSmooth:GL_POLYGON_SMOOTH
6:enable:polygonOffsetFill:GL_POLYGON_OFFSET_FILL
7:enable:polygonOffsetLine:GL_POLYGON_OFFSET_LINE
8:enable:polygonOffsetPoint:GL_POLYGON_OFFSET_POINT
9:enable:polygonStipple:GL_POLYGON_STIPPLE
10:enable:cullFace:GL_CULL_FACE
11:offset:offsetFactor,offsetUnits:PolygonOffset
12:mode:frontFace:FrontFace
13:mode:cullFaceMode:CullFace
14:mode:backMode:PolygonMode,GL_BACK
15:mode:frontMode:PolygonMode,GL_FRONT
16-:stipple:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
17+:stipple:*int j;
18+:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
19+:stipple:*for (j=0; j<32; j++)
20+:stipple:*{
21+:stipple:* from->stipple[j] = to->stipple[j];
22+:stipple:*}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette