GPUImageFramebufferCache.h 718 B

123456789101112131415
  1. #import <Foundation/Foundation.h>
  2. #import <QuartzCore/QuartzCore.h>
  3. #import "GPUImageFramebuffer.h"
  4. @interface GPUImageFramebufferCache : NSObject
  5. // Framebuffer management
  6. - (GPUImageFramebuffer *)fetchFramebufferForSize:(CGSize)framebufferSize textureOptions:(GPUTextureOptions)textureOptions onlyTexture:(BOOL)onlyTexture;
  7. - (GPUImageFramebuffer *)fetchFramebufferForSize:(CGSize)framebufferSize onlyTexture:(BOOL)onlyTexture;
  8. - (void)returnFramebufferToCache:(GPUImageFramebuffer *)framebuffer;
  9. - (void)purgeAllUnassignedFramebuffers;
  10. - (void)addFramebufferToActiveImageCaptureList:(GPUImageFramebuffer *)framebuffer;
  11. - (void)removeFramebufferFromActiveImageCaptureList:(GPUImageFramebuffer *)framebuffer;
  12. @end