Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/blender_display_driver.h
| Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Lines | struct { | ||||
| /* Dimensions of the texture in pixels. */ | /* Dimensions of the texture in pixels. */ | ||||
| int width = 0; | int width = 0; | ||||
| int height = 0; | int height = 0; | ||||
| /* Dimensions of the underlying PBO. */ | /* Dimensions of the underlying PBO. */ | ||||
| int buffer_width = 0; | int buffer_width = 0; | ||||
| int buffer_height = 0; | int buffer_height = 0; | ||||
| /* Display parameters the texture has been updated for. */ | |||||
| Params params; | |||||
| } texture_; | } texture_; | ||||
| unique_ptr<BlenderDisplayShader> display_shader_; | unique_ptr<BlenderDisplayShader> display_shader_; | ||||
| /* Special track of whether GPU resources were attempted to be created, to avoid attempts of | /* Special track of whether GPU resources were attempted to be created, to avoid attempts of | ||||
| * their re-creation on failure on every redraw. */ | * their re-creation on failure on every redraw. */ | ||||
| bool gl_draw_resource_creation_attempted_ = false; | bool gl_draw_resource_creation_attempted_ = false; | ||||
| bool gl_draw_resources_created_ = false; | bool gl_draw_resources_created_ = false; | ||||
| Show All 12 Lines | |||||