#include "GHOST_ContextCGL.h"
#include <Cocoa/Cocoa.h>
#include <Metal/Metal.h>
#include <QuartzCore/QuartzCore.h>
#include <cassert>
#include <vector>
Go to the source code of this file.
Definition of GHOST_ContextCGL class.
Definition in file GHOST_ContextCGL.mm.
◆ ghost_fatal_error_dialog()
static void ghost_fatal_error_dialog |
( |
const char * |
msg | ) |
|
|
static |
◆ makeAttribList()
static void makeAttribList |
( |
std::vector< NSOpenGLPixelFormatAttribute > & |
attribs, |
|
|
bool |
coreProfile, |
|
|
bool |
stereoVisual, |
|
|
bool |
needAlpha, |
|
|
bool |
softwareGL, |
|
|
bool |
increasedSamplerLimit |
|
) |
| |
|
static |
◆ METAL_CORE_VIDEO_PIXEL_FORMAT
const OSType METAL_CORE_VIDEO_PIXEL_FORMAT = kCVPixelFormatType_32BGRA |
|
static |
◆ METAL_FRAMEBUFFERPIXEL_FORMAT
const MTLPixelFormat METAL_FRAMEBUFFERPIXEL_FORMAT = MTLPixelFormatBGRA8Unorm |
|
static |