Lines Matching refs:ModeInfo

93 		if ((modes[i]->ModeInfo.Xsize > 320) &&  in VGL_Available()
94 (modes[i]->ModeInfo.Ysize > 200) && in VGL_Available()
95 ((modes[i]->ModeInfo.Type == VIDBUF8) || in VGL_Available()
96 (modes[i]->ModeInfo.Type == VIDBUF16) || in VGL_Available()
97 (modes[i]->ModeInfo.Type == VIDBUF32))) { in VGL_Available()
181 if ((mode->w == inmode->ModeInfo.Xsize) && in VGL_AddMode()
182 (mode->h == inmode->ModeInfo.Ysize)) in VGL_AddMode()
194 mode->w = inmode->ModeInfo.Xsize; in VGL_AddMode()
195 mode->h = inmode->ModeInfo.Ysize; in VGL_AddMode()
222 if (VGLCurMode->ModeInfo.PixelBytes > 0) { in VGL_UpdateVideoInfo()
223 this->info.video_mem = VGLCurMode->ModeInfo.PixelBytes * in VGL_UpdateVideoInfo()
224 VGLCurMode->ModeInfo.Xsize * in VGL_UpdateVideoInfo()
225 VGLCurMode->ModeInfo.Ysize; in VGL_UpdateVideoInfo()
261 this->info.current_w = VGLCurMode->ModeInfo.Xsize; in VGL_VideoInit()
262 this->info.current_h = VGLCurMode->ModeInfo.Ysize; in VGL_VideoInit()
275 if ((modes[i]->ModeInfo.Type == VIDBUF8) || in VGL_VideoInit()
276 (modes[i]->ModeInfo.Type == VIDBUF16) || in VGL_VideoInit()
277 (modes[i]->ModeInfo.Type == VIDBUF32)) { in VGL_VideoInit()
320 if ((modes[i]->ModeInfo.Xsize == width) && in VGL_SetVideoMode()
321 (modes[i]->ModeInfo.Ysize == height) && in VGL_SetVideoMode()
322 ((modes[i]->ModeInfo.Type == VIDBUF8) || in VGL_SetVideoMode()
323 (modes[i]->ModeInfo.Type == VIDBUF16) || in VGL_SetVideoMode()
324 (modes[i]->ModeInfo.Type == VIDBUF32))) { in VGL_SetVideoMode()
345 VGLCurMode->ModeInfo = *VGLDisplay; in VGL_SetVideoMode()
353 if (VGLCurMode->ModeInfo.PixelBytes == 0) in VGL_SetVideoMode()
354 (VGLCurMode->ModeInfo.PixelBytes = 1); in VGL_SetVideoMode()
356 current->w = VGLCurMode->ModeInfo.Xsize; in VGL_SetVideoMode()
357 current->h = VGLCurMode->ModeInfo.Ysize; in VGL_SetVideoMode()
358 current->pixels = VGLCurMode->ModeInfo.Bitmap; in VGL_SetVideoMode()
359 current->pitch = VGLCurMode->ModeInfo.Xsize * in VGL_SetVideoMode()
360 VGLCurMode->ModeInfo.PixelBytes; in VGL_SetVideoMode()
364 if (VGLCurMode->ModeInfo.Type == VIDBUF8) in VGL_SetVideoMode()
369 if (VGLCurMode->ModeInfo.Xsize * 2 <= in VGL_SetVideoMode()
370 VGLCurMode->ModeInfo.VYsize) { in VGL_SetVideoMode()
529 vminfop = &(modescp->ModeInfo); in VGLListModes()
602 if (modes[i]->ModeInfo.Xsize * modes[i]->ModeInfo.Ysize > in VGLListModes()
603 vminfop->Xsize * modes[i]->ModeInfo.Ysize) in VGLListModes()
605 if ((modes[i]->ModeInfo.Xsize * modes[i]->ModeInfo.Ysize == in VGLListModes()
612 vminfop = &(modescp->ModeInfo); in VGLListModes()