Searched refs:ppfd (Results 1 – 7 of 7) sorted by relevance
/external/angle/src/libGL/ |
D | entry_points_wgl.cpp | 66 int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd) in wglDescribePixelFormat() argument 69 if (ppfd) in wglDescribePixelFormat() 71 ppfd->dwFlags = ppfd->dwFlags | PFD_DRAW_TO_WINDOW; in wglDescribePixelFormat() 72 ppfd->dwFlags = ppfd->dwFlags | PFD_SUPPORT_OPENGL; in wglDescribePixelFormat() 73 ppfd->dwFlags = ppfd->dwFlags | PFD_GENERIC_ACCELERATED; in wglDescribePixelFormat() 74 ppfd->dwFlags = ppfd->dwFlags | PFD_DOUBLEBUFFER; in wglDescribePixelFormat() 75 ppfd->iPixelType = PFD_TYPE_RGBA; in wglDescribePixelFormat() 76 ppfd->cColorBits = 24; in wglDescribePixelFormat() 77 ppfd->cRedBits = 8; in wglDescribePixelFormat() 78 ppfd->cGreenBits = 8; in wglDescribePixelFormat() [all …]
|
D | entry_points_wgl.h | 25 int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd); 29 PIXELFORMATDESCRIPTOR *ppfd); 33 BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
|
/external/mesa3d/src/gallium/frontends/wgl/ |
D | stw_pixelformat.c | 353 PIXELFORMATDESCRIPTOR *ppfd) in DrvDescribePixelFormat() argument 365 if (ppfd == NULL) in DrvDescribePixelFormat() 376 memcpy(ppfd, &pfi->pfd, sizeof(PIXELFORMATDESCRIPTOR)); in DrvDescribePixelFormat() 421 stw_pixelformat_choose(HDC hdc, CONST PIXELFORMATDESCRIPTOR *ppfd) in stw_pixelformat_choose() argument 438 if (!(ppfd->dwFlags & PFD_DOUBLEBUFFER_DONTCARE) && in stw_pixelformat_choose() 439 !!(ppfd->dwFlags & PFD_DOUBLEBUFFER) != in stw_pixelformat_choose() 450 if (ppfd->cColorBits && !pfi->pfd.cColorBits) in stw_pixelformat_choose() 452 else if (ppfd->cColorBits > pfi->pfd.cColorBits) in stw_pixelformat_choose() 454 else if (ppfd->cColorBits < pfi->pfd.cColorBits) in stw_pixelformat_choose() 457 if (ppfd->cDepthBits && !pfi->pfd.cDepthBits) in stw_pixelformat_choose() [all …]
|
D | stw_wgl.c | 159 CONST PIXELFORMATDESCRIPTOR *ppfd ) in wglChoosePixelFormat() argument 161 if (ppfd->nSize != sizeof( PIXELFORMATDESCRIPTOR ) || ppfd->nVersion != 1) in wglChoosePixelFormat() 163 if (ppfd->iPixelType != PFD_TYPE_RGBA) in wglChoosePixelFormat() 165 if (!(ppfd->dwFlags & PFD_DRAW_TO_WINDOW)) in wglChoosePixelFormat() 167 if (!(ppfd->dwFlags & PFD_SUPPORT_OPENGL)) in wglChoosePixelFormat() 169 if (ppfd->dwFlags & PFD_DRAW_TO_BITMAP) in wglChoosePixelFormat() 171 if (!(ppfd->dwFlags & PFD_STEREO_DONTCARE) && (ppfd->dwFlags & PFD_STEREO)) in wglChoosePixelFormat() 174 return stw_pixelformat_choose( hdc, ppfd ); in wglChoosePixelFormat() 182 LPPIXELFORMATDESCRIPTOR ppfd ) in wglDescribePixelFormat() argument 184 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd ); in wglDescribePixelFormat() [all …]
|
D | stw_wgl.h | 46 CONST PIXELFORMATDESCRIPTOR *ppfd); 52 LPPIXELFORMATDESCRIPTOR ppfd); 60 CONST PIXELFORMATDESCRIPTOR *ppfd);
|
D | stw_pixelformat.h | 66 CONST PIXELFORMATDESCRIPTOR *ppfd );
|
/external/angle/include/WGL/ |
D | wgl.h | 89 …I * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 90 …(WINAPI * PFNGETENHMETAFILEPIXELFORMATPROC) (HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR *ppfd); 92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd… 116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 117 UINT WINAPI GetEnhMetaFilePixelFormat (HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR *ppfd); 119 BOOL WINAPI SetPixelFormat (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
|