Debian Codegraph @

shiny/driver/mtldriver/internal/coreanim/coreanim.h

raw symbols SCIP
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build darwin
6
7 typedef unsigned long uint_t;
8 typedef unsigned short uint16_t;
9
10 void * MakeMetalLayer();
11
12 uint16_t MetalLayer_PixelFormat(void * metalLayer);
13 void MetalLayer_SetDevice(void * metalLayer, void * device);
14 const char * MetalLayer_SetPixelFormat(void * metalLayer, uint16_t pixelFormat);
15 const char * MetalLayer_SetMaximumDrawableCount(void * metalLayer, uint_t maximumDrawableCount);
16 void MetalLayer_SetDisplaySyncEnabled(void * metalLayer, bool displaySyncEnabled);
17 void MetalLayer_SetDrawableSize(void * metalLayer, double width, double height);
18 void * MetalLayer_NextDrawable(void * metalLayer);
19
20 void * MetalDrawable_Texture(void * drawable);