#include "components/viz/service/display/bsp_tree.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/containers/circular_deque.h"
#include "cc/base/container_util.h"
#include "components/viz/service/display/bsp_compare_result.h"
#include "components/viz/service/display/draw_polygon.h"
namespace viz {
BspNode::BspNode(std::unique_ptr<DrawPolygon> data)
: … { … }
BspNode::~BspNode() = default;
BspTree::BspTree(base::circular_deque<std::unique_ptr<DrawPolygon>>* list) { … }
BspTree::~BspTree() = default;
void BspTree::BuildTree(
BspNode* node,
base::circular_deque<std::unique_ptr<DrawPolygon>>* polygon_list) { … }
BspCompareResult BspTree::GetCameraPositionRelative(const DrawPolygon& node) { … }
}