50 bool update_begin(
int texture_width,
int texture_height);
74 const half4 *rgba_pixels,
int texture_x,
int texture_y,
int pixels_width,
int pixels_height);
149 unique_ptr<DisplayDriver> driver_;
159 void mark_texture_updated();
182 } texture_buffer_state_;
void reset(const BufferParams &buffer_params, bool reset_rendering)
virtual ~PathTraceDisplay()=default
int2 get_texture_size() const
PathTraceDisplay(unique_ptr< DisplayDriver > driver)
void graphics_interop_activate()
half4 * map_texture_buffer()
DisplayDriver::GraphicsInterop graphics_interop_get()
bool update_begin(int texture_width, int texture_height)
void graphics_interop_deactivate()
void copy_pixels_to_texture(const half4 *rgba_pixels, int texture_x, int texture_y, int pixels_width, int pixels_height)
void unmap_texture_buffer()
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN typedef std::mutex thread_mutex