|
OpenTTD Source
1.11.0-beta2
|
#include "../core/alloc_type.hpp"#include "../core/geometry_type.hpp"#include "../gfx_type.h"#include "../spriteloader/spriteloader.hpp"#include "../misc/lrucache.hpp"Go to the source code of this file.
Data Structures | |
| class | OpenGLBackend |
| Platform-independent back-end class for OpenGL video drivers. More... | |
| class | OpenGLSprite |
| Class that encapsulates a RGBA texture together with a paletted remap texture. More... | |
Typedefs | |
| typedef void(* | OGLProc) () |
| typedef OGLProc(* | GetOGLProcAddressProc) (const char *proc) |
Functions | |
| bool | IsOpenGLVersionAtLeast (byte major, byte minor) |
| Check if the current OpenGL version is equal or higher than a given one. More... | |
| const char * | FindStringInExtensionList (const char *string, const char *substring) |
| Find a substring in a string made of space delimited elements. More... | |
OpenGL video driver support.
Definition in file opengl.h.
| const char* FindStringInExtensionList | ( | const char * | string, |
| const char * | substring | ||
| ) |
Find a substring in a string made of space delimited elements.
The substring has to match the complete element, partial matches don't count.
| string | List of space delimited elements. |
| substring | Substring to find. |
Definition at line 149 of file opengl.cpp.
| bool IsOpenGLVersionAtLeast | ( | byte | major, |
| byte | minor | ||
| ) |
Check if the current OpenGL version is equal or higher than a given one.
| major | Minimal major version. |
| minor | Minimal minor version. |
Definition at line 212 of file opengl.cpp.
Referenced by OpenGLBackend::Init(), and OpenGLBackend::InitShaders().