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