Flutter Engine
The Flutter Engine
Namespaces | Functions
DawnGraphiteUtils.cpp File Reference
#include "include/gpu/graphite/dawn/DawnUtils.h"
#include "src/gpu/graphite/dawn/DawnGraphiteUtilsPriv.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/gpu/graphite/Context.h"
#include "include/gpu/graphite/dawn/DawnBackendContext.h"
#include "src/gpu/graphite/ContextPriv.h"
#include "src/gpu/graphite/dawn/DawnQueueManager.h"
#include "src/gpu/graphite/dawn/DawnSharedContext.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  skgpu::graphite::ContextFactory
 

Functions

SK_API std::unique_ptr< Contextskgpu::graphite::ContextFactory::MakeDawn (const DawnBackendContext &, const ContextOptions &)
 
bool skgpu::graphite::DawnFormatIsDepthOrStencil (wgpu::TextureFormat format)
 
bool skgpu::graphite::DawnFormatIsDepth (wgpu::TextureFormat format)
 
bool skgpu::graphite::DawnFormatIsStencil (wgpu::TextureFormat format)
 
wgpu::TextureFormat skgpu::graphite::DawnDepthStencilFlagsToFormat (SkEnumBitMask< DepthStencilFlags > mask)
 
static bool skgpu::graphite::check_shader_module (const DawnSharedContext *sharedContext, wgpu::ShaderModule *module, const char *shaderText, ShaderErrorHandler *errorHandler)
 
bool skgpu::graphite::DawnCompileWGSLShaderModule (const DawnSharedContext *sharedContext, const char *label, const std::string &wgsl, wgpu::ShaderModule *module, ShaderErrorHandler *errorHandler)