* Replace license text in headers with SPDX identifiers. * Remove specific license info from outdated readme.txt, instead leave details to the source files. * Add list of SPDX license identifiers used, and corresponding license texts. * Update copyright dates while we're at it. Ref D14069, T95597
28 lines
611 B
C++
28 lines
611 B
C++
/* SPDX-License-Identifier: Apache-2.0
|
|
* Copyright 2021-2022 Blender Foundation */
|
|
|
|
#pragma once
|
|
|
|
#include "MEM_guardedalloc.h"
|
|
|
|
#include "RNA_blender_cpp.h"
|
|
|
|
#include "session/output_driver.h"
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
class BlenderOutputDriver : public OutputDriver {
|
|
public:
|
|
explicit BlenderOutputDriver(BL::RenderEngine &b_engine);
|
|
~BlenderOutputDriver();
|
|
|
|
virtual void write_render_tile(const Tile &tile) override;
|
|
virtual bool update_render_tile(const Tile &tile) override;
|
|
virtual bool read_render_tile(const Tile &tile) override;
|
|
|
|
protected:
|
|
BL::RenderEngine b_engine_;
|
|
};
|
|
|
|
CCL_NAMESPACE_END
|