mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 17:09:46 +01:00
16 lines
718 B
Objective-C
Executable File
16 lines
718 B
Objective-C
Executable File
#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
|