/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 43 case GrBackendApi::kOpenGL: in GrBackendFormat() 48 case GrBackendApi::kVulkan: in GrBackendFormat() 53 case GrBackendApi::kMetal: in GrBackendFormat() 58 case GrBackendApi::kDirect3D: in GrBackendFormat() 63 case GrBackendApi::kDawn: in GrBackendFormat() 67 case GrBackendApi::kMock: in GrBackendFormat() 85 : fBackend(GrBackendApi::kOpenGL) in GrBackendFormat() 108 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in asGLFormat() 120 : fBackend(GrBackendApi::kVulkan) in GrBackendFormat() 136 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in asVkFormat() [all …]
|
D | GrBackendUtils.cpp | 34 case GrBackendApi::kOpenGL: { in GrBackendFormatToCompressionType() 51 case GrBackendApi::kVulkan: { in GrBackendFormatToCompressionType() 68 case GrBackendApi::kMetal: { in GrBackendFormatToCompressionType() 74 case GrBackendApi::kDirect3D: { in GrBackendFormatToCompressionType() 87 case GrBackendApi::kDawn: { in GrBackendFormatToCompressionType() 90 case GrBackendApi::kMock: { in GrBackendFormatToCompressionType() 99 case GrBackendApi::kOpenGL: { in GrBackendFormatBytesPerBlock() 106 case GrBackendApi::kVulkan: { in GrBackendFormatBytesPerBlock() 114 case GrBackendApi::kMetal: { in GrBackendFormatBytesPerBlock() 120 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() 168 GrBackendApi backend, in Make()
|
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()
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 24 : fBackend(GrBackendApi::kOpenGL) in GrBackendFormat() 43 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in getGLFormat() 50 if (this->isValid() && GrBackendApi::kOpenGL == fBackend) { in getGLTarget() 75 : fBackend(GrBackendApi::kVulkan) in GrBackendFormat() 87 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in getVkFormat() 94 if (this->isValid() && GrBackendApi::kVulkan == fBackend) { in getVkYcbcrConversionInfo() 102 : fBackend(GrBackendApi::kMetal) in GrBackendFormat() 109 if (this->isValid() && GrBackendApi::kMetal == fBackend) { in getMtlFormat() 117 : fBackend(GrBackendApi::kMock) in GrBackendFormat() 124 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockFormat() [all …]
|
D | GrDirectContext.cpp | 28 GrDirectContext(GrBackendApi backend) in GrDirectContext() 118 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kOpenGL)); in MakeGL() 139 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kMock)); in MakeMock() 166 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kVulkan)); in MakeVulkan() 190 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kMetal)); in MakeMetal()
|
/external/skia/include/gpu/ |
D | GrBackendSemaphore.h | 28 : fBackend(GrBackendApi::kOpenGL), fGLSync(nullptr), fIsInitialized(false) {} in GrBackendSemaphore() 39 fBackend = GrBackendApi::kOpenGL; in initGL() 45 fBackend = GrBackendApi::kVulkan; in initVulkan() 57 fBackend = GrBackendApi::kMetal; in initMetal() 69 fBackend = GrBackendApi::kDirect3D; in initDirect3D() 78 if (!fIsInitialized || GrBackendApi::kOpenGL != fBackend) { in glSync() 85 if (!fIsInitialized || GrBackendApi::kVulkan != fBackend) { in vkSemaphore() 92 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlSemaphore() 99 if (!fIsInitialized || GrBackendApi::kMetal != fBackend) { in mtlValue() 114 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 | 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 | GrTypes.h | 130 enum class GrBackendApi : unsigned { enum 153 typedef GrBackendApi GrBackend; 155 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal; 156 static constexpr GrBackendApi kVulkan_GrBackend = GrBackendApi::kVulkan; 157 static constexpr GrBackendApi kMock_GrBackend = GrBackendApi::kMock;
|
D | GrBackendSurface.h | 113 GrBackendApi backend() const { return fBackend; } in backend() 204 GrBackendApi fBackend = GrBackendApi::kMock; 287 GrBackendApi backend() const {return fBackend; } in backend() 396 GrBackendApi fBackend; 480 GrBackendApi backend() const {return fBackend; } in backend() 576 GrBackendApi fBackend;
|
/external/skia/tools/gpu/ |
D | GrContextFactory.h | 72 static GrBackendApi ContextTypeBackend(ContextType type) { in ContextTypeBackend() 75 return GrBackendApi::kVulkan; in ContextTypeBackend() 77 return GrBackendApi::kMetal; in ContextTypeBackend() 79 return GrBackendApi::kDirect3D; in ContextTypeBackend() 81 return GrBackendApi::kDawn; in ContextTypeBackend() 83 return GrBackendApi::kMock; in ContextTypeBackend() 85 return GrBackendApi::kOpenGL; in ContextTypeBackend() 156 GrBackendApi fBackend; 175 GrBackendApi backend() const { return GrContextFactory::ContextTypeBackend(fType); } in backend() 182 SkASSERT(GrBackendApi::kOpenGL == this->backend()); in glContext()
|
D | GrContextFactory.cpp | 94 GrBackendApi api = context.fGrContext->backend(); in abandonContexts() 95 bool requiresEarlyAbandon = api == GrBackendApi::kVulkan || api == GrBackendApi::kDawn; in abandonContexts() 169 GrBackendApi backend = ContextTypeBackend(type); in getContextInfoInternal() 172 case GrBackendApi::kOpenGL: { in getContextInfoInternal() 235 case GrBackendApi::kVulkan: { in getContextInfoInternal() 259 case GrBackendApi::kMetal: { in getContextInfoInternal() 271 case GrBackendApi::kDirect3D: { in getContextInfoInternal() 283 case GrBackendApi::kDawn: { in getContextInfoInternal() 293 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()
|
/external/skqp/include/gpu/ |
D | GrBackendSemaphore.h | 23 GrBackendSemaphore() : fBackend(GrBackendApi::kOpenGL), fGLSync(0), fIsInitialized(false) {} in GrBackendSemaphore() 26 fBackend = GrBackendApi::kOpenGL; in initGL() 32 fBackend = GrBackendApi::kVulkan; in initVulkan() 44 if (!fIsInitialized || GrBackendApi::kOpenGL != fBackend) { in glSync() 51 if (!fIsInitialized || GrBackendApi::kVulkan != fBackend) { in vkSemaphore() 58 GrBackendApi fBackend;
|
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 | GrTypes.h | 187 enum class GrBackendApi : unsigned { enum 208 typedef GrBackendApi GrBackend; 210 static constexpr GrBackendApi kMetal_GrBackend = GrBackendApi::kMetal; 211 static constexpr GrBackendApi kVulkan_GrBackend = GrBackendApi::kVulkan; 212 static constexpr GrBackendApi kMock_GrBackend = GrBackendApi::kMock;
|
D | GrBackendSurface.h | 72 GrBackendApi backend() const { return fBackend; } in backend() 113 GrBackendApi fBackend; 166 GrBackendApi backend() const {return fBackend; } in backend() 245 GrBackendApi fBackend; 299 GrBackendApi backend() const {return fBackend; } in backend() 368 GrBackendApi fBackend;
|
/external/skqp/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::kMock; in ContextTypeBackend() 82 return GrBackendApi::kOpenGL; in ContextTypeBackend() 153 GrBackendApi fBackend; 172 GrBackendApi backend() const { return GrContextFactory::ContextTypeBackend(fType); } in backend() 179 SkASSERT(GrBackendApi::kOpenGL == this->backend()); in glContext()
|
/external/skia/dm/ |
D | DMGpuTestProcs.cpp | 19 return GrBackendApi::kOpenGL == GrContextFactory::ContextTypeBackend(type); in IsGLContextType() 22 return GrBackendApi::kVulkan == GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType() 25 return GrBackendApi::kMetal == GrContextFactory::ContextTypeBackend(type); in IsMetalContextType() 28 return GrBackendApi::kDirect3D == GrContextFactory::ContextTypeBackend(type); in IsDirect3DContextType() 31 return GrBackendApi::kDawn == GrContextFactory::ContextTypeBackend(type); in IsDawnContextType()
|
/external/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
|
/external/skqp/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
|
/external/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()
|
/external/skqp/include/private/ |
D | GrContext_Base.h | 26 GrBackendApi backend() const { return fBackend; } in backend() 35 GrContext_Base(GrBackendApi backend, uint32_t uniqueID); 52 const GrBackendApi fBackend;
|