mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
winding order from tesellator.h to formats.h (flutter/engine#49865)
i have removed WindingOrder from tesellator.h and moved it to formats.h . Fixes https://github.com/flutter/flutter/issues/138832 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
parent
a0953fac8d
commit
f27cfea630
@ -19,6 +19,11 @@
|
||||
|
||||
namespace impeller {
|
||||
|
||||
enum class WindingOrder {
|
||||
kClockwise,
|
||||
kCounterClockwise,
|
||||
};
|
||||
|
||||
class Texture;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@ -24,11 +24,6 @@ void DestroyTessellator(TESStesselator* tessellator);
|
||||
using CTessellator =
|
||||
std::unique_ptr<TESStesselator, decltype(&DestroyTessellator)>;
|
||||
|
||||
enum class WindingOrder {
|
||||
kClockwise,
|
||||
kCounterClockwise,
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// @brief A utility that generates triangles of the specified fill type
|
||||
/// given a polyline. This happens on the CPU.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user