Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/integrator/path_trace_work_gpu.h
| Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | protected: | ||||
| /* Naive implementation of the `copy_to_gpu_display()` which performs film conversion on the | /* Naive implementation of the `copy_to_gpu_display()` which performs film conversion on the | ||||
| * device, then copies pixels to the host and pushes them to the `gpu_display`. */ | * device, then copies pixels to the host and pushes them to the `gpu_display`. */ | ||||
| void copy_to_gpu_display_naive(GPUDisplay *gpu_display, PassMode pass_mode, int num_samples); | void copy_to_gpu_display_naive(GPUDisplay *gpu_display, PassMode pass_mode, int num_samples); | ||||
| /* Implementation of `copy_to_gpu_display()` which uses driver's OpenGL/GPU interoperability | /* Implementation of `copy_to_gpu_display()` which uses driver's OpenGL/GPU interoperability | ||||
| * functionality, avoiding copy of pixels to the host. */ | * functionality, avoiding copy of pixels to the host. */ | ||||
| bool copy_to_gpu_display_interop(GPUDisplay *gpu_display, PassMode pass_mode, int num_samples); | bool copy_to_gpu_display_interop(GPUDisplay *gpu_display, PassMode pass_mode, int num_samples); | ||||
| /* Synchronously run the film conversion kernel which will store result in the given memory. | /* Synchronously run film conversion kernel and store display result in the given destination. */ | ||||
| * This is a common part of both `copy_to_gpu_display` implementations. */ | void get_render_tile_film_pixels(const PassAccessor::Destination &destination, | ||||
| void run_film_convert(device_ptr d_rgba_half, PassMode pass_mode, int num_samples); | PassMode pass_mode, | ||||
| int num_samples); | |||||
| int adaptive_sampling_convergence_check_count_active(float threshold, bool reset); | int adaptive_sampling_convergence_check_count_active(float threshold, bool reset); | ||||
| void enqueue_adaptive_sampling_filter_x(); | void enqueue_adaptive_sampling_filter_x(); | ||||
| void enqueue_adaptive_sampling_filter_y(); | void enqueue_adaptive_sampling_filter_y(); | ||||
| bool has_shadow_catcher() const; | bool has_shadow_catcher() const; | ||||
| /* Count how many currently scheduled paths can still split. */ | /* Count how many currently scheduled paths can still split. */ | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||