/external/skia/include/core/ |
D | SkPromiseImageTexture.h | 33 static sk_sp<SkPromiseImageTexture> Make(const GrBackendTexture& backendTexture) { in Make() argument 34 if (!backendTexture.isValid()) { in Make() 37 return sk_sp<SkPromiseImageTexture>(new SkPromiseImageTexture(backendTexture)); in Make() 40 const GrBackendTexture& backendTexture() const { return fBackendTexture; } in backendTexture() function 50 explicit SkPromiseImageTexture(const GrBackendTexture& backendTexture);
|
D | SkImage.h | 226 const GrBackendTexture& backendTexture, in MakeFromTexture() argument 231 return MakeFromTexture(context, backendTexture, origin, colorType, alphaType, colorSpace, in MakeFromTexture() 261 const GrBackendTexture& backendTexture, 350 const GrBackendTexture& backendTexture, 406 const GrBackendTexture& backendTexture, 478 const GrBackendTexture& backendTexture, sk_sp<SkColorSpace> imageColorSpace = nullptr); 522 const GrBackendTexture& backendTexture, 1019 GrBackendTexture* backendTexture,
|
D | SkSurface.h | 213 const GrBackendTexture& backendTexture, 291 const GrBackendTexture& backendTexture,
|
/external/skqp/include/core/ |
D | SkPromiseImageTexture.h | 33 static sk_sp<SkPromiseImageTexture> Make(const GrBackendTexture& backendTexture) { in Make() argument 34 if (!backendTexture.isValid()) { in Make() 37 return sk_sp<SkPromiseImageTexture>(new SkPromiseImageTexture(backendTexture)); in Make() 40 const GrBackendTexture& backendTexture() const { return fBackendTexture; } in backendTexture() function 50 explicit SkPromiseImageTexture(const GrBackendTexture& backendTexture);
|
D | SkImage.h | 224 const GrBackendTexture& backendTexture, in MakeFromTexture() argument 229 return MakeFromTexture(context, backendTexture, origin, colorType, alphaType, colorSpace, in MakeFromTexture() 259 const GrBackendTexture& backendTexture, 348 const GrBackendTexture& backendTexture, 404 const GrBackendTexture& backendTexture, 476 const GrBackendTexture& backendTexture, sk_sp<SkColorSpace> imageColorSpace = nullptr); 520 const GrBackendTexture& backendTexture, 1001 GrBackendTexture* backendTexture,
|
D | SkSurface.h | 199 const GrBackendTexture& backendTexture, 270 const GrBackendTexture& backendTexture,
|
/external/skia/src/gpu/ |
D | GrBackendTextureImageGenerator.cpp | 47 GrBackendTexture backendTexture = texture->getBackendTexture(); in Make() local 48 GrBackendFormat backendFormat = backendTexture.getBackendFormat(); in Make() 52 backendTexture.fConfig = in Make() 54 if (backendTexture.fConfig == kUnknown_GrPixelConfig) { in Make() 62 std::move(semaphore), backendTexture)); in Make() 142 GrBackendTexture backendTexture = fBackendTexture; in onGenerateTexture() local 145 GrBackendFormat format = backendTexture.getBackendFormat(); in onGenerateTexture() 150 backendTexture](GrResourceProvider* resourceProvider) { in onGenerateTexture() 172 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, in onGenerateTexture()
|
D | GrTexture.cpp | 50 GrBackendTexture* backendTexture, in StealBackendTexture() argument 56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) { in StealBackendTexture()
|
/external/skqp/src/gpu/ |
D | GrBackendTextureImageGenerator.cpp | 45 GrBackendTexture backendTexture = texture->getBackendTexture(); in Make() local 46 GrBackendFormat backendFormat = backendTexture.getBackendFormat(); in Make() 50 backendTexture.fConfig = in Make() 52 if (backendTexture.fConfig == kUnknown_GrPixelConfig) { in Make() 60 std::move(semaphore), backendTexture)); in Make() 139 GrBackendTexture backendTexture = fBackendTexture; in onGenerateTexture() local 142 GrBackendFormat format = backendTexture.getBackendFormat(); in onGenerateTexture() 147 backendTexture](GrResourceProvider* resourceProvider) { in onGenerateTexture() 173 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, in onGenerateTexture()
|
D | GrTexture.cpp | 50 GrBackendTexture* backendTexture, in StealBackendTexture() argument 56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) { in StealBackendTexture()
|
/external/skqp/src/core/ |
D | SkPromiseImageTexture.cpp | 15 SkPromiseImageTexture::SkPromiseImageTexture(const GrBackendTexture& backendTexture) { in SkPromiseImageTexture() argument 16 SkASSERT(backendTexture.isValid()); in SkPromiseImageTexture() 17 fBackendTexture = backendTexture; in SkPromiseImageTexture()
|
/external/skia/src/core/ |
D | SkPromiseImageTexture.cpp | 15 SkPromiseImageTexture::SkPromiseImageTexture(const GrBackendTexture& backendTexture) { in SkPromiseImageTexture() argument 16 SkASSERT(backendTexture.isValid()); in SkPromiseImageTexture() 17 fBackendTexture = backendTexture; in SkPromiseImageTexture()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 259 const GrBackendTexture& backendTexture, in MakeFromYUVATexturesCopyWithExternalBackend() argument 261 GrBackendTexture backendTextureCopy = backendTexture; in MakeFromYUVATexturesCopyWithExternalBackend() 301 GrSurfaceOrigin imageOrigin, const GrBackendTexture& backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend() argument 310 ctx, yuvColorSpace, yuvTextures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend() 334 const GrBackendTexture& backendTexture, in MakeFromNV12TexturesCopyWithExternalBackend() argument 343 ctx, yuvColorSpace, nv12Textures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromNV12TexturesCopyWithExternalBackend() 618 GrBackendTexture backendTexture = in MakeFromAHardwareBufferWithData() local 623 if (!backendTexture.isValid()) { in MakeFromAHardwareBufferWithData() 631 backendTexture.fConfig = context->priv().caps()->getConfigFromBackendFormat(backendFormat, in MakeFromAHardwareBufferWithData() 641 proxyProvider->wrapBackendTexture(backendTexture, surfaceOrigin, in MakeFromAHardwareBufferWithData() [all …]
|
D | SkImage_GpuBase.cpp | 477 auto backendTexture = promiseTexture->backendTexture(); in MakePromiseImageLazyProxy() local 478 backendTexture.fConfig = fConfig; in MakePromiseImageLazyProxy() 479 if (!backendTexture.isValid()) { in MakePromiseImageLazyProxy() 499 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kYes, in MakePromiseImageLazyProxy()
|
/external/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 65 const GrBackendTexture& backendTexture, in draw_child() argument 79 backendTexture, in draw_child() 153 GrBackendTexture backendTexture = mainImage->getBackendTexture(false); in surface_semaphore_test() local 155 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test() 163 SkAssertResult(backendTexture.getVkImageInfo(&vkInfo)); in surface_semaphore_test() 168 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
|
D | TextureBindingsResetTest.cpp | 114 GrBackendTexture backendTexture(10, 10, GrMipMapped::kNo, infoExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 118 img = SkImage::MakeFromTexture(context, backendTexture, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 144 GrBackendTexture backendTexture(10, 10, GrMipMapped::kNo, info); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 145 img = SkImage::MakeFromTexture(context, backendTexture, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | GrSurfaceTest.cpp | 341 auto backendTexture = context->priv().getGpu()->createTestingOnlyBackendTexture( in make_wrapped_texture() local 346 backendTexture, 1, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo); in make_wrapped_texture() 349 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, kRW_GrIOType); in make_wrapped_texture() 365 texture->setRelease(release, new ReleaseContext{context, backendTexture}); in make_wrapped_texture() 640 auto backendTexture = gpu->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 643 auto img2 = SkImage::MakeFromTexture(context, backendTexture, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 648 gpu->deleteTestingOnlyBackendTexture(backendTexture); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
/external/skqp/tests/ |
D | SurfaceSemaphoreTest.cpp | 65 const GrBackendTexture& backendTexture, in draw_child() argument 79 backendTexture, in draw_child() 153 GrBackendTexture backendTexture = mainImage->getBackendTexture(false); in surface_semaphore_test() local 155 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test() 163 SkAssertResult(backendTexture.getVkImageInfo(&vkInfo)); in surface_semaphore_test() 168 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
|
D | GrSurfaceTest.cpp | 343 auto backendTexture = texture->getBackendTexture(); in DEF_GPUTEST() local 359 release, new ReleaseContext{context, backendTexture})); in DEF_GPUTEST() 364 auto backendTexture = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST() local 367 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, kRW_GrIOType); in DEF_GPUTEST() 373 auto backendTexture = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST() local 376 backendTexture, 1, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo); in DEF_GPUTEST()
|
/external/skqp/tools/ |
D | DDLPromiseImageHelper.cpp | 27 gpu->deleteTestingOnlyBackendTexture(fPromiseImageTexture->backendTexture()); in ~PromiseImageCallbackContext() 32 const GrBackendTexture& backendTexture) { in setBackendTexture() argument 36 gpu->deleteTestingOnlyBackendTexture(fPromiseImageTexture->backendTexture()); in setBackendTexture() 38 fPromiseImageTexture = SkPromiseImageTexture::Make(backendTexture); in setBackendTexture() 228 const GrBackendTexture& backendTex = curImage.promiseTexture(i)->backendTexture(); in PromiseImageCreator() 255 const GrBackendTexture& backendTex = curImage.promiseTexture(0)->backendTexture(); in PromiseImageCreator()
|
/external/skqp/src/image/ |
D | SkImage_Gpu.cpp | 249 const GrBackendTexture& backendTexture, in MakeFromYUVATexturesCopyWithExternalBackend() argument 251 GrBackendTexture backendTextureCopy = backendTexture; in MakeFromYUVATexturesCopyWithExternalBackend() 291 GrSurfaceOrigin imageOrigin, const GrBackendTexture& backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend() argument 300 ctx, yuvColorSpace, yuvTextures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromYUVTexturesCopyWithExternalBackend() 324 const GrBackendTexture& backendTexture, in MakeFromNV12TexturesCopyWithExternalBackend() argument 333 ctx, yuvColorSpace, nv12Textures, yuvaIndices, size, imageOrigin, backendTexture, in MakeFromNV12TexturesCopyWithExternalBackend() 575 GrBackendTexture* backendTexture, in MakeBackendTextureFromSkImage() argument 577 if (!image || !ctx || !backendTexture || !releaseProc) { in MakeBackendTextureFromSkImage() 632 return GrTexture::StealBackendTexture(std::move(textureRef), backendTexture, releaseProc); in MakeBackendTextureFromSkImage()
|
D | SkImage_GpuBase.cpp | 454 GrBackendTexture backendTexture; in MakePromiseImageLazyProxy() local 473 backendTexture = promiseTexture->backendTexture(); in MakePromiseImageLazyProxy() 474 backendTexture.fConfig = fConfig; in MakePromiseImageLazyProxy() 475 if (!backendTexture.isValid()) { in MakePromiseImageLazyProxy() 496 backendTexture, kBorrow_GrWrapOwnership, GrWrapCacheable::kYes, in MakePromiseImageLazyProxy()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 28 gpu->deleteTestingOnlyBackendTexture(fPromiseImageTexture->backendTexture()); in ~PromiseImageCallbackContext() 33 const GrBackendTexture& backendTexture) { in setBackendTexture() argument 35 fPromiseImageTexture = SkPromiseImageTexture::Make(backendTexture); in setBackendTexture() 195 const GrBackendTexture& backendTex = curImage.promiseTexture(i)->backendTexture(); in PromiseImageCreator() 231 const GrBackendTexture& backendTex = curImage.promiseTexture(0)->backendTexture(); in PromiseImageCreator()
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 121 bool GrGLTexture::onStealBackendTexture(GrBackendTexture* backendTexture, in onStealBackendTexture() argument 123 *backendTexture = this->getBackendTexture(); in onStealBackendTexture()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 123 bool GrGLTexture::onStealBackendTexture(GrBackendTexture* backendTexture, in onStealBackendTexture() argument 125 *backendTexture = this->getBackendTexture(); in onStealBackendTexture()
|