RetroArch
Macros | Functions
RendererCommon.h File Reference
#import <Foundation/Foundation.h>
#import "ShaderTypes.h"
Include dependency graph for RendererCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_INFLIGHT   1
 maximum inflight frames More...
 
#define CHAIN_LENGTH   3
 
#define kMetalBufferAlignment   4
 
#define MTL_ALIGN_BUFFER(size)   ((size + kMetalBufferAlignment - 1) & (~(kMetalBufferAlignment - 1)))
 

Functions

typedef NS_ENUM (NSUInteger, RPixelFormat)
 
NSUInteger RPixelFormatToBPP (RPixelFormat format)
 
NSString * NSStringFromRPixelFormat (RPixelFormat format)
 
typedef NS_ENUM (NSUInteger, RTextureFilter)
 
matrix_float4x4 matrix_proj_ortho (float left, float right, float top, float bottom)
 
matrix_float4x4 matrix_rotate_z (float rot)
 
matrix_float4x4 make_matrix_float4x4 (const float *v)
 

Macro Definition Documentation

◆ CHAIN_LENGTH

#define CHAIN_LENGTH   3

◆ kMetalBufferAlignment

#define kMetalBufferAlignment   4

◆ MAX_INFLIGHT

#define MAX_INFLIGHT   1

maximum inflight frames

◆ MTL_ALIGN_BUFFER

#define MTL_ALIGN_BUFFER (   size)    ((size + kMetalBufferAlignment - 1) & (~(kMetalBufferAlignment - 1)))

Function Documentation

◆ make_matrix_float4x4()

matrix_float4x4 make_matrix_float4x4 ( const float *  v)
Here is the caller graph for this function:

◆ matrix_proj_ortho()

matrix_float4x4 matrix_proj_ortho ( float  left,
float  right,
float  top,
float  bottom 
)
Here is the caller graph for this function:

◆ matrix_rotate_z()

matrix_float4x4 matrix_rotate_z ( float  rot)
Here is the caller graph for this function:

◆ NS_ENUM() [1/2]

typedef NS_ENUM ( NSUInteger  ,
RPixelFormat   
)

◆ NS_ENUM() [2/2]

typedef NS_ENUM ( NSUInteger  ,
RTextureFilter   
)

◆ NSStringFromRPixelFormat()

NSString* NSStringFromRPixelFormat ( RPixelFormat  format)

◆ RPixelFormatToBPP()

NSUInteger RPixelFormatToBPP ( RPixelFormat  format)
Here is the call graph for this function:
Here is the caller graph for this function: