Fix config object related build failures (#5814)
This commit is contained in:
committed by
Benjamin Doherty
parent
9c542791ef
commit
d70cee7fec
@@ -83,9 +83,9 @@ void CommandBufferQueue::flush() noexcept {
|
||||
// circular buffer is too small, we corrupted the stream
|
||||
ASSERT_POSTCONDITION(used <= mFreeSpace,
|
||||
"Backend CommandStream overflow. Commands are corrupted and unrecoverable.\n"
|
||||
"Please increase FILAMENT_MIN_COMMAND_BUFFERS_SIZE_IN_MB (currently %u MiB).\n"
|
||||
"Please increase minCommandBufferSizeMB inside the Config passed to Engine::create.\n"
|
||||
"Space used at this time: %u bytes",
|
||||
(unsigned)FILAMENT_MIN_COMMAND_BUFFERS_SIZE_IN_MB, (unsigned)used);
|
||||
(unsigned)used);
|
||||
|
||||
// wait until there is enough space in the buffer
|
||||
mFreeSpace -= used;
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#ifndef TNT_FILAMENT_DRIVER_METALDRIVERFACTORY_H
|
||||
#define TNT_FILAMENT_DRIVER_METALDRIVERFACTORY_H
|
||||
|
||||
#include <backend/Platform.h>
|
||||
|
||||
namespace filament {
|
||||
namespace backend {
|
||||
class MetalPlatform;
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#ifndef TNT_FILAMENT_BACKEND_OPENGL_OPENGLDRIVERFACTORY_H
|
||||
#define TNT_FILAMENT_BACKEND_OPENGL_OPENGLDRIVERFACTORY_H
|
||||
|
||||
#include <backend/Platform.h>
|
||||
|
||||
namespace filament::backend {
|
||||
|
||||
class OpenGLPlatform;
|
||||
@@ -24,7 +26,8 @@ class Driver;
|
||||
|
||||
class OpenGLDriverFactory {
|
||||
public:
|
||||
static Driver* create(OpenGLPlatform* platform, void* sharedGLContext, const Platform::DriverConfig& driverConfig) noexcept;
|
||||
static Driver* create(OpenGLPlatform* platform, void* sharedGLContext,
|
||||
const Platform::DriverConfig& driverConfig) noexcept;
|
||||
};
|
||||
|
||||
} // namespace filament::backend
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#ifndef TNT_FILAMENT_BACKEND_VULKANDRIVERFACTORY_H
|
||||
#define TNT_FILAMENT_BACKEND_VULKANDRIVERFACTORY_H
|
||||
|
||||
#include <backend/Platform.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace filament::backend {
|
||||
@@ -27,7 +29,8 @@ class Driver;
|
||||
class VulkanDriverFactory {
|
||||
public:
|
||||
static Driver* create(VulkanPlatform* platform,
|
||||
const char* const* ppEnabledExtensions, uint32_t enabledExtensionCount, const Platform::DriverConfig& driverConfig) noexcept;
|
||||
const char* const* ppEnabledExtensions, uint32_t enabledExtensionCount,
|
||||
const Platform::DriverConfig& driverConfig) noexcept;
|
||||
};
|
||||
|
||||
} // namespace filament::backend
|
||||
|
||||
Reference in New Issue
Block a user