Blame | Last modification | View Log | RSS feed
# License Applicability. Except to the extent portions of this file are# made subject to an alternative license as permitted in the SGI Free# Software License B, Version 1.1 (the "License"), the contents of this# file are subject only to the provisions of the License. You may not use# this file except in compliance with the License. You may obtain a copy# of the License at Silicon Graphics, Inc., attn: Legal Services, 1600# Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:## http://oss.sgi.com/projects/FreeB## Note that, as provided in the License, the Software is distributed on an# "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS# DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND# CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A# PARTICULAR PURPOSE, AND NON-INFRINGEMENT.## Original Code. The Original Code is: OpenGL Sample Implementation,# Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,# Inc. The Original Code is Copyright (c) 1991-2002 Silicon Graphics, Inc.# Copyright in any portions created by third parties is as indicated# elsewhere herein. All Rights Reserved.## Additional Notice Provisions: This software was created using the# OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has# not been independently verified as being compliant with the OpenGL(R)# version 1.2.1 Specification.required-props:param: retval retaineddlflags: notlistable handcode nopwglflags: client-handcode server-handcode non-dispatchvectorequiv: *category: wglCreateContext( hDc )return HGLRCparam hDc HDC in valuecategory wgldlflags notlistable handcodewglflags non-dispatchDeleteContext( oldContext )return BOOLparam oldContext HGLRC in valuecategory wgldlflags notlistable handcodewglflags non-dispatchGetCurrentContext( )return HGLRCcategory wgldlflags notlistable handcodewglflags non-dispatchMakeCurrent( hDc, newContext )return BOOLparam hDc HDC in valueparam newContext HGLRC in valuecategory wgldlflags notlistablewglflags non-dispatchCopyContext( hglrcSrc, hglrcDst, mask )return BOOLparam hglrcSrc HGLRC in valueparam hglrcDst HGLRC in valueparam mask UINT in valuecategory wgldlflags notlistablewglflags non-dispatchChoosePixelFormat( hDc, pPfd )return intparam hDc HDC in valueparam pPfd PIXELFORMATDESCRIPTOR in referencecategory wgldlflags notlistablewglflags non-dispatchDescribePixelFormat( hdc, ipfd, cjpfd, ppfd )return intparam hdc HDC in valueparam ipfd int in valueparam cjpfd UINT in valueparam ppfd PIXELFORMATDESCRIPTOR in referenceGetCurrentDC( )return HDCcategory wglGetDefaultProcAddress( lpszProc)return PROCparam lpszProc LPCSTR in valuecategory wglGetProcAddress( lpszProc)return PROCparam lpszProc LPCSTR in valuecategory wglGetPixelFormat( hdc )return intparam hdc HDC in valuecategory wglSetPixelFormat( hdc, ipfd, ppfd )return BOOLparam hdc HDC in valueparam ipfd int in valueparam ppfd PIXELFORMATDESCRIPTOR in referencecategory wglSwapBuffers( hdc )return BOOLparam hdc HDC in valuecategory wglShareLists( hrcSrvShare, hrcSrvSource)return BOOLparam hrcSrvShare HGLRC in valueparam hrcSrvSource HGLRC in valuecategory wglCreateLayerContext( hDc, level )return HGLRCparam hDc HDC in valueparam level int in valuecategory wglDescribeLayerPlane( hDc, pixelFormat, layerPlane, nBytes, plpd )return BOOLparam hDc HDC in valueparam pixelFormat int in valueparam layerPlane int in valueparam nBytes UINT in valueparam plpd LAYERPLANEDESCRIPTOR in referencecategory wglSetLayerPaletteEntries( hdc, iLayerPlane, iStart, cEntries, pcr )return intparam hdc HDC in valueparam iLayerPlane int in valueparam iStart int in valueparam cEntries int in valueparam pcr COLORREF in referencecategory wglGetLayerPaletteEntries( hdc, iLayerPlane, iStart, cEntries, pcr )return intparam hdc HDC in valueparam iLayerPlane int in valueparam iStart int in valueparam cEntries int in valueparam pcr COLORREF in referencecategory wglRealizeLayerPalette( hdc, iLayerPlane, bRealize )return BOOLparam hdc HDC in valueparam iLayerPlane int in valueparam bRealize BOOL in valuecategory wglSwapLayerBuffers( hdc, fuFlags )return BOOLparam hdc HDC in valueparam fuFlags UINT in valuecategory wglUseFontBitmapsA( hDC, first, count, listBase )return BOOLparam hDC HDC in valueparam first DWORD in valueparam count DWORD in valueparam listBase DWORD in valuecategory wgldlflags notlistableUseFontBitmapsW( hDC, first, count, listBase )return BOOLparam hDC HDC in valueparam first DWORD in valueparam count DWORD in valueparam listBase DWORD in valuecategory wgldlflags notlistable# Added by hand. Where can we find an updated spec?#UseFontBitmaps( hDC, first, count, listBase )# return BOOL# param hDC HDC in value# param first DWORD in value# param count DWORD in value# param listBase DWORD in value# category wgl# dlflags notlistableUseFontOutlinesA( hDC, first, count, listBase )return BOOLparam hDC HDC in valueparam first DWORD in valueparam count DWORD in valueparam listBase DWORD in valueparam thickness float in valueparam deviation float in valueparam fontMode DWORD in valueparam glyphMetrics GLYPHMETRICSFLOAT in arraycategory wgldlflags notlistableUseFontOutlinesW( hDC, first, count, listBase )return BOOLparam hDC HDC in valueparam first DWORD in valueparam count DWORD in valueparam listBase DWORD in valueparam thickness float in valueparam deviation float in valueparam fontMode DWORD in valueparam glyphMetrics GLYPHMETRICSFLOAT in arraycategory wgldlflags notlistable#UseFontOutlines( hDC, first, count, listBase )# return BOOL# param hDC HDC in value# param first DWORD in value# param count DWORD in value# param listBase DWORD in value# param thickness float in value# param deviation float in value# param fontMode DWORD in value# param glyphMetrics GLYPHMETRICSFLOAT in array# category wgl# dlflags notlistable