Differential D6342 Diff 20011 extern/draco/dracoenc/src/draco/compression/mesh/mesh_edgebreaker_encoder.cc
Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/dracoenc/src/draco/compression/mesh/mesh_edgebreaker_encoder.cc
| Context not available. | |||||
| impl_ = nullptr; | impl_ = nullptr; | ||||
| // For tiny meshes it's usually better to use the basic edgebreaker as the | // For tiny meshes it's usually better to use the basic edgebreaker as the | ||||
| // overhead of the predictive one may turn out to be too big. | // overhead of the predictive one may turn out to be too big. | ||||
| // TODO(ostava): For now we have a set limit for forcing the basic edgebreaker | // TODO(b/111065939): Check if this can be improved. | ||||
| // based on the number of faces, but a more complex heuristic may be used if | |||||
| // needed. | |||||
| const bool is_tiny_mesh = mesh()->num_faces() < 1000; | const bool is_tiny_mesh = mesh()->num_faces() < 1000; | ||||
| int selected_edgebreaker_method = | int selected_edgebreaker_method = | ||||
| Context not available. | |||||
| return true; | return true; | ||||
| } | } | ||||
| bool MeshEdgebreakerEncoder::EncodeConnectivity() { | Status MeshEdgebreakerEncoder::EncodeConnectivity() { | ||||
| return impl_->EncodeConnectivity(); | return impl_->EncodeConnectivity(); | ||||
| } | } | ||||
| Context not available. | |||||