Add Chromium-only Blender WebEngine parity work
This commit is contained in:
24
blender-5.2.0/intern/cycles/hydra/output_driver.h
Normal file
24
blender-5.2.0/intern/cycles/hydra/output_driver.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* SPDX-FileCopyrightText: 2022 NVIDIA Corporation
|
||||
* SPDX-FileCopyrightText: 2022 Blender Foundation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "hydra/config.h"
|
||||
#include "session/output_driver.h"
|
||||
|
||||
HDCYCLES_NAMESPACE_OPEN_SCOPE
|
||||
|
||||
class HdCyclesOutputDriver final : public CCL_NS::OutputDriver {
|
||||
public:
|
||||
HdCyclesOutputDriver(HdCyclesSession *renderParam);
|
||||
|
||||
private:
|
||||
void write_render_tile(const Tile &tile) override;
|
||||
bool update_render_tile(const Tile &tile) override;
|
||||
|
||||
HdCyclesSession *const _renderParam;
|
||||
};
|
||||
|
||||
HDCYCLES_NAMESPACE_CLOSE_SCOPE
|
||||
Reference in New Issue
Block a user