Lottie refactoring

This commit is contained in:
Isaac 2024-06-04 19:18:55 +04:00
parent d7bb7d55b4
commit 1e68aa0ef4
204 changed files with 76 additions and 17215 deletions

View file

@ -49,7 +49,7 @@ swift_library(
deps = [
"//submodules/Display",
"//submodules/MetalEngine",
"//submodules/TelegramUI/Components/LottieCpp",
"//submodules/LottieCpp",
"//submodules/TelegramUI/Components/LottieMetal",
"//submodules/rlottie:RLottieBinding",
"//Tests/LottieMetalTest/QOILoader",

View file

@ -23,7 +23,7 @@ objc_library(
"PublicHeaders",
],
deps = [
"//submodules/TelegramUI/Components/LottieCpp",
"//submodules/LottieCpp",
"//Tests/LottieMetalTest/thorvg",
],
sdk_frameworks = [

View file

@ -5,6 +5,7 @@
#import <UIKit/UIKit.h>
#import <LottieCpp/LottieCpp.h>
#import <LottieCpp/LottieAnimationContainer.h>
#ifdef __cplusplus
extern "C" {

View file

@ -3,6 +3,8 @@
#include <LottieCpp/LottieCpp.h>
#include <QuartzCore/QuartzCore.h>
#include <memory>
#include <vector>
#include <cassert>

View file

@ -1,5 +1,8 @@
#include "CoreGraphicsCanvasImpl.h"
#include <LottieCpp/CGPathCocoa.h>
#include <LottieCpp/VectorsCocoa.h>
namespace lottieRendering {
namespace {

View file

@ -6,6 +6,9 @@
#import "NullCanvasImpl.h"
#include <LottieCpp/RenderTreeNode.h>
#include <LottieCpp/LottieAnimationContainer.h>
#include <LottieCpp/CGPathCocoa.h>
#include <LottieCpp/VectorsCocoa.h>
namespace {

View file

@ -1,5 +1,8 @@
#include "ThorVGCanvasImpl.h"
#include <LottieCpp/CGPathCocoa.h>
#include <LottieCpp/VectorsCocoa.h>
namespace lottieRendering {
namespace {