Lines Matching refs:iPixelFormat
143 int iPixelFormat = GetPixelFormat(hdc); in get_matching_pixel_format() local
146 if (!iPixelFormat) in get_matching_pixel_format()
148 if (!DescribePixelFormat(hdc, iPixelFormat, sizeof(pfd), &pfd)) in get_matching_pixel_format()
167 int iPixelFormat; in stw_create_context_attribs() local
189 iPixelFormat = fb->iPixelFormat; in stw_create_context_attribs()
196 iPixelFormat = get_matching_pixel_format(hdc); in stw_create_context_attribs()
197 if (!iPixelFormat) in stw_create_context_attribs()
201 pfi = stw_pixelformat_get_info( iPixelFormat ); in stw_create_context_attribs()
216 ctx->iPixelFormat = iPixelFormat; in stw_create_context_attribs()
481 int iPixelFormat = get_matching_pixel_format(hDrawDC); in stw_make_current() local
482 if (iPixelFormat) in stw_make_current()
483 fb = stw_framebuffer_create( hDrawDC, iPixelFormat ); in stw_make_current()
488 if (fb->iPixelFormat != ctx->iPixelFormat) { in stw_make_current()
521 int iPixelFormat = GetPixelFormat(hReadDC); in stw_make_current() local
522 if (iPixelFormat) in stw_make_current()
523 fbRead = stw_framebuffer_create( hReadDC, iPixelFormat ); in stw_make_current()
528 if (fbRead->iPixelFormat != ctx->iPixelFormat) { in stw_make_current()