Blender
V3.3
|
Public Member Functions | |
GLTexture ()=default | |
~GLTexture () | |
GLTexture (const GLTexture &other)=delete | |
GLTexture & | operator= (GLTexture &other)=delete |
GLTexture (GLTexture &&other) noexcept | |
GLTexture & | operator= (GLTexture &&other) |
bool | gl_resources_ensure () |
void | gl_resources_destroy () |
Public Attributes | |
uint | gl_id = 0 |
int | width = 0 |
int | height = 0 |
Static Public Attributes | |
static std::atomic< int > | num_used = 0 |
Protected Member Functions | |
void | reset () |
Definition at line 269 of file blender/display_driver.cpp.
|
default |
|
inline |
Definition at line 276 of file blender/display_driver.cpp.
References gl_id.
|
delete |
|
inlinenoexcept |
Definition at line 284 of file blender/display_driver.cpp.
|
inline |
Definition at line 337 of file blender/display_driver.cpp.
References gl_id, num_used, and reset().
Referenced by DrawTile::gl_resources_destroy().
|
inline |
Definition at line 305 of file blender/display_driver.cpp.
References gl_id, LOG, and num_used.
Referenced by DrawTile::gl_resources_ensure().
Definition at line 290 of file blender/display_driver.cpp.
|
inlineprotected |
Definition at line 360 of file blender/display_driver.cpp.
References gl_id, height, and width.
Referenced by gl_resources_destroy().
uint GLTexture::gl_id = 0 |
Definition at line 353 of file blender/display_driver.cpp.
Referenced by draw_tile(), gl_resources_destroy(), gl_resources_ensure(), operator=(), DrawTile::ready_to_draw(), reset(), BlenderDisplayDriver::update_begin(), update_tile_texture_pixels(), and ~GLTexture().
int GLTexture::height = 0 |
Definition at line 357 of file blender/display_driver.cpp.
Referenced by draw_tile(), operator=(), reset(), BlenderDisplayDriver::update_begin(), and update_tile_texture_pixels().
|
inlinestatic |
Definition at line 272 of file blender/display_driver.cpp.
Referenced by BlenderDisplayDriver::draw(), gl_resources_destroy(), and gl_resources_ensure().
int GLTexture::width = 0 |
Definition at line 356 of file blender/display_driver.cpp.
Referenced by draw_tile(), operator=(), reset(), BlenderDisplayDriver::update_begin(), and update_tile_texture_pixels().