mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/graphicsdriver/metal: Rename files to remove +build comments
This commit is contained in:
parent
8b269d4358
commit
35deb53624
@ -12,9 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
// Package ca provides access to Apple's Core Animation API (https://developer.apple.com/documentation/quartzcore).
|
||||
//
|
||||
// This package is in very early stages of development.
|
||||
@ -36,7 +33,7 @@ import (
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics
|
||||
//
|
||||
// #include "ca.h"
|
||||
// #include "ca_darwin.h"
|
||||
import "C"
|
||||
|
||||
// Layer is an object that manages image-based content and
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned long uint_t;
|
@ -12,9 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include "ca.h"
|
||||
#include "ca_darwin.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
void *MakeMetalLayer() {
|
@ -12,9 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package mtl_test
|
||||
|
||||
import (
|
@ -12,9 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
// Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
|
||||
//
|
||||
// Package mtl requires macOS version 10.13 or newer.
|
||||
@ -34,7 +31,7 @@ import (
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation
|
||||
//
|
||||
// #include "mtl.h"
|
||||
// #include "mtl_darwin.h"
|
||||
// #include <stdlib.h>
|
||||
import "C"
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
@ -12,9 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include "mtl.h"
|
||||
#include "mtl_darwin.h"
|
||||
#import <Metal/Metal.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -12,9 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package mtl_test
|
||||
|
||||
import (
|
@ -12,9 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
// Package ns provides access to Apple's AppKit API (https://developer.apple.com/documentation/appkit).
|
||||
//
|
||||
// This package is in very early stages of development.
|
||||
@ -30,7 +27,7 @@ import (
|
||||
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
//
|
||||
// #include "ns.h"
|
||||
// #include "ns_darwin.h"
|
||||
import "C"
|
||||
|
||||
// Window is a window that an app displays on the screen.
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
void *Window_ContentView(uintptr_t window);
|
@ -12,9 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build darwin
|
||||
|
||||
#include "ns.h"
|
||||
#include "ns_darwin.h"
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
void *Window_ContentView(uintptr_t window) {
|
Loading…
Reference in New Issue
Block a user