Make logging functions globally accessible to ease their use in debugging activities.

Include MVKLogging.h in MVKEnvironment.h, and remove references elsewhere.
This commit is contained in:
Bill Hollings 2021-01-21 16:21:13 -05:00
parent 28c514d03b
commit 4a65c293c6
22 changed files with 1 additions and 22 deletions

View File

@ -20,8 +20,6 @@
#include "MVKCommandBuffer.h"
#include "MVKCommandPool.h"
#include "MVKLogging.h"
#pragma mark -
#pragma mark MVKCmdDebugMarker

View File

@ -26,7 +26,6 @@
#include "MVKRenderPass.h"
#include "MTLRenderPassDescriptor+MoltenVK.h"
#include "MVKEnvironment.h"
#include "MVKLogging.h"
#include "mvk_datatypes.hpp"
#include <algorithm>

View File

@ -23,7 +23,6 @@
#include "MVKFramebuffer.h"
#include "MVKQueryPool.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
#include "MTLRenderPassDescriptor+MoltenVK.h"
#include "MVKCmdDraw.h"
#include "MVKCmdRenderPass.h"

View File

@ -22,7 +22,6 @@
#include "MVKRenderPass.h"
#include "MVKPipeline.h"
#include "MVKQueryPool.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -23,7 +23,6 @@
#include "MVKDeviceMemory.h"
#include "MVKFoundation.h"
#include "mvk_datatypes.hpp"
#include "MVKLogging.h"
using namespace std;

View File

@ -23,7 +23,6 @@
#include "MVKBuffer.h"
#include "NSString+MoltenVK.h"
#include "MTLRenderPipelineDescriptor+MoltenVK.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -17,7 +17,6 @@
*/
#include "MVKMTLBufferAllocation.h"
#include "MVKLogging.h"
#pragma mark -

View File

@ -33,7 +33,6 @@
#include "MVKFoundation.h"
#include "MVKCodec.h"
#include "MVKEnvironment.h"
#include "MVKLogging.h"
#include <MoltenVKShaderConverter/SPIRVToMSLConverter.h>
#include "vk_mvk_moltenvk.h"

View File

@ -23,7 +23,6 @@
#include "MVKEnvironment.h"
#include "mvk_datatypes.hpp"
#include "MVKFoundation.h"
#include "MVKLogging.h"
#include <cstdlib>
#include <stdlib.h>

View File

@ -24,7 +24,6 @@
#include "MVKEnvironment.h"
#include "MVKFoundation.h"
#include "MVKOSExtensions.h"
#include "MVKLogging.h"
#include "MVKCodec.h"
#import "MTLTextureDescriptor+MoltenVK.h"
#import "MTLSamplerDescriptor+MoltenVK.h"

View File

@ -22,7 +22,6 @@
#include "MVKFoundation.h"
#include "MVKSurface.h"
#include "MVKOSExtensions.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -19,7 +19,6 @@
#include "MVKPixelFormats.h"
#include "MVKDevice.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
#include <string>
using namespace std;

View File

@ -23,7 +23,6 @@
#include "MVKCommandEncodingPool.h"
#include "MVKOSExtensions.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -23,7 +23,6 @@
#include "MVKFoundation.h"
#include "MVKOSExtensions.h"
#include "MVKGPUCapture.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -19,7 +19,6 @@
#include "MVKShaderModule.h"
#include "MVKPipeline.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
#include "vk_mvk_moltenvk.h"
#include <string>

View File

@ -19,7 +19,6 @@
#include "MVKSurface.h"
#include "MVKInstance.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
#include "MVKOSExtensions.h"
#import "MVKBlockObserver.h"

View File

@ -26,7 +26,6 @@
#include "MVKWatermarkTextureContent.h"
#include "MVKWatermarkShaderSource.h"
#include "mvk_datatypes.hpp"
#include "MVKLogging.h"
#import "CAMetalLayer+MoltenVK.h"
#import "MVKBlockObserver.h"

View File

@ -18,7 +18,6 @@
#include "MVKSync.h"
#include "MVKFoundation.h"
#include "MVKLogging.h"
using namespace std;

View File

@ -21,7 +21,6 @@
#include "MVKInstance.h"
#include "MVKFoundation.h"
#include "MVKOSExtensions.h"
#include "MVKLogging.h"
#include <cxxabi.h>
using namespace std;

View File

@ -20,6 +20,7 @@
#pragma once
#include "MVKCommonEnvironment.h"
#include "MVKLogging.h"
#include "mvk_vulkan.h"

View File

@ -19,7 +19,6 @@
#include "MVKWatermark.h"
#include "MVKOSExtensions.h"
#include "MVKLogging.h"
#include "MTLTextureDescriptor+MoltenVK.h"
#include "MVKEnvironment.h"

View File

@ -41,7 +41,6 @@
#include "MVKSurface.h"
#include "MVKFoundation.h"
#include "MVKOSExtensions.h"
#include "MVKLogging.h"
#include <pthread.h>