Home
last modified time | relevance | path

Searched refs:ppfd (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_wgl.c145 CONST PIXELFORMATDESCRIPTOR *ppfd ) in wglChoosePixelFormat() argument
147 if (ppfd->nSize != sizeof( PIXELFORMATDESCRIPTOR ) || ppfd->nVersion != 1) in wglChoosePixelFormat()
149 if (ppfd->iPixelType != PFD_TYPE_RGBA) in wglChoosePixelFormat()
151 if (!(ppfd->dwFlags & PFD_DRAW_TO_WINDOW)) in wglChoosePixelFormat()
153 if (!(ppfd->dwFlags & PFD_SUPPORT_OPENGL)) in wglChoosePixelFormat()
155 if (ppfd->dwFlags & PFD_DRAW_TO_BITMAP) in wglChoosePixelFormat()
157 if (ppfd->dwFlags & PFD_SUPPORT_GDI) in wglChoosePixelFormat()
159 if (!(ppfd->dwFlags & PFD_STEREO_DONTCARE) && (ppfd->dwFlags & PFD_STEREO)) in wglChoosePixelFormat()
162 return stw_pixelformat_choose( hdc, ppfd ); in wglChoosePixelFormat()
170 LPPIXELFORMATDESCRIPTOR ppfd ) in wglDescribePixelFormat() argument
[all …]
Dstw_pixelformat.c320 PIXELFORMATDESCRIPTOR *ppfd ) in DrvDescribePixelFormat() argument
332 if (ppfd == NULL) in DrvDescribePixelFormat()
342 memcpy(ppfd, &pfi->pfd, sizeof( PIXELFORMATDESCRIPTOR )); in DrvDescribePixelFormat()
397 CONST PIXELFORMATDESCRIPTOR *ppfd ) in stw_pixelformat_choose() argument
414 if (!(ppfd->dwFlags & PFD_DOUBLEBUFFER_DONTCARE) && in stw_pixelformat_choose()
415 !!(ppfd->dwFlags & PFD_DOUBLEBUFFER) != in stw_pixelformat_choose()
420 if (ppfd->cColorBits != pfi->pfd.cColorBits) in stw_pixelformat_choose()
423 if (ppfd->cDepthBits != pfi->pfd.cDepthBits) in stw_pixelformat_choose()
426 if (ppfd->cStencilBits != pfi->pfd.cStencilBits) in stw_pixelformat_choose()
429 if (ppfd->cAlphaBits != pfi->pfd.cAlphaBits) in stw_pixelformat_choose()
Dstw_wgl.h46 CONST PIXELFORMATDESCRIPTOR *ppfd);
52 LPPIXELFORMATDESCRIPTOR ppfd);
60 CONST PIXELFORMATDESCRIPTOR *ppfd);
Dstw_pixelformat.h62 CONST PIXELFORMATDESCRIPTOR *ppfd );
Dstw_icd.h549 PIXELFORMATDESCRIPTOR *ppfd );
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwgl.c237 PIXELFORMATDESCRIPTOR *ppfd) in wglChoosePixelFormat() argument
242 if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1) in wglChoosePixelFormat()
251 (ppfd->dwFlags & PFD_DRAW_TO_WINDOW) && in wglChoosePixelFormat()
255 (ppfd->dwFlags & PFD_DRAW_TO_BITMAP) && in wglChoosePixelFormat()
259 (ppfd->dwFlags & PFD_SUPPORT_GDI) && in wglChoosePixelFormat()
263 (ppfd->dwFlags & PFD_SUPPORT_OPENGL) && in wglChoosePixelFormat()
267 !(ppfd->dwFlags & PFD_DOUBLEBUFFER_DONTCARE) && in wglChoosePixelFormat()
268 ((ppfd->dwFlags & PFD_DOUBLEBUFFER) != in wglChoosePixelFormat()
272 !(ppfd->dwFlags & PFD_STEREO_DONTCARE) && in wglChoosePixelFormat()
273 ((ppfd->dwFlags & PFD_STEREO) != in wglChoosePixelFormat()
[all …]