/third_party/skia/src/gpu/ |
D | GrBackendSurface.cpp | 44 case GrBackendApi::kOpenGL: in GrBackendFormat() 49 case GrBackendApi::kVulkan: in GrBackendFormat() 54 case GrBackendApi::kMetal: in GrBackendFormat() 59 case GrBackendApi::kDirect3D: in GrBackendFormat() 64 case GrBackendApi::kDawn: in GrBackendFormat() 68 case GrBackendApi::kMock: in GrBackendFormat() 102 : fBackend(GrBackendApi::kOpenGL) in GrBackendFormat() 108 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in asGLFormat() 124 : fBackend(GrBackendApi::kVulkan) in GrBackendFormat() 137 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in asVkFormat() [all …]
|
D | GrBackendUtils.cpp | 34 case GrBackendApi::kOpenGL: { in GrBackendFormatToCompressionType() 57 case GrBackendApi::kVulkan: { in GrBackendFormatToCompressionType() 80 case GrBackendApi::kMetal: { in GrBackendFormatToCompressionType() 86 case GrBackendApi::kDirect3D: { in GrBackendFormatToCompressionType() 99 case GrBackendApi::kDawn: { in GrBackendFormatToCompressionType() 102 case GrBackendApi::kMock: { in GrBackendFormatToCompressionType() 111 case GrBackendApi::kOpenGL: { in GrBackendFormatBytesPerBlock() 118 case GrBackendApi::kVulkan: { in GrBackendFormatBytesPerBlock() 126 case GrBackendApi::kMetal: { in GrBackendFormatBytesPerBlock() 132 case GrBackendApi::kDirect3D: { in GrBackendFormatBytesPerBlock() [all …]
|
D | GrBackendSemaphore.cpp | 14 if (fIsInitialized && GrBackendApi::kDirect3D == fBackend) { in ~GrBackendSemaphore() 22 SkASSERT(GrBackendApi::kDirect3D == fBackend); in assignD3DFenceInfo() 31 if (fIsInitialized && GrBackendApi::kDirect3D == fBackend) { in getD3DFenceInfo() 48 case GrBackendApi::kOpenGL: in operator =() 53 case GrBackendApi::kVulkan: in operator =() 58 case GrBackendApi::kMetal: in operator =() 63 case GrBackendApi::kDirect3D: in operator =()
|
D | GrContextThreadSafeProxy.cpp | 34 GrContextThreadSafeProxy::GrContextThreadSafeProxy(GrBackendApi backend, in GrContextThreadSafeProxy() 64 if (GrBackendApi::kOpenGL != backendFormat.backend() && willUseGLFBO0) { in createCharacterization() 69 if (GrBackendApi::kVulkan != backendFormat.backend() && in createCharacterization() 112 if (GrBackendApi::kVulkan == backendFormat.backend()) { in createCharacterization() 113 if (GrBackendApi::kVulkan != fBackend) { in createCharacterization() 177 GrBackendApi backend, in Make()
|
D | GrSurfaceInfo.cpp | 16 : fBackend(GrBackendApi::kDirect3D) in GrSurfaceInfo() 26 if (this->isValid() && fBackend == GrBackendApi::kDirect3D) { in ~GrSurfaceInfo() 34 if (!this->isValid() || fBackend != GrBackendApi::kDirect3D) { in getD3DSurfaceInfo()
|
D | GrDDLContext.cpp | 43 if (this->backend() == GrBackendApi::kMetal || in recordProgramInfo() 44 this->backend() == GrBackendApi::kDirect3D || in recordProgramInfo() 45 this->backend() == GrBackendApi::kDawn) { in recordProgramInfo()
|
D | GrAHardwareBufferUtils.cpp | 65 GrBackendApi backend = dContext->backend(); in GetBackendFormat() 67 if (backend == GrBackendApi::kOpenGL) { in GetBackendFormat() 88 } else if (backend == GrBackendApi::kVulkan) { in GetBackendFormat() 310 SkASSERT(dContext->backend() == GrBackendApi::kVulkan); in make_vk_backend_texture() 522 if (GrBackendApi::kOpenGL == dContext->backend()) { in can_import_protected_content() 527 } else if (GrBackendApi::kVulkan == dContext->backend()) { in can_import_protected_content() 549 if (GrBackendApi::kOpenGL == dContext->backend()) { in MakeBackendTexture() 554 SkASSERT(GrBackendApi::kVulkan == dContext->backend()); in MakeBackendTexture()
|
/third_party/skia/include/gpu/ |
D | GrSurfaceInfo.h | 36 : fBackend(GrBackendApi::kOpenGL) in GrSurfaceInfo() 45 : fBackend(GrBackendApi::kVulkan) in GrSurfaceInfo() 57 : fBackend(GrBackendApi::kMetal) in GrSurfaceInfo() 66 : fBackend(GrBackendApi::kDawn) in GrSurfaceInfo() 74 : fBackend(GrBackendApi::kMock) in GrSurfaceInfo() 85 GrBackendApi backend() const { return fBackend; } in backend() 93 if (!this->isValid() || fBackend != GrBackendApi::kOpenGL) { in getGLSurfaceInfo() 102 if (!this->isValid() || fBackend != GrBackendApi::kVulkan) { in getVkSurfaceInfo() 114 if (!this->isValid() || fBackend != GrBackendApi::kMetal) { in getMtlSurfaceInfo() 123 if (!this->isValid() || fBackend != GrBackendApi::kDawn) { in getDawnSurfaceInfo() [all …]
|
D | GrBackendSemaphore.h | 35 : fBackend(GrBackendApi::kOpenGL), fGLSync(nullptr), fIsInitialized(false) {} in GrBackendSemaphore() 46 fBackend = GrBackendApi::kOpenGL; in initGL() 53 fBackend = GrBackendApi::kVulkan; in initVulkan() 60 if (!fIsInitialized || GrBackendApi::kVulkan != fBackend) { in vkSemaphore() 71 fBackend = GrBackendApi::kMetal; in initMetal() 79 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlSemaphore() 86 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlValue() 96 fBackend = GrBackendApi::kDirect3D; in initDirect3D() 105 if (!fIsInitialized || GrBackendApi::kOpenGL != fBackend) { in glSync() 121 GrBackendApi fBackend;
|
D | GrBackendSurfaceMutableState.h | 45 if (this->isValid() && fBackend != GrBackendApi::kVulkan) { in getVkImageLayout() 54 if (this->isValid() && fBackend != GrBackendApi::kVulkan) { in getQueueFamilyIndex() 64 GrBackendApi backend() const { return fBackend; } in backend() 72 SkASSERT(!this->isValid() || fBackend == GrBackendApi::kVulkan); in setVulkanState() 75 fBackend = GrBackendApi::kVulkan; in setVulkanState() 87 GrBackend fBackend = GrBackendApi::kMock;
|
D | GrTypes.h | 91 enum class GrBackendApi : unsigned { enum 114 typedef GrBackendApi GrBackend; 116 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal; 117 static constexpr GrBackendApi kVulkan_GrBackend = GrBackendApi::kVulkan; 118 static constexpr GrBackendApi kMock_GrBackend = GrBackendApi::kMock;
|
D | GrBackendDrawableInfo.h | 22 , fBackend(GrBackendApi::kVulkan) in GrBackendDrawableInfo() 28 GrBackendApi backend() const { return fBackend; } in backend() 31 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in getVkDrawableInfo() 40 GrBackendApi fBackend;
|
D | GrBackendSurface.h | 123 GrBackendApi backend() const { return fBackend; } in backend() 225 GrBackendApi fBackend = GrBackendApi::kMock; 314 GrBackendApi backend() const {return fBackend; } in backend() 428 GrBackendApi fBackend; 517 GrBackendApi backend() const {return fBackend; } in backend() 617 GrBackendApi fBackend;
|
/third_party/skia/tools/gpu/ |
D | GrContextFactory.h | 73 static GrBackendApi ContextTypeBackend(ContextType type) { in ContextTypeBackend() 76 return GrBackendApi::kVulkan; in ContextTypeBackend() 78 return GrBackendApi::kMetal; in ContextTypeBackend() 80 return GrBackendApi::kDirect3D; in ContextTypeBackend() 82 return GrBackendApi::kDawn; in ContextTypeBackend() 84 return GrBackendApi::kMock; in ContextTypeBackend() 86 return GrBackendApi::kOpenGL; in ContextTypeBackend() 159 GrBackendApi fBackend; 179 GrBackendApi backend() const { return GrContextFactory::ContextTypeBackend(fType); } in backend() 186 SkASSERT(GrBackendApi::kOpenGL == this->backend()); in glContext()
|
D | GrContextFactory.cpp | 93 GrBackendApi api = context.fGrContext->backend(); in abandonContexts() 94 bool requiresEarlyAbandon = api == GrBackendApi::kVulkan || api == GrBackendApi::kDawn; in abandonContexts() 168 GrBackendApi backend = ContextTypeBackend(type); in getContextInfoInternal() 171 case GrBackendApi::kOpenGL: { in getContextInfoInternal() 237 case GrBackendApi::kVulkan: { in getContextInfoInternal() 261 case GrBackendApi::kMetal: { in getContextInfoInternal() 273 case GrBackendApi::kDirect3D: { in getContextInfoInternal() 285 case GrBackendApi::kDawn: { in getContextInfoInternal() 295 case GrBackendApi::kMock: { in getContextInfoInternal()
|
D | MemoryCache.cpp | 65 void MemoryCache::writeShadersToDisk(const char* path, GrBackendApi api) { in writeShadersToDisk() 66 if (GrBackendApi::kOpenGL != api && GrBackendApi::kVulkan != api) { in writeShadersToDisk() 74 if (GrBackendApi::kVulkan == api) { in writeShadersToDisk() 107 const char* ext = GrBackendApi::kOpenGL == api ? "frag" : "frag.spv"; in writeShadersToDisk() 114 const char* ext = GrBackendApi::kOpenGL == api ? "vert" : "vert.spv"; in writeShadersToDisk()
|
/third_party/skia/dm/ |
D | DMGpuTestProcs.cpp | 24 return GrBackendApi::kOpenGL == GrContextFactory::ContextTypeBackend(type); in IsGLContextType() 27 return GrBackendApi::kVulkan == GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType() 30 return GrBackendApi::kMetal == GrContextFactory::ContextTypeBackend(type); in IsMetalContextType() 33 return GrBackendApi::kDirect3D == GrContextFactory::ContextTypeBackend(type); in IsDirect3DContextType() 36 return GrBackendApi::kDawn == GrContextFactory::ContextTypeBackend(type); in IsDawnContextType()
|
/third_party/skia/tests/ |
D | GrFinishedFlushTest.cpp | 72 dContext->backend() == GrBackendApi::kVulkan || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 73 ((dContext->backend() == GrBackendApi::kOpenGL) && fenceSupport) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 74 ((dContext->backend() == GrBackendApi::kMetal) && fenceSupport) || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 75 dContext->backend() == GrBackendApi::kDawn || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 76 dContext->backend() == GrBackendApi::kDirect3D; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BackendAllocationTest.cpp | 125 case GrBackendApi::kOpenGL: in isBGRA8() 131 case GrBackendApi::kVulkan: { in isBGRA8() 140 case GrBackendApi::kMetal: in isBGRA8() 146 case GrBackendApi::kDirect3D: in isBGRA8() 152 case GrBackendApi::kDawn: in isBGRA8() 160 case GrBackendApi::kMock: { in isBGRA8() 174 case GrBackendApi::kOpenGL: in isRGB() 180 case GrBackendApi::kVulkan: { in isRGB() 189 case GrBackendApi::kMetal: in isRGB() 191 case GrBackendApi::kDirect3D: in isRGB() [all …]
|
D | PromiseImageTest.cpp | 108 GrBackendApi api, in check_all_flushed_but_not_synced() 112 if (api == GrBackendApi::kVulkan || api == GrBackendApi::kDirect3D) { in check_all_flushed_but_not_synced() 221 GrBackendApi api = sk_gpu_test::GrContextFactory::ContextTypeBackend(contextType); in DEF_GPUTEST() 222 if (api == GrBackendApi::kVulkan || api == GrBackendApi::kDawn || in DEF_GPUTEST() 223 api == GrBackendApi::kDirect3D) { in DEF_GPUTEST()
|
D | BackendSurfaceMutableStateTest.cpp | 121 REPORTER_ASSERT(reporter, previousState.backend() == GrBackendApi::kVulkan); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 133 REPORTER_ASSERT(reporter, previousState.backend() == GrBackendApi::kVulkan); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 151 REPORTER_ASSERT(reporter, previousState.backend() == GrBackendApi::kVulkan); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 168 REPORTER_ASSERT(reporter, previousState.backend() == GrBackendApi::kVulkan); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
/third_party/skia/include/core/ |
D | SkDrawable.h | 19 enum class GrBackendApi : unsigned; 81 std::unique_ptr<GpuDrawHandler> snapGpuDrawHandler(GrBackendApi backendApi, in snapGpuDrawHandler() 137 virtual std::unique_ptr<GpuDrawHandler> onSnapGpuDrawHandler(GrBackendApi, const SkMatrix&, in onSnapGpuDrawHandler() argument 144 virtual std::unique_ptr<GpuDrawHandler> onSnapGpuDrawHandler(GrBackendApi, const SkMatrix&) { in onSnapGpuDrawHandler() argument
|
/third_party/skia/tools/gpu/mtl/ |
D | MtlTestContext.h | 20 GrBackendApi backend() override { return GrBackendApi::kMetal; } in backend()
|
/third_party/skia/tools/gpu/d3d/ |
D | D3DTestContext.h | 20 virtual GrBackendApi backend() override { return GrBackendApi::kDirect3D; } in backend()
|
/third_party/skia/tools/gpu/mock/ |
D | MockTestContext.cpp | 22 GrBackendApi backend() override { return GrBackendApi::kMock; } in backend()
|