VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_viewport.txt@ 76474

Last change on this file since 76474 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 716 bytes
Line 
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:scissorTest:GL_SCISSOR_TEST
6:s_dims:scissorX,scissorY,scissorW,scissorH:Scissor
7#+scissorTest:s_dims:*CRrecti p;
8#+scissorTest:s_dims:scissorX,scissorY,scissorW,scissorH:*diff_api.Scissor(p.x1, p.y1, p.x2-p.x1, p.y2-p.y1);
9#-scissorTest:s_dims:scissorX,scissorY,scissorW,scissorH:Scissor
10#+:v_dims:*CRrecti p;
11#+:v_dims:viewportX,viewportY,viewportW,viewportH:*diff_api.Viewport(p.x1, p.y1, p.x2-p.x1, p.y2-p.y1);
12:v_dims:viewportX,viewportY,viewportW,viewportH:Viewport
13#-:v_dims:viewportX,viewportY,viewportW,viewportH:Viewport
14:depth:nearClip,farClip:DepthRange
Note: See TracBrowser for help on using the repository browser.

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