Home | History | Annotate | Download | only in video

Lines Matching defs:video

111 	SDL_VideoDevice *video = current_video;
155 if ( video->CreateWMCursor ) {
156 cursor->wm_cursor = video->CreateWMCursor(video, data, mask,
166 the video mode and when the SDL window gains the mouse focus.
170 SDL_VideoDevice *video = current_video;
173 /* Make sure that the video subsystem has been initialized */
174 if ( ! video ) {
186 } else if ( video->MoveWMCursor ) {
187 /* If the video driver is moving the cursor directly,
191 if ( SDL_cursor && video->ShowWMCursor ) {
192 video->ShowWMCursor(this, NULL);
202 if ( SDL_cursor->wm_cursor && video->ShowWMCursor ) {
203 show_wm_cursor = video->ShowWMCursor(this, SDL_cursor->wm_cursor);
209 if ( video->ShowWMCursor ) {
210 video->ShowWMCursor(this, NULL);
224 if ( video ) {
225 if ( video->ShowWMCursor ) {
226 video->ShowWMCursor(this, NULL);
246 SDL_VideoDevice *video = current_video;
255 if ( video && cursor->wm_cursor ) {
256 if ( video->FreeWMCursor ) {
257 video->FreeWMCursor(this, cursor->wm_cursor);
279 SDL_VideoDevice *video = current_video;
283 if ( video && video->CheckMouseMode ) {
284 video->CheckMouseMode(this);
295 SDL_VideoDevice *video = current_video;
298 if ( !video || !SDL_PublicSurface ) {
299 SDL_SetError("A video mode must be set before warping mouse");
303 /* If we have an offset video mode, offset the mouse coordinates */
314 if ( video->WarpWMCursor ) {
315 video->WarpWMCursor(this, x, y);
323 SDL_VideoDevice *video = current_video;
334 } else if ( video->MoveWMCursor ) {
335 video->MoveWMCursor(video, x, y);
562 the pixel format of the shadow surface to that of the video surface.
564 pixel format than the video surface, and using a software rendered cursor.
660 SDL_VideoDevice *video = current_video;
666 /* This can be called before a video mode is set */
667 if ( video->UpdateRects ) {
668 video->UpdateRects(this, 1, &area);
734 SDL_VideoDevice *video = current_video;
739 if ( video->UpdateRects ) {
740 video->UpdateRects(this, 1, &area);
745 /* Reset the cursor on video mode change