Flutter Engine
The Flutter Engine
|
#include "include/gpu/GrTypes.h"
#include "include/gpu/vk/GrVkTypes.h"
#include "include/private/base/SkMacros.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/ganesh/GrColor.h"
#include "src/gpu/ganesh/GrDataUtils.h"
#include "src/gpu/vk/VulkanInterface.h"
#include "src/sksl/ir/SkSLProgram.h"
Go to the source code of this file.
Namespaces | |
namespace | SkSL |
Macros | |
#define | GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X |
#define | GR_VK_LOG_IF_NOT_SUCCESS(GPU, RESULT, X, ...) |
#define | GR_VK_CALL_RESULT(GPU, RESULT, X) |
#define | GR_VK_CALL_RESULT_NOCHECK(GPU, RESULT, X) |
#define | GR_VK_CALL_ERRCHECK(GPU, X) |
Functions | |
bool | GrVkFormatIsSupported (VkFormat) |
static constexpr GrColorFormatDesc | GrVkFormatDesc (VkFormat vkFormat) |
bool | GrCompileVkShaderModule (GrVkGpu *gpu, const std::string &shaderString, VkShaderStageFlagBits stage, VkShaderModule *shaderModule, VkPipelineShaderStageCreateInfo *stageInfo, const SkSL::ProgramSettings &settings, std::string *outSPIRV, SkSL::Program::Interface *outInterface) |
bool | GrInstallVkShaderModule (GrVkGpu *gpu, const std::string &spirv, VkShaderStageFlagBits stage, VkShaderModule *shaderModule, VkPipelineShaderStageCreateInfo *stageInfo) |
Definition at line 24 of file GrVkUtil.h.
#define GR_VK_CALL_ERRCHECK | ( | GPU, | |
X | |||
) |
Definition at line 50 of file GrVkUtil.h.
Definition at line 35 of file GrVkUtil.h.
Definition at line 43 of file GrVkUtil.h.
Definition at line 28 of file GrVkUtil.h.
bool GrCompileVkShaderModule | ( | GrVkGpu * | gpu, |
const std::string & | shaderString, | ||
VkShaderStageFlagBits | stage, | ||
VkShaderModule * | shaderModule, | ||
VkPipelineShaderStageCreateInfo * | stageInfo, | ||
const SkSL::ProgramSettings & | settings, | ||
std::string * | outSPIRV, | ||
SkSL::Program::Interface * | outInterface | ||
) |
Definition at line 64 of file GrVkUtil.cpp.
bool GrInstallVkShaderModule | ( | GrVkGpu * | gpu, |
const std::string & | spirv, | ||
VkShaderStageFlagBits | stage, | ||
VkShaderModule * | shaderModule, | ||
VkPipelineShaderStageCreateInfo * | stageInfo | ||
) |
Definition at line 87 of file GrVkUtil.cpp.
|
staticconstexpr |
Definition at line 57 of file GrVkUtil.h.
bool GrVkFormatIsSupported | ( | VkFormat | format | ) |
Definition at line 21 of file GrVkUtil.cpp.