RetroArch
|
#import <Foundation/Foundation.h>
#import "metal_common.h"
#import "../../ui/drivers/cocoa/cocoa_common_metal.h"
#import <memory.h>
#import <gfx/video_frame.h>
#import <Metal/Metal.h>
#import <QuartzCore/QuartzCore.h>
#import <stddef.h>
#include <simd/simd.h>
#import "Context.h"
Classes | |
struct | float4_t |
struct | texture |
Macros | |
#define | STRUCT_ASSIGN(x, y) |
#define | MTLALIGN(x) __attribute__((aligned(x))) |
#define | FMT2(x, y) case SLANG_FORMAT_##x: return MTLPixelFormat##y |
Typedefs | |
typedef struct texture | texture_t |
Functions | |
struct | MTLALIGN (16) |
MTLPixelFormat | glslang_format_to_metal (glslang_format fmt) |
MTLPixelFormat | SelectOptimalPixelFormat (MTLPixelFormat fmt) |
Variables | |
MetalMenu * | _menu |
Overlay * | _overlay |
video_info_t | _video |
id< MTLDevice > | _device |
id< MTLLibrary > | _library |
Context * | _context |
CAMetalLayer * | _layer |
id< MTLRenderPipelineState > | _t_pipelineState |
id< MTLRenderPipelineState > | _t_pipelineStateNoAlpha |
id< MTLSamplerState > | _samplerStateLinear |
id< MTLSamplerState > | _samplerStateNearest |
Uniforms | _uniforms |
Uniforms | _viewportMVP |
TexturedView * | _view |
bool | _enabled |
engine_t | |
id< MTLTexture > | _texture |
Vertex | _v [4] |
VertexSlang | _vertex [4] |
CGSize | _size |
CGRect | _frame |
NSUInteger | _bpp |
id< MTLTexture > | _src |
bool | _srcDirty |
id< MTLSamplerState > | _samplers [RARCH_FILTER_MAX][RARCH_WRAP_MAX] |
struct video_shader * | _shader |
engine_t | _engine |
bool | resize_render_targets |
bool | init_history |
video_viewport_t * | _viewport |
NSMutableArray< id< MTLTexture > > * | _images |
id< MTLBuffer > | _vert |
bool | _vertDirty |
#define MTLALIGN | ( | x | ) | __attribute__((aligned(x))) |
MTLPixelFormat glslang_format_to_metal | ( | glslang_format | fmt | ) |
struct MTLALIGN | ( | 16 | ) |
MTLPixelFormat SelectOptimalPixelFormat | ( | MTLPixelFormat | fmt | ) |
NSUInteger _bpp |
Context* _context |
id<MTLDevice> _device |
bool _enabled |
engine_t _engine |
CGRect _frame |
NSMutableArray<id<MTLTexture> >* _images |
CAMetalLayer* _layer |
id<MTLLibrary> _library |
Overlay* _overlay |
id<MTLSamplerState> _samplers[RARCH_FILTER_MAX][RARCH_WRAP_MAX] |
id<MTLSamplerState> _samplerStateLinear |
id<MTLSamplerState> _samplerStateNearest |
struct video_shader* _shader |
CGSize _size |
id<MTLTexture> _src |
bool _srcDirty |
id<MTLRenderPipelineState> _t_pipelineState |
id<MTLRenderPipelineState> _t_pipelineStateNoAlpha |
id<MTLTexture> _texture |
Uniforms _uniforms |
Vertex _v[4] |
id<MTLBuffer> _vert |
bool _vertDirty |
VertexSlang _vertex[4] |
video_info_t _video |
TexturedView* _view |
video_viewport_t* _viewport |
Uniforms _viewportMVP |
engine_t |
bool init_history |
bool resize_render_targets |