/external/skia/src/gpu/ganesh/ |
D | GrContextThreadSafeProxy.cpp | 51 const GrBackendFormat& backendFormat, in createCharacterization() argument 62 if (!backendFormat.isValid()) { in createCharacterization() 68 if (GrBackendApi::kOpenGL != backendFormat.backend() && willUseGLFBO0) { in createCharacterization() 73 if (GrBackendApi::kVulkan != backendFormat.backend() && in createCharacterization() 91 if (!fCaps->areColorTypeAndFormatCompatible(grColorType, backendFormat)) { in createCharacterization() 95 if (!fCaps->isFormatAsColorTypeRenderable(grColorType, backendFormat, sampleCnt)) { in createCharacterization() 99 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, backendFormat); in createCharacterization() 106 if (isTextureable && !fCaps->isFormatTexturable(backendFormat, backendFormat.textureType())) { in createCharacterization() 111 if (GrBackendApi::kVulkan == backendFormat.backend()) { in createCharacterization() 126 backendFormat, in createCharacterization()
|
D | GrProgramDesc.cpp | 69 const GrBackendFormat& backendFormat = sampler.backendFormat(); in add_geomproc_sampler_keys() local 71 uint32_t samplerKey = sampler_key(backendFormat.textureType(), sampler.swizzle(), caps); in add_geomproc_sampler_keys() 74 caps.addExtraSamplerKey(b, sampler.samplerState(), backendFormat); in add_geomproc_sampler_keys() 111 uint32_t samplerKey = sampler_key(dstView.proxy()->backendFormat().textureType(), in gen_xp_key() 131 const GrBackendFormat& backendFormat = te->view().proxy()->backendFormat(); in gen_fp_key() local 132 uint32_t samplerKey = sampler_key(backendFormat.textureType(), te->view().swizzle(), caps); in gen_fp_key() 134 caps.addExtraSamplerKey(b, te->samplerState(), backendFormat); in gen_fp_key()
|
D | GrTextureProxy.cpp | 173 GrTextureType GrTextureProxy::textureType() const { return this->backendFormat().textureType(); } in textureType() 176 return GrSurface::ComputeSize(this->backendFormat(), this->dimensions(), in onUninstantiatedGpuMemorySize() 185 return first->backendFormat().textureType() == second->backendFormat().textureType() && in ProxiesAreCompatibleAsDynamicState() 186 first->backendFormat() == second->backendFormat(); in ProxiesAreCompatibleAsDynamicState() 225 this->backendFormat(), in callbackDesc()
|
D | GrAHardwareBufferUtils.cpp | 58 const GrBackendFormat& backendFormat, in MakeBackendTexture() argument 69 updateProc, imageCtx, isProtectedContent, backendFormat, in MakeBackendTexture() 78 updateProc, imageCtx, isProtectedContent, backendFormat, in MakeBackendTexture()
|
D | GrBackendTextureImageGenerator.cpp | 67 SkColorTypeToGrColorType(colorType), texture->backendFormat())) { in Make() 168 GrBackendFormat backendFormat = fBackendTexture.getBackendFormat(); in onGenerateTexture() local 169 SkASSERT(backendFormat.isValid()); in onGenerateTexture() 181 skgpu::Swizzle readSwizzle = dContext->priv().caps()->getReadSwizzle(backendFormat, in onGenerateTexture() 228 backendFormat, in onGenerateTexture()
|
D | GrDirectContext.cpp | 573 const GrBackendFormat& backendFormat, in createBackendTexture() argument 583 return fGpu->createBackendTexture({width, height}, backendFormat, renderable, in createBackendTexture() 650 const GrBackendFormat& backendFormat, in create_and_clear_backend_texture() argument 658 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture() 716 const GrBackendFormat& backendFormat, in createBackendTexture() argument 733 backendFormat, in createBackendTexture() 804 GrBackendFormat backendFormat = this->defaultBackendFormat(colorType, renderable); in createBackendTexture() local 807 backendFormat, in createBackendTexture() 917 const GrBackendFormat& backendFormat, in create_and_update_compressed_backend_texture() argument 925 GrBackendTexture beTex = gpu->createCompressedBackendTexture(dimensions, backendFormat, in create_and_update_compressed_backend_texture() [all …]
|
D | GrAttachment.cpp | 31 GrBackendFormat format = this->backendFormat(); in onGpuMemorySize() 35 size *= GrBackendFormatBytesPerBlock(this->backendFormat()); in onGpuMemorySize() 114 this->backendFormat(), in computeScratchKey()
|
D | GrSurfaceProxy.cpp | 110 , fFormat(fTarget->backendFormat()) in GrSurfaceProxy() 248 GrTexture::ComputeScratchKey(caps, this->backendFormat(), this->backingStoreDimensions(), in computeScratchKey() 271 return caps->isFormatCompressed(this->backendFormat()); in isFormatCompressed() 310 auto format = src->backendFormat().makeTexture2D(); in Copy() 313 if (src->backendFormat().textureType() != GrTextureType::kExternal) { in Copy() 484 SkASSERTF(surface->backendFormat() == fFormat, "%s != %s", in validateSurface() 485 surface->backendFormat().toStr().c_str(), fFormat.toStr().c_str()); in validateSurface()
|
D | GrTexture.cpp | 37 return GrSurface::ComputeSize(this->backendFormat(), this->dimensions(), in onGpuMemorySize() 92 if (!this->getGpu()->caps()->isFormatCompressed(this->backendFormat())) { in computeScratchKey() 100 ComputeScratchKey(*this->getGpu()->caps(), this->backendFormat(), this->dimensions(), in computeScratchKey()
|
D | GrRenderTargetProxy.cpp | 112 if (this->isLazy() && this->backendFormat().backend() == GrBackendApi::kOpenGL) { in canUseStencil() 153 return GrSurface::ComputeSize(this->backendFormat(), this->dimensions(), in onUninstantiatedGpuMemorySize() 177 this->backendFormat(), in callbackDesc()
|
D | GrDynamicAtlas.cpp | 137 caps.getReadSwizzle(fTextureProxy->backendFormat(), fColorType)}; in readView() 142 caps.getWriteSwizzle(fTextureProxy->backendFormat(), fColorType)}; in writeView() 221 SkASSERT(backingRT->backendFormat() == fTextureProxy->backendFormat()); in instantiate()
|
/external/skia/include/private/chromium/ |
D | GrSurfaceCharacterization.h | 82 const GrBackendFormat& backendFormat) const; 96 const GrBackendFormat& backendFormat() const { return fBackendFormat; } in backendFormat() function 130 const GrBackendFormat& backendFormat, in GrSurfaceCharacterization() argument 143 , fBackendFormat(std::move(backendFormat)) in GrSurfaceCharacterization() 163 const GrBackendFormat& backendFormat, in set() argument 181 fBackendFormat = std::move(backendFormat); in set()
|
/external/skia/src/gpu/ganesh/mock/ |
D | GrMockTexture.h | 61 GrBackendFormat backendFormat() const override { in backendFormat() function 139 this->backendFormat(), this->dimensions(), numColorSamples, skgpu::Mipmapped::kNo); in onGpuMemorySize() 145 numStencilBits = GrBackendFormatStencilBits(stencil->backendFormat()); in getBackendRenderTarget() 150 GrBackendFormat backendFormat() const override { in backendFormat() function 212 GrBackendFormat backendFormat() const override { in backendFormat() function 213 return GrMockTexture::backendFormat(); in backendFormat() 233 return GrSurface::ComputeSize(this->backendFormat(), this->dimensions(), in onGpuMemorySize()
|
/external/skia/src/gpu/ganesh/image/ |
D | SkImage_GaneshBase.cpp | 83 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateBackendTexture() local 84 if (!backendFormat.isValid()) { in ValidateBackendTexture() 88 return caps->areColorTypeAndFormatCompatible(grCT, backendFormat); in ValidateBackendTexture() 106 GrBackendFormat backendFormat = tex.getBackendFormat(); in ValidateCompressedBackendTexture() local 107 if (!backendFormat.isValid()) { in ValidateCompressedBackendTexture() 111 if (!caps->isFormatCompressed(backendFormat)) { in ValidateCompressedBackendTexture() 312 const GrBackendFormat& backendFormat, in MakePromiseImageLazyProxy() argument 325 GrTextureTypeHasRestrictedSampling(backendFormat.textureType())) { in MakePromiseImageLazyProxy() 420 tsp, std::move(callback), backendFormat, dimensions, mipmapped); in MakePromiseImageLazyProxy()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 234 GrBackendFormat backendFormat = direct->defaultBackendFormat(yuvPixmap.colorType(), in createCallbackContexts() local 238 new PromiseImageCallbackContext(direct, backendFormat)); in createCallbackContexts() 251 GrBackendFormat backendFormat = direct->defaultBackendFormat(baseLevel.colorType(), in createCallbackContexts() local 253 if (!caps->isFormatTexturable(backendFormat, GrTextureType::k2D)) { in createCallbackContexts() 258 new PromiseImageCallbackContext(direct, backendFormat)); in createCallbackContexts() 337 backendFormats[i] = curImage.backendFormat(i); in CreatePromiseImages() 357 const GrBackendFormat& backendFormat = curImage.backendFormat(0); in CreatePromiseImages() local 358 SkASSERT(backendFormat.isValid()); in CreatePromiseImages() 361 backendFormat, in CreatePromiseImages()
|
D | DDLPromiseImageHelper.h | 36 PromiseImageCallbackContext(GrDirectContext* direct, GrBackendFormat backendFormat) in PromiseImageCallbackContext() argument 38 , fBackendFormat(backendFormat) {} in PromiseImageCallbackContext() 42 const GrBackendFormat& backendFormat() const { return fBackendFormat; } in backendFormat() function 184 const GrBackendFormat& backendFormat(int index) const { in backendFormat() function 186 return fCallbackContexts[index]->backendFormat(); in backendFormat()
|
/external/skia/include/android/ |
D | GrAHardwareBufferUtils.h | 72 const GrBackendFormat& backendFormat, 84 const GrBackendFormat& backendFormat, 94 const GrBackendFormat& backendFormat,
|
/external/skia/src/gpu/ganesh/gl/ |
D | GrGLRenderTarget.cpp | 138 numStencilBits = GrBackendFormatStencilBits(stencil->backendFormat()); in getBackendRenderTarget() 145 GrBackendFormat GrGLRenderTarget::backendFormat() const { in backendFormat() function in GrGLRenderTarget 152 return GrSurface::ComputeSize(this->backendFormat(), in onGpuMemorySize() 181 int internalSampleCount = caps.internalMultisampleCount(this->backendFormat()); in ensureDynamicMSAAAttachment() 202 this->dimensions(), this->backendFormat(), internalSampleCount, in ensureDynamicMSAAAttachment() 231 this->getGpu()->caps()->internalMultisampleCount(this->backendFormat()); in bindInternal() 371 size_t size = GrSurface::ComputeSize(this->backendFormat(), in dumpMemoryStatistics()
|
D | AHardwareBufferGL.cpp | 121 const GrBackendFormat& backendFormat, in make_gl_backend_texture() argument 167 SkASSERT(backendFormat.isValid()); in make_gl_backend_texture() 169 textureInfo.fFormat = GrBackendFormats::AsGLFormatEnum(backendFormat); in make_gl_backend_texture() 208 const GrBackendFormat& backendFormat, in MakeGLBackendTexture() argument 224 updateProc, imageCtx, isProtectedContent, backendFormat, in MakeGLBackendTexture()
|
D | GrGLTextureRenderTarget.h | 58 GrBackendFormat backendFormat() const override { in backendFormat() function 60 return GrGLTexture::backendFormat(); in backendFormat()
|
/external/skia/src/gpu/ganesh/surface/ |
D | SkSurface_AndroidFactories.cpp | 83 GrBackendFormat backendFormat = GrAHardwareBufferUtils::GetBackendFormat( in WrapAndroidHardwareBuffer() local 85 if (!backendFormat.isValid()) { in WrapAndroidHardwareBuffer() 110 backendFormat, in WrapAndroidHardwareBuffer()
|
/external/skia/src/image/ |
D | SkImage_AndroidFactories.cpp | 104 GrBackendFormat backendFormat = GrAHardwareBufferUtils::GetBackendFormat(dContext, in TextureFromAHardwareBufferWithData() local 109 if (!backendFormat.isValid()) { in TextureFromAHardwareBufferWithData() 123 &deleteImageCtx, false, backendFormat, in TextureFromAHardwareBufferWithData() 149 skgpu::Swizzle swizzle = dContext->priv().caps()->getReadSwizzle(backendFormat, grColorType); in TextureFromAHardwareBufferWithData()
|
/external/skia/bench/ |
D | DDLRecorderBench.cpp | 27 GrBackendFormat backendFormat = direct->defaultBackendFormat(kRGBA_8888_SkColorType, in create_characterization() local 29 if (!backendFormat.isValid()) { in create_characterization() 38 backendFormat, in create_characterization()
|
/external/skia/tests/ |
D | TransferPixelsTest.cpp | 101 caps->supportedReadPixelsColorType(colorType, texture->backendFormat(), colorType); in read_pixels_from_texture() 138 auto backendFormat = caps->getDefaultBackendFormat(colorType, renderable); in basic_transfer_to_test() local 139 if (!backendFormat.isValid()) { in basic_transfer_to_test() 151 backendFormat, in basic_transfer_to_test() 174 if (!caps->isFormatAsColorTypeRenderable(colorType, tex->backendFormat())) { in basic_transfer_to_test() 181 caps->supportedWritePixelsColorType(colorType, tex->backendFormat(), colorType); in basic_transfer_to_test() 367 if (!caps->isFormatAsColorTypeRenderable(colorType, tex->backendFormat())) { in basic_transfer_from_test() 373 caps->supportedReadPixelsColorType(colorType, tex->backendFormat(), colorType); in basic_transfer_from_test()
|
/external/skia/src/gpu/ganesh/mtl/ |
D | GrMtlTextureRenderTarget.h | 30 GrBackendFormat backendFormat() const override { in backendFormat() function 31 return GrMtlTexture::backendFormat(); in backendFormat()
|