mirror of
https://github.com/danog/Telegram.git
synced 2024-12-13 01:47:31 +01:00
16 lines
718 B
C
16 lines
718 B
C
|
#import <Foundation/Foundation.h>
|
||
|
#import <QuartzCore/QuartzCore.h>
|
||
|
#import "GPUImageFramebuffer.h"
|
||
|
|
||
|
@interface GPUImageFramebufferCache : NSObject
|
||
|
|
||
|
// Framebuffer management
|
||
|
- (GPUImageFramebuffer *)fetchFramebufferForSize:(CGSize)framebufferSize textureOptions:(GPUTextureOptions)textureOptions onlyTexture:(BOOL)onlyTexture;
|
||
|
- (GPUImageFramebuffer *)fetchFramebufferForSize:(CGSize)framebufferSize onlyTexture:(BOOL)onlyTexture;
|
||
|
- (void)returnFramebufferToCache:(GPUImageFramebuffer *)framebuffer;
|
||
|
- (void)purgeAllUnassignedFramebuffers;
|
||
|
- (void)addFramebufferToActiveImageCaptureList:(GPUImageFramebuffer *)framebuffer;
|
||
|
- (void)removeFramebufferFromActiveImageCaptureList:(GPUImageFramebuffer *)framebuffer;
|
||
|
|
||
|
@end
|