mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-08 21:49:41 +00:00
27 lines
557 B
Objective-C
27 lines
557 B
Objective-C
//
|
|
// ASImageNode+AnimatedImagePrivate.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Garrett Moon on 3/30/16.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import "ASThread.h"
|
|
|
|
@interface ASImageNode ()
|
|
{
|
|
ASDN::RecursiveMutex _animatedImageLock;
|
|
ASDN::Mutex _displayLinkLock;
|
|
id <ASAnimatedImageProtocol> _animatedImage;
|
|
BOOL _animatedImagePaused;
|
|
CADisplayLink *_displayLink;
|
|
|
|
//accessed on main thread only
|
|
CFTimeInterval _playHead;
|
|
NSUInteger _playedLoops;
|
|
}
|
|
|
|
@property (atomic, assign) CFTimeInterval lastDisplayLinkFire;
|
|
|
|
@end
|