mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
167ad3b57d
* OSD message background * clear glui background * add Metal to configuration * added optional config to compile Metal build without OpenGL * fixed fill_pathname_join_delim; if out_path and dir are same, don't strlcpy, as the results are undefined.
25 lines
597 B
Objective-C
25 lines
597 B
Objective-C
//
|
|
// Created by Stuart Carnie on 6/24/18.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class Context;
|
|
|
|
@interface MenuDisplay : NSObject
|
|
|
|
@property (nonatomic, readwrite) BOOL blend;
|
|
@property (nonatomic, readwrite) MTLClearColor clearColor;
|
|
|
|
- (instancetype)initWithContext:(Context *)context;
|
|
- (void)drawPipeline:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
|
|
- (void)draw:(menu_display_ctx_draw_t *)draw video:(video_frame_info_t *)video;
|
|
|
|
#pragma mark - static methods
|
|
|
|
+ (const float *)defaultVertices;
|
|
+ (const float *)defaultTexCoords;
|
|
+ (const float *)defaultColor;
|
|
|
|
@end
|