rename plugin from PolyvoxFilament to FlutterFilament

rename plugin from PolyvoxFilament to FlutterFilament
This commit is contained in:
Nick Fisher
2023-10-26 14:05:03 +11:00
parent b42d31a773
commit 8b9e6a2b3a
125 changed files with 1539 additions and 1460 deletions

View File

@@ -1,13 +1,13 @@
#pragma once
#ifndef POLYVOX_FILAMENT_LOG_H
#define POLYVOX_FILAMENT_LOG_H
#ifndef FLUTTER_FILAMENT_LOG_H
#define FLUTTER_FILAMENT_LOG_H
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#elif defined __ANDROID__
#include <android/log.h>
#define LOGTAG "PolyvoxFilament"
#define LOGTAG "FlutterFilament"
#else
#include <stdarg.h>
#include <stdio.h>

View File

@@ -1,5 +1,5 @@
#ifndef _POLYVOX_FILAMENT_API_H
#define _POLYVOX_FILAMENT_API_H
#ifndef _FLUTTER_FILAMENT_API_H
#define _FLUTTER_FILAMENT_API_H
#ifdef _WIN32
#ifdef IS_DLL

View File

@@ -1,15 +1,15 @@
#ifndef _POLYVOX_FILAMENT_FFI_API_H
#define _POLYVOX_FILAMENT_FFI_API_H
#ifndef _FLUTTER_FILAMENT_FFI_API_H
#define _FLUTTER_FILAMENT_FFI_API_H
#include "PolyvoxFilamentApi.h"
#include "FlutterFilamentApi.h"
#ifdef __cplusplus
extern "C" {
#endif
///
/// This header replicates most of the methods in PolyvoxFilamentApi.h, and is only intended to be used to generate client FFI bindings.
/// The intention is that calling one of these methods will call its respective method in PolyvoxFilamentApi.h, but wrapped in some kind of thread runner to ensure thread safety.
/// This header replicates most of the methods in FlutterFilamentApi.h, and is only intended to be used to generate client FFI bindings.
/// The intention is that calling one of these methods will call its respective method in FlutterFilamentApi.h, but wrapped in some kind of thread runner to ensure thread safety.
///
typedef int32_t EntityId;
@@ -92,4 +92,4 @@ FLUTTER_PLUGIN_EXPORT void ios_dummy_ffi();
}
#endif
#endif // _POLYVOX_FILAMENT_FFI_API_H
#endif // _FLUTTER_FILAMENT_FFI_API_H

View File

@@ -1,4 +1,4 @@
#import <Flutter/Flutter.h>
@interface PolyvoxFilamentPlugin : NSObject<FlutterPlugin>
@interface FlutterFilamentPlugin : NSObject<FlutterPlugin>
@end

View File

@@ -20,7 +20,7 @@
#include <utils/NameComponentManager.h>
extern "C" {
#include "PolyvoxFilamentApi.h"
#include "FlutterFilamentApi.h"
}
template class std::vector<float>;
namespace polyvox {

View File

@@ -1,8 +1,8 @@
#ifndef SwiftPolyvoxFilamentPlugin_Bridging_Header_h
#define SwiftPolyvoxFilamentPlugin_Bridging_Header_h
#ifndef SwiftFlutterFilamentPlugin_Bridging_Header_h
#define SwiftFlutterFilamentPlugin_Bridging_Header_h
#import "PolyvoxFilamentApi.h"
#import "PolyvoxFilamentFFIApi.h"
#import "FlutterFilamentApi.h"
#import "FlutterFilamentFFIApi.h"
#endif

View File

@@ -15,7 +15,7 @@
#ifndef _THREADPOOL_HPP
#define _THREADPOOL_HPP
namespace polyvox_filament {
namespace flutter_filament {
class ThreadPool {
std::vector<std::thread> pool;