Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/buffers.h
| Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | |||||
| * | * | ||||
| * Copy happens of the number of pixels in the destination. */ | * Copy happens of the number of pixels in the destination. */ | ||||
| void render_buffers_host_copy_denoised(RenderBuffers *dst, | void render_buffers_host_copy_denoised(RenderBuffers *dst, | ||||
| const BufferParams &dst_params, | const BufferParams &dst_params, | ||||
| const RenderBuffers *src, | const RenderBuffers *src, | ||||
| const BufferParams &src_params, | const BufferParams &src_params, | ||||
| const size_t src_offset = 0); | const size_t src_offset = 0); | ||||
| /* Scale all pixels of the given render buffers. | |||||
| * The scale is appleid to the host side memory, no device<->host data transfer is happening here. | |||||
| */ | |||||
| void render_buffers_scale_uniform(RenderBuffers *buffers, const float scale); | |||||
| /* Render Tile | /* Render Tile | ||||
| * Rendering task on a buffer */ | * Rendering task on a buffer */ | ||||
| class RenderTile { | class RenderTile { | ||||
| public: | public: | ||||
| typedef enum { PATH_TRACE = (1 << 0), BAKE = (1 << 1), DENOISE = (1 << 2) } Task; | typedef enum { PATH_TRACE = (1 << 0), BAKE = (1 << 1), DENOISE = (1 << 2) } Task; | ||||
| Task task; | Task task; | ||||
| ▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines | |||||