- #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
|