RetroArch
Instance Methods | Properties | List of all members
MetalDriver Class Reference

#import <metal_common.h>

Inheritance diagram for MetalDriver:
[legend]
Collaboration diagram for MetalDriver:
[legend]

Instance Methods

(instancetype) - initWithVideo:input:inputData:
 
(void- setVideo:
 
(bool- renderFrame:width:height:frameCount:pitch:msg:info:
 
(void- setNeedsResize
 setNeedsResize triggers a display resize More...
 
(void- setViewportWidth:height:forceFull:allowRotate:
 
(void- setRotation:
 
(void- dealloc [implementation]
 
(bool- _initMetal [implementation]
 
(void- _renderMessage:info: [implementation]
 
(void- _beginFrame [implementation]
 
(void- _drawViews: [implementation]
 
(void- _endFrame [implementation]
 
(void- mtkView:drawableSizeWillChange: [implementation]
 
(void- drawInMTKView: [implementation]
 

Properties

video_viewport_tviewport
 
bool keepAspect
 
MetalMenumenu
 
FrameViewframeView
 
MenuDisplaydisplay
 
Overlayoverlay
 
Contextcontext
 
UniformsviewportMVP
 

Method Documentation

◆ _beginFrame()

- (void) _beginFrame
implementation
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _drawViews:()

- (void) _drawViews: (video_frame_info_t *)  video_info
implementation
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _endFrame()

- (void) _endFrame
implementation
Here is the caller graph for this function:

◆ _initMetal()

- (bool) _initMetal
implementation
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _renderMessage:info:()

- (void) _renderMessage: (const char *)  msg
info: (video_frame_info_t *)  video_info 
implementation
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dealloc()

- (void) dealloc
implementation
Here is the call graph for this function:

◆ drawInMTKView:()

- (void) drawInMTKView: (MTKView *)  view
implementation

◆ initWithVideo:input:inputData:()

- (instancetype) initWithVideo: (const video_info_t *)  video
input: (const input_driver_t **)  input
inputData: (void **)  inputData 
Here is the call graph for this function:

◆ mtkView:drawableSizeWillChange:()

- (void) mtkView: (MTKView *)  view
drawableSizeWillChange: (CGSize)  size 
implementation
Here is the call graph for this function:

◆ renderFrame:width:height:frameCount:pitch:msg:info:()

- (bool) renderFrame: (const void *)  data
width: (unsigned)  width
height: (unsigned)  height
frameCount: (uint64_t frameCount
pitch: (unsigned)  pitch
msg: (const char *)  msg
info: (video_frame_info_t *)  video_info 
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNeedsResize()

- (void) setNeedsResize

setNeedsResize triggers a display resize

Here is the caller graph for this function:

◆ setRotation:()

- (void) setRotation: (unsigned)  rotation
Here is the caller graph for this function:

◆ setVideo:()

- (void) setVideo: (const video_info_t *)  video

◆ setViewportWidth:height:forceFull:allowRotate:()

- (void) setViewportWidth: (unsigned)  width
height: (unsigned)  height
forceFull: (BOOL forceFull
allowRotate: (BOOL allowRotate 
Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ context

- (Context*) context
readnonatomicassign

◆ display

- (MenuDisplay*) display
readnonatomicassign

◆ frameView

- (FrameView*) frameView
readnonatomicassign

◆ keepAspect

- (bool) keepAspect
readwritenonatomicassign

◆ menu

- (MetalMenu*) menu
readnonatomicassign

◆ overlay

- (Overlay*) overlay
readnonatomicassign

◆ viewport

- (video_viewport_t*) viewport
readnonatomicassign

◆ viewportMVP

- (Uniforms *) viewportMVP
readnonatomicassign

The documentation for this class was generated from the following files: