RetroArch
Classes | Macros | Variables
Context.m File Reference
#import "Context.h"
#import "Filter.h"
#import <QuartzCore/QuartzCore.h>
Include dependency graph for Context.m:

Classes

class  BufferNode
 
class  BufferChain
 

Macros

#define T0   0xff000000u
 
#define T1   0xffffffffu
 

Variables

id< MTLCommandQueue > _commandQueue
 
CAMetalLayer * _layer
 
id< CAMetalDrawable > _drawable
 
video_viewport_t _viewport
 
id< MTLSamplerState > _samplers [TEXTURE_FILTER_MIPMAP_NEAREST+1]
 
Filter_filters [RPixelFormatCount]
 
id< MTLRenderCommandEncoder > _rce
 
id< MTLCommandBuffer > _blitCommandBuffer
 
NSUInteger _currentChain
 
BufferChain_chain [CHAIN_LENGTH]
 
MTLClearColor _clearColor
 
id< MTLRenderPipelineState > _states [GFX_MAX_SHADERS][2]
 
id< MTLRenderPipelineState > _clearState
 
bool _captureEnabled
 
id< MTLTexture > _backBuffer
 
unsigned _rotation
 
matrix_float4x4 _mvp_no_rot
 
matrix_float4x4 _mvp
 
Uniforms _uniforms
 
Uniforms _uniformsNoRotate
 
NSUInteger _blockLen
 
BufferNode_head
 
NSUInteger _offset
 
BufferNode_current
 
NSUInteger _length
 
NSUInteger _allocated
 
static const NSUInteger kConstantAlignment = 4
 

Macro Definition Documentation

◆ T0

#define T0   0xff000000u

◆ T1

#define T1   0xffffffffu

Variable Documentation

◆ _allocated

NSUInteger _allocated

◆ _backBuffer

id<MTLTexture> _backBuffer

◆ _blitCommandBuffer

id<MTLCommandBuffer> _blitCommandBuffer

◆ _blockLen

NSUInteger _blockLen
Initial value:
{
GLenum GLuint id
Definition: glext.h:6233
id< MTLDevice > _device
Definition: metal_common.m:61

◆ _captureEnabled

bool _captureEnabled

◆ _chain

◆ _clearColor

MTLClearColor _clearColor

◆ _clearState

id<MTLRenderPipelineState> _clearState

◆ _commandQueue

id<MTLCommandQueue> _commandQueue
Initial value:
{
dispatch_semaphore_t _inflightSemaphore

◆ _current

BufferNode* _current

◆ _currentChain

NSUInteger _currentChain

◆ _drawable

id<CAMetalDrawable> _drawable

◆ _filters

Filter* _filters[RPixelFormatCount]

◆ _head

BufferNode* _head

◆ _layer

CAMetalLayer* _layer

◆ _length

NSUInteger _length

◆ _mvp

matrix_float4x4 _mvp

◆ _mvp_no_rot

matrix_float4x4 _mvp_no_rot

◆ _offset

NSUInteger _offset

◆ _rce

id<MTLRenderCommandEncoder> _rce

◆ _rotation

unsigned _rotation

◆ _samplers

id<MTLSamplerState> _samplers[TEXTURE_FILTER_MIPMAP_NEAREST+1]

◆ _states

id<MTLRenderPipelineState> _states[GFX_MAX_SHADERS][2]

◆ _uniforms

Uniforms _uniforms

◆ _uniformsNoRotate

Uniforms _uniformsNoRotate

◆ _viewport

video_viewport_t _viewport

◆ kConstantAlignment

const NSUInteger kConstantAlignment = 4
static