docs: add copyright info to metal renderer related code
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
//
|
||||
// ImGuiRenderer.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Metal/Metal.h>
|
||||
#import <MetalKit/MetalKit.h>
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
//
|
||||
// ImGuiRenderer.mm
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import <Metal/Metal.h>
|
||||
#import "ImGuiRenderer.h"
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// MetalConfig.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
// When enabled, rendering occurs on the main application thread.
|
||||
// This can make responding to UI events during redraw simpler
|
||||
// to manage because UI calls usually need to occur on the main thread.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// MetalVideoRenderer.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import <simd/simd.h>
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// MetalVideoRenderer.m
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MetalVideoRenderer.h"
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
#import <CoreVideo/CoreVideo.h>
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// MetalView.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Metal/Metal.h>
|
||||
#import <QuartzCore/CAMetalDisplayLink.h>
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
//
|
||||
// MetalView.m
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
// This is based on the following Apple example
|
||||
// https://developer.apple.com/documentation/metal/achieving-smooth-frame-rates-with-a-metal-display-link?language=objc
|
||||
// https://developer.apple.com/wwdc23/10123/
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// MetalViewController.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Metal/Metal.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "FrameQueue.h"
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
/*
|
||||
See the LICENSE.txt file for this sample’s licensing information.
|
||||
|
||||
Abstract:
|
||||
The implementation of the cross-platform game view controller.
|
||||
*/
|
||||
//
|
||||
// MetalViewController.m
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MetalViewController.h"
|
||||
#import "FrameQueue.h"
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// Shaders-Linear.metal
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#include <metal_stdlib>
|
||||
#include <simd/simd.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
//
|
||||
// Shaders.metal
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Ported to VoidLink by Acaki.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#include <metal_stdlib>
|
||||
#include <simd/simd.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
//
|
||||
// ImGuiPlots.h
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <VideoToolbox/VideoToolbox.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
//
|
||||
// ImGuiPlots.mm
|
||||
//
|
||||
// Created by Andy Grundman.
|
||||
// Copyright (c) 2025 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ImGuiPlots.h"
|
||||
|
||||
@implementation ImGuiPlots
|
||||
|
||||
Reference in New Issue
Block a user