OpenTTD Source 20241224-master-gee860a5c8e
sdl2_default_v.cpp File Reference

Implementation of the default backend for SDL2 video driver. More...

#include "../stdafx.h"
#include "../openttd.h"
#include "../error_func.h"
#include "../gfx_func.h"
#include "../rev.h"
#include "../blitter/factory.hpp"
#include "../network/network.h"
#include "../thread.h"
#include "../progress.h"
#include "../core/random_func.hpp"
#include "../core/math_func.hpp"
#include "../core/mem_func.hpp"
#include "../core/geometry_func.hpp"
#include "../fileio_func.h"
#include "../framerate_type.h"
#include "../window_func.h"
#include "sdl2_default_v.h"
#include <SDL.h>
#include <mutex>
#include <condition_variable>
#include "../safeguards.h"

Go to the source code of this file.

Variables

static FVideoDriver_SDL_Default iFVideoDriver_SDL_Default
 
static SDL_Surface * _sdl_surface
 
static SDL_Surface * _sdl_rgb_surface
 
static SDL_Surface * _sdl_real_surface
 
static SDL_Palette * _sdl_palette
 

Detailed Description

Implementation of the default backend for SDL2 video driver.

Definition in file sdl2_default_v.cpp.

Variable Documentation

◆ _sdl_palette

SDL_Palette* _sdl_palette
static

Definition at line 42 of file sdl2_default_v.cpp.

◆ _sdl_real_surface

SDL_Surface* _sdl_real_surface
static

Definition at line 41 of file sdl2_default_v.cpp.

◆ _sdl_rgb_surface

SDL_Surface* _sdl_rgb_surface
static

Definition at line 40 of file sdl2_default_v.cpp.

◆ _sdl_surface

SDL_Surface* _sdl_surface
static

Definition at line 39 of file sdl2_default_v.cpp.

◆ iFVideoDriver_SDL_Default

FVideoDriver_SDL_Default iFVideoDriver_SDL_Default
static

Definition at line 37 of file sdl2_default_v.cpp.