Lines Matching refs:pixelFormatDesc
220 PIXELFORMATDESCRIPTOR pixelFormatDesc; in Library() local
221 deMemset(&pixelFormatDesc, 0, sizeof(pixelFormatDesc)); in Library()
223 pixelFormatDesc.nSize = sizeof(pixelFormatDesc); in Library()
224 pixelFormatDesc.nVersion = 1; in Library()
225 pixelFormatDesc.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; in Library()
226 pixelFormatDesc.iPixelType = PFD_TYPE_RGBA; in Library()
227 pixelFormatDesc.iLayerType = PFD_MAIN_PLANE; in Library()
229 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); in Library()
230 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc)) in Library()
500 PIXELFORMATDESCRIPTOR pixelFormatDesc; in Context() local
501 deMemset(&pixelFormatDesc, 0, sizeof(pixelFormatDesc)); in Context()
503 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc)) in Context()
506 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc)) in Context()