![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Everything the GPU layer-over-input blend needs, in one place. More...
Collaboration diagram for drawlayer_blend_cl_request_t:Data Fields | |
| int | devid |
| int | kernel_premult_over |
| cl_mem | dev_out |
| cl_mem | dev_in |
| drawlayer_process_scratch_t * | scratch |
| const float * | layer_pixels |
| dt_pixel_cache_entry_t * | source_entry |
| int | source_w |
| int | source_h |
| dt_drawlayer_process_state_t * | process |
| const dt_iop_roi_t * | target_roi |
| const dt_iop_roi_t * | source_roi |
| gboolean | use_preview_bg |
| float | preview_bg |
| gboolean | realtime_reuse |
| gboolean | allow_partial |
Everything the GPU layer-over-input blend needs, in one place.
It used to be sixteen positional arguments at a single call site, four of them adjacent same-typed neighbours (two ints for the source size, two gbooleans for the reuse and partial policies) where a transposition compiles silently and changes what is composited. Named fields at the call site make that mistake unwriteable.
Definition at line 926 of file drawlayer.c.
| gboolean drawlayer_blend_cl_request_t::allow_partial |
Definition at line 943 of file drawlayer.c.
| cl_mem drawlayer_blend_cl_request_t::dev_in |
Definition at line 931 of file drawlayer.c.
| cl_mem drawlayer_blend_cl_request_t::dev_out |
Definition at line 930 of file drawlayer.c.
| int drawlayer_blend_cl_request_t::devid |
Definition at line 928 of file drawlayer.c.
Referenced by process_cl().
| int drawlayer_blend_cl_request_t::kernel_premult_over |
Definition at line 929 of file drawlayer.c.
| const float* drawlayer_blend_cl_request_t::layer_pixels |
Definition at line 933 of file drawlayer.c.
| float drawlayer_blend_cl_request_t::preview_bg |
Definition at line 941 of file drawlayer.c.
| dt_drawlayer_process_state_t* drawlayer_blend_cl_request_t::process |
Definition at line 937 of file drawlayer.c.
| gboolean drawlayer_blend_cl_request_t::realtime_reuse |
Definition at line 942 of file drawlayer.c.
| drawlayer_process_scratch_t* drawlayer_blend_cl_request_t::scratch |
Definition at line 932 of file drawlayer.c.
| dt_pixel_cache_entry_t* drawlayer_blend_cl_request_t::source_entry |
Definition at line 934 of file drawlayer.c.
| int drawlayer_blend_cl_request_t::source_h |
Definition at line 936 of file drawlayer.c.
| const dt_iop_roi_t* drawlayer_blend_cl_request_t::source_roi |
Definition at line 939 of file drawlayer.c.
| int drawlayer_blend_cl_request_t::source_w |
Definition at line 935 of file drawlayer.c.
| const dt_iop_roi_t* drawlayer_blend_cl_request_t::target_roi |
Definition at line 938 of file drawlayer.c.
| gboolean drawlayer_blend_cl_request_t::use_preview_bg |
Definition at line 940 of file drawlayer.c.