Lines Matching refs:pfi
59 const struct stw_pixelformat_info *pfi;
68 pfi = stw_pixelformat_get_info( iPixelFormat );
69 if (!pfi) {
75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE;
79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE;
83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE;
87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE;
91 *pvalue = pfi->pfd.dwFlags & PFD_SWAP_COPY ? WGL_SWAP_COPY_ARB : WGL_SWAP_UNDEFINED_ARB;
133 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_GDI ? TRUE : FALSE;
137 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_OPENGL ? TRUE : FALSE;
141 *pvalue = pfi->pfd.dwFlags & PFD_DOUBLEBUFFER ? TRUE : FALSE;
145 *pvalue = pfi->pfd.dwFlags & PFD_STEREO ? TRUE : FALSE;
149 switch (pfi->pfd.iPixelType) {
151 if (util_format_is_float(pfi->stvis.color_format)) {
167 *pvalue = pfi->pfd.cColorBits;
171 *pvalue = pfi->pfd.cRedBits;
175 *pvalue = pfi->pfd.cRedShift;
179 *pvalue = pfi->pfd.cGreenBits;
183 *pvalue = pfi->pfd.cGreenShift;
187 *pvalue = pfi->pfd.cBlueBits;
191 *pvalue = pfi->pfd.cBlueShift;
195 *pvalue = pfi->pfd.cAlphaBits;
199 *pvalue = pfi->pfd.cAlphaShift;
203 *pvalue = pfi->pfd.cAccumBits;
207 *pvalue = pfi->pfd.cAccumRedBits;
211 *pvalue = pfi->pfd.cAccumGreenBits;
215 *pvalue = pfi->pfd.cAccumBlueBits;
219 *pvalue = pfi->pfd.cAccumAlphaBits;
223 *pvalue = pfi->pfd.cDepthBits;
227 *pvalue = pfi->pfd.cStencilBits;
231 *pvalue = pfi->pfd.cAuxBuffers;
239 *pvalue = pfi->stvis.samples;