Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
GraphiteVulkanTestContext.cpp File Reference
#include "tools/graphite/vk/GraphiteVulkanTestContext.h"
#include "include/gpu/graphite/Context.h"
#include "include/gpu/graphite/ContextOptions.h"
#include "include/gpu/graphite/vk/VulkanGraphiteUtils.h"
#include "include/gpu/vk/VulkanExtensions.h"
#include "include/private/gpu/graphite/ContextOptionsPriv.h"
#include "tools/gpu/ContextType.h"
#include "tools/gpu/vk/VkTestUtils.h"
#include "tools/graphite/TestOptions.h"

Go to the source code of this file.

Namespaces

namespace  skiatest
 
namespace  skiatest::graphite
 

Macros

#define ACQUIRE_VK_PROC_LOCAL(name, inst)
 

Variables

bool gCreateProtectedContext
 

Macro Definition Documentation

◆ ACQUIRE_VK_PROC_LOCAL

#define ACQUIRE_VK_PROC_LOCAL (   name,
  inst 
)
Value:
PFN_vk##name localVk##name = \
reinterpret_cast<PFN_vk##name>(fVulkan.fGetProc("vk" #name, inst, nullptr)); \
do { \
if (localVk##name == nullptr) { \
SkDebugf("Function ptr for vk%s could not be acquired\n", #name); \
return; \
} \
} while (0)
const char * name
Definition fuchsia.cc:50

Definition at line 59 of file GraphiteVulkanTestContext.cpp.

62 { \
63 if (localVk##name == nullptr) { \
64 SkDebugf("Function ptr for vk%s could not be acquired\n", #name); \
65 return; \
66 } \
67 } while (0)

Variable Documentation

◆ gCreateProtectedContext

bool gCreateProtectedContext
extern

Definition at line 45 of file GrContextFactory.cpp.