#ifndef COMPONENTS_VIZ_COMMON_QUADS_RENDER_PASS_IO_H_
#define COMPONENTS_VIZ_COMMON_QUADS_RENDER_PASS_IO_H_
#include <memory>
#include <vector>
#include "base/values.h"
#include "components/viz/common/quads/compositor_frame.h"
#include "components/viz/common/quads/compositor_render_pass.h"
#include "components/viz/common/viz_common_export.h"
namespace viz {
VIZ_COMMON_EXPORT base::Value::Dict CompositorRenderPassToDict(
const CompositorRenderPass& render_pass);
VIZ_COMMON_EXPORT std::unique_ptr<CompositorRenderPass>
CompositorRenderPassFromDict(const base::Value::Dict& dict);
VIZ_COMMON_EXPORT base::Value::Dict CompositorRenderPassListToDict(
const CompositorRenderPassList& render_pass_list);
VIZ_COMMON_EXPORT bool CompositorRenderPassListFromDict(
const base::Value::Dict& dict,
CompositorRenderPassList* render_pass_list);
VIZ_COMMON_EXPORT const char* BlendModeToString(SkBlendMode blend_mode);
VIZ_COMMON_EXPORT const char* DrawQuadMaterialToString(
DrawQuad::Material material);
struct VIZ_COMMON_EXPORT FrameData { … };
VIZ_COMMON_EXPORT base::Value::List FrameDataToList(
const std::vector<FrameData>& frame_data_list);
VIZ_COMMON_EXPORT bool FrameDataFromList(
const base::Value::List& list,
std::vector<FrameData>* frame_data_list);
}
#endif