Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_NodeOperation.h
| Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | struct NodeOperationFlags { | ||||
| */ | */ | ||||
| bool complex : 1; | bool complex : 1; | ||||
| /** | /** | ||||
| * Does this operation support OpenCL. | * Does this operation support OpenCL. | ||||
| */ | */ | ||||
| bool open_cl : 1; | bool open_cl : 1; | ||||
| bool single_threaded : 1; | /** | ||||
| * Is this operation write done in one single full-frame rectangle (single-threaded) | |||||
| */ | |||||
| bool write_full_buffer : 1; | |||||
| /** | |||||
| * Is this operation write divided in tiles (multi-threaded) | |||||
| */ | |||||
| bool write_partial_buffer : 1; | |||||
| /** | /** | ||||
| * Does the operation needs a viewer border. | * Does the operation needs a viewer border. | ||||
| * Basically, setting border need to happen for only operations | * Basically, setting border need to happen for only operations | ||||
| * which operates in render resolution buffers (like compositor | * which operates in render resolution buffers (like compositor | ||||
| * output nodes). | * output nodes). | ||||
| * | * | ||||
| * In this cases adding border will lead to mapping coordinates | * In this cases adding border will lead to mapping coordinates | ||||
| Show All 28 Lines | struct NodeOperationFlags { | ||||
| * | * | ||||
| * By default data conversions are enabled. | * By default data conversions are enabled. | ||||
| */ | */ | ||||
| bool use_datatype_conversion : 1; | bool use_datatype_conversion : 1; | ||||
| NodeOperationFlags() | NodeOperationFlags() | ||||
| { | { | ||||
| complex = false; | complex = false; | ||||
| single_threaded = false; | write_full_buffer = false; | ||||
| write_partial_buffer = false; | |||||
| open_cl = false; | open_cl = false; | ||||
| use_render_border = false; | use_render_border = false; | ||||
| use_viewer_border = false; | use_viewer_border = false; | ||||
| is_resolution_set = false; | is_resolution_set = false; | ||||
| is_set_operation = false; | is_set_operation = false; | ||||
| is_read_buffer_operation = false; | is_read_buffer_operation = false; | ||||
| is_write_buffer_operation = false; | is_write_buffer_operation = false; | ||||
| is_proxy_operation = false; | is_proxy_operation = false; | ||||
| ▲ Show 20 Lines • Show All 384 Lines • Show Last 20 Lines | |||||