VirtualBox

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

Last change on this file since 70085 was 69500, checked in by vboxsync, 7 years ago

*: scm --update-copyright-year

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