Cleanup: Subdiv: Remove unnecessary C-API header

Use the topology refiner header directly.
Followup for 5e46e3d28a.

Pull Request: https://projects.blender.org/blender/blender/pulls/129941
This commit is contained in:
Hans Goudey
2024-11-07 10:36:53 +01:00
committed by Hans Goudey
parent acb49ee889
commit ba03407e33
12 changed files with 10 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ set(SRC
opensubdiv_converter_capi.hh
opensubdiv_evaluator_capi.hh
opensubdiv_evaluator.hh
opensubdiv_topology_refiner_capi.hh
opensubdiv_topology_refiner.hh
)
set(LIB
@@ -67,7 +67,6 @@ if(WITH_OPENSUBDIV)
internal/topology/topology_refiner_factory.cc
internal/topology/topology_refiner_impl.cc
internal/topology/topology_refiner_impl_compare.cc
internal/topology/topology_refiner_impl.h
)
list(APPEND LIB

View File

@@ -24,10 +24,9 @@
#include "internal/evaluator/eval_output_gpu.h"
#include "internal/evaluator/evaluator_cache_impl.h"
#include "internal/evaluator/patch_map.h"
#include "internal/topology/topology_refiner_impl.h"
#include "opensubdiv_evaluator.hh"
#include "opensubdiv_evaluator_capi.hh"
#include "opensubdiv_topology_refiner_capi.hh"
#include "opensubdiv_topology_refiner.hh"
using OpenSubdiv::Far::PatchTable;
using OpenSubdiv::Far::PatchTableFactory;

View File

@@ -8,8 +8,6 @@
# include <iso646.h>
#endif
#include "internal/topology/topology_refiner_impl.h"
#include <cassert>
#include <cstdio>
@@ -19,6 +17,7 @@
#include "internal/topology/mesh_topology.h"
#include "opensubdiv_converter_capi.hh"
#include "opensubdiv_topology_refiner.hh"
struct TopologyRefinerData {
const OpenSubdiv_Converter *converter;

View File

@@ -4,7 +4,7 @@
*
* Author: Sergey Sharybin. */
#include "internal/topology/topology_refiner_impl.h"
#include "opensubdiv_topology_refiner.hh"
namespace blender::opensubdiv {

View File

@@ -4,13 +4,11 @@
*
* Author: Sergey Sharybin. */
#include "internal/topology/topology_refiner_impl.h"
#include "internal/base/type_convert.h"
#include "internal/topology/mesh_topology.h"
#include "internal/topology/topology_refiner_impl.h"
#include "opensubdiv_converter_capi.hh"
#include "opensubdiv_topology_refiner.hh"
namespace blender::opensubdiv {

View File

@@ -15,7 +15,6 @@
#include "internal/base/memory.h"
#include "internal/topology/mesh_topology.h"
#include "opensubdiv_topology_refiner_capi.hh"
// Those settings don't really belong to OpenSubdiv's topology refiner, but
// we are keeping track of them on our side of topology refiner. This is to

View File

@@ -1,7 +0,0 @@
/* SPDX-FileCopyrightText: 2018 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "internal/topology/topology_refiner_impl.h"