VirtualBox

source: vbox/trunk/src/VBox/Additions/common/crOpenGL/icd_drv.h@ 42738

Last change on this file since 42738 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1/* $Id: icd_drv.h 28800 2010-04-27 08:22:32Z vboxsync $ */
2
3/** @file
4 *
5 * VirtualBox Windows NT/2000/XP guest OpenGL ICD header
6 */
7
8/*
9 * Copyright (C) 2006-2008 Oracle Corporation
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License (GPL) as published by the Free Software
15 * Foundation, in version 2 as it comes in the "COPYING" file of the
16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18 */
19
20#ifndef __ICDDRV_H__
21#define __ICDDRV_H__
22
23#include <windows.h>
24
25typedef struct _icdTable
26{
27 DWORD size;
28 PROC table[336];
29} ICDTABLE, *PICDTABLE;
30
31void APIENTRY DrvReleaseContext(HGLRC hglrc);
32BOOL APIENTRY DrvValidateVersion(DWORD version);
33PICDTABLE APIENTRY DrvSetContext(HDC hdc, HGLRC hglrc, void *callback);
34BOOL APIENTRY DrvSetPixelFormat(HDC hdc, int iPixelFormat);
35HGLRC APIENTRY DrvCreateContext(HDC hdc);
36HGLRC APIENTRY DrvCreateLayerContext(HDC hdc, int iLayerPlane);
37BOOL APIENTRY DrvDescribeLayerPlane(HDC hdc,int iPixelFormat,
38 int iLayerPlane, UINT nBytes,
39 LPLAYERPLANEDESCRIPTOR plpd);
40int APIENTRY DrvGetLayerPaletteEntries(HDC hdc, int iLayerPlane,
41 int iStart, int cEntries,
42 COLORREF *pcr);
43int APIENTRY DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd);
44BOOL APIENTRY DrvDeleteContext(HGLRC hglrc);
45BOOL APIENTRY DrvCopyContext(HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask);
46BOOL APIENTRY DrvShareLists(HGLRC hglrc1, HGLRC hglrc2);
47int APIENTRY DrvSetLayerPaletteEntries(HDC hdc, int iLayerPlane,
48 int iStart, int cEntries,
49 CONST COLORREF *pcr);
50BOOL APIENTRY DrvRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize);
51BOOL APIENTRY DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes);
52BOOL APIENTRY DrvSwapBuffers(HDC hdc);
53
54#endif /* __ICDDRV_H__ */
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