TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
glfeatures.cpp File Reference
#include <glfeatures.h>
#include <portability.h>
Include dependency graph for glfeatures.cpp:

Go to the source code of this file.

Functions

void checkCompressARBAvailable (bool &result)
void checkCompressARBEnabled (bool &result)
void updateCompressARBEnabled (void)
bool isCompressARBAvailable (void)
bool isCompressARBEnabled (void)
void getGLTextureMaxSize (int &result)
void getUserTextureMaxSize (int &result)
void updateUserTextureMaxSize (void)
int getGLTextureMaxSize (void)
int getUserTextureMaxSize (void)
static int getBestTextureAnisotropy (int requested)
void checkTextureAnisotropyAvailable (bool &result, int &maxAnisotropy)
void getUserTextureAnisotropy (int &result)
void updateUserTextureAnisotropy (void)
bool isTextureAnisotropyAvailable (void)
int getGLTextureMaxAnisotropy (void)
int getUserTextureAnisotropy (void)
void applyUserTextureAnisotropy (void)
void checkGLFeatures (void)

Variables

static bool compressARBAvailable
static bool compressARBEnabled
static int glTextureMaxSize
static int userTextureMaxSize
static bool textureAnisotropyAvailable
static int glTextureMaxAnisotropy
static int userTextureAnisotropy

Function Documentation

◆ applyUserTextureAnisotropy()

void applyUserTextureAnisotropy ( void )

Definition at line 239 of file glfeatures.cpp.

◆ checkCompressARBAvailable()

void checkCompressARBAvailable ( bool & result)

Definition at line 40 of file glfeatures.cpp.

Here is the call graph for this function:

◆ checkCompressARBEnabled()

void checkCompressARBEnabled ( bool & result)

Definition at line 60 of file glfeatures.cpp.

Here is the call graph for this function:

◆ checkGLFeatures()

void checkGLFeatures ( void )

Definition at line 251 of file glfeatures.cpp.

Here is the call graph for this function:

◆ checkTextureAnisotropyAvailable()

void checkTextureAnisotropyAvailable ( bool & result,
int & maxAnisotropy )

Definition at line 174 of file glfeatures.cpp.

Here is the call graph for this function:

◆ getBestTextureAnisotropy()

int getBestTextureAnisotropy ( int requested)
static

Definition at line 158 of file glfeatures.cpp.

◆ getGLTextureMaxAnisotropy()

int getGLTextureMaxAnisotropy ( void )

Definition at line 227 of file glfeatures.cpp.

◆ getGLTextureMaxSize() [1/2]

void getGLTextureMaxSize ( int & result)

Definition at line 110 of file glfeatures.cpp.

◆ getGLTextureMaxSize() [2/2]

int getGLTextureMaxSize ( void )

Definition at line 138 of file glfeatures.cpp.

◆ getUserTextureAnisotropy() [1/2]

void getUserTextureAnisotropy ( int & result)

Definition at line 192 of file glfeatures.cpp.

Here is the call graph for this function:

◆ getUserTextureAnisotropy() [2/2]

int getUserTextureAnisotropy ( void )

Definition at line 233 of file glfeatures.cpp.

◆ getUserTextureMaxSize() [1/2]

void getUserTextureMaxSize ( int & result)

Definition at line 119 of file glfeatures.cpp.

Here is the call graph for this function:

◆ getUserTextureMaxSize() [2/2]

int getUserTextureMaxSize ( void )

Definition at line 144 of file glfeatures.cpp.

◆ isCompressARBAvailable()

bool isCompressARBAvailable ( void )

Definition at line 92 of file glfeatures.cpp.

◆ isCompressARBEnabled()

bool isCompressARBEnabled ( void )

Definition at line 98 of file glfeatures.cpp.

◆ isTextureAnisotropyAvailable()

bool isTextureAnisotropyAvailable ( void )

Definition at line 221 of file glfeatures.cpp.

◆ updateCompressARBEnabled()

void updateCompressARBEnabled ( void )

Definition at line 85 of file glfeatures.cpp.

Here is the call graph for this function:

◆ updateUserTextureAnisotropy()

void updateUserTextureAnisotropy ( void )

Definition at line 215 of file glfeatures.cpp.

Here is the call graph for this function:

◆ updateUserTextureMaxSize()

void updateUserTextureMaxSize ( void )

Definition at line 133 of file glfeatures.cpp.

Here is the call graph for this function:

Variable Documentation

◆ compressARBAvailable

bool compressARBAvailable
static

Definition at line 36 of file glfeatures.cpp.

◆ compressARBEnabled

bool compressARBEnabled
static

Definition at line 37 of file glfeatures.cpp.

◆ glTextureMaxAnisotropy

int glTextureMaxAnisotropy
static

Definition at line 154 of file glfeatures.cpp.

◆ glTextureMaxSize

int glTextureMaxSize
static

Definition at line 106 of file glfeatures.cpp.

◆ textureAnisotropyAvailable

bool textureAnisotropyAvailable
static

Definition at line 153 of file glfeatures.cpp.

◆ userTextureAnisotropy

int userTextureAnisotropy
static

Definition at line 155 of file glfeatures.cpp.

◆ userTextureMaxSize

int userTextureMaxSize
static

Definition at line 107 of file glfeatures.cpp.