29 const size_t render_mem_bytes,
30 const size_t max_concurrent_render_sessions,
31 const bool compositor_use_last_gpu,
32 const bool enable_auto_clear_render_mem,
33 const int render_oom_retry_threshold,
34 const bool renderer_prefer_igpu,
35 const uint32_t renderer_vulkan_timeout_ms,
36 const bool renderer_use_parallel_executors,
38 const bool renderer_enable_slab_allocation)
40 throw std::runtime_error(
41 "Rendering is only supported in the Enterprise and Community Editions");
51 TRenderResult& _return,
52 const std::shared_ptr<Catalog_Namespace::SessionInfo> session_info,
53 const int64_t widget_id,
54 std::string&& vega_json,
55 const int32_t compression_level,
56 const std::string& nonce) {
61 const TSessionId& session,
62 const int64_t widget_id,
63 const int16_t node_idx,
64 std::string&& vega_json) {
69 const TPendingRenderQuery& pending_render,
70 const TRenderAggDataMap& merged_data) {
75 TPixelTableRowResult& _return,
76 const std::shared_ptr<Catalog_Namespace::SessionInfo> session_info,
77 const int64_t widget_id,
79 const std::map<std::string, std::vector<std::string>>& table_col_names,
80 const bool column_format,
81 const int32_t pixelRadius,
82 const std::string& nonce) {
100 const std::string& other_renderer_status_json)
const {
void execute_next_render_step(TRenderStepResult &_return, const TPendingRenderQuery &pending_render, const TRenderAggDataMap &merged_data)
void disconnect(const TSessionId &session)
void start_render_query(TPendingRenderQuery &_return, const TSessionId &session, const int64_t widget_id, const int16_t node_idx, std::string &&vega_json)
void get_result_row_for_pixel(TPixelTableRowResult &_return, const std::shared_ptr< Catalog_Namespace::SessionInfo > session_info, const int64_t widget_id, const TPixel &pixel, const std::map< std::string, std::vector< std::string >> &table_col_names, const bool column_format, const int32_t pixelRadius, const std::string &nonce)
std::unique_ptr< Impl > impl_
RenderHandler(DBHandler *db_handler, const size_t render_mem_bytes, const size_t max_conncurrent_render_sessions, const bool compositor_use_last_gpu, const bool enable_auto_clear_render_mem, const int render_oom_retry_threshold, const bool renderer_prefer_igpu, const uint32_t renderer_vulkan_timeout_ms, const bool renderer_use_parallel_executors, const SystemParameters system_parameters, const bool renderer_enable_slab_allocation)
std::string get_renderer_status_json() const
bool validate_renderer_status_json(const std::string &other_renderer_status_json) const
void render_vega(TRenderResult &_return, const std::shared_ptr< Catalog_Namespace::SessionInfo > session_info, const int64_t widget_id, std::string &&vega_json, const int32_t compression_level, const std::string &nonce)