/external/skqp/tests/ |
D | VkWrapTests.cpp | 109 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() local 110 backendRT.setPixelConfig(kPixelConfig); in wrap_rt_test() 111 rt = gpu->wrapBackendRenderTarget(backendRT); in wrap_rt_test() 120 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() local 121 backendRT.setPixelConfig(kPixelConfig); in wrap_rt_test() 122 rt = gpu->wrapBackendRenderTarget(backendRT); in wrap_rt_test()
|
D | ProxyTest.cpp | 228 GrBackendRenderTarget backendRT = gpu->createTestingOnlyBackendRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 231 proxyProvider->wrapBackendRenderTarget(backendRT, origin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 233 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 238 gpu->deleteTestingOnlyBackendRenderTarget(backendRT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 257 GrBackendRenderTarget backendRT(kWidthHeight, kWidthHeight, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 259 backendRT.setPixelConfig(config); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 261 proxyProvider->wrapBackendRenderTarget(backendRT, origin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 264 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 31 auto backendRT = gpu->createTestingOnlyBackendRenderTarget(desc.fWidth, desc.fHeight, ct); in make_wrapped_rt() local 32 return provider->wrapBackendRenderTarget(backendRT, origin); in make_wrapped_rt()
|
D | DeferredDisplayListTest.cpp | 381 GrBackendRenderTarget backendRT(fWidth, fHeight, 1, kStencilBits, fboInfo); in make() local 382 backendRT.setPixelConfig(fConfig); in make() 384 if (!backendRT.isValid()) { in make() 388 return SkSurface::MakeFromBackendRenderTarget(context, backendRT, fOrigin, in make()
|
/external/skia/tests/ |
D | VkWrapTests.cpp | 109 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() local 110 backendRT.setPixelConfig(kPixelConfig); in wrap_rt_test() 111 rt = gpu->wrapBackendRenderTarget(backendRT); in wrap_rt_test() 120 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test() local 121 backendRT.setPixelConfig(kPixelConfig); in wrap_rt_test() 122 rt = gpu->wrapBackendRenderTarget(backendRT); in wrap_rt_test()
|
D | ProxyTest.cpp | 228 GrBackendRenderTarget backendRT = gpu->createTestingOnlyBackendRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 231 proxyProvider->wrapBackendRenderTarget(backendRT, origin, nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 234 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 239 gpu->deleteTestingOnlyBackendRenderTarget(backendRT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 258 GrBackendRenderTarget backendRT(kWidthHeight, kWidthHeight, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 260 backendRT.setPixelConfig(config); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 262 proxyProvider->wrapBackendRenderTarget(backendRT, origin, nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 266 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 31 auto backendRT = gpu->createTestingOnlyBackendRenderTarget(desc.fWidth, desc.fHeight, ct); in make_wrapped_rt() local 32 return provider->wrapBackendRenderTarget(backendRT, origin, nullptr, nullptr); in make_wrapped_rt()
|
D | SurfaceTest.cpp | 890 GrBackendRenderTarget backendRT; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 909 backendRT = gpu->createTestingOnlyBackendRenderTarget(kWidth, kHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 911 if (!backendRT.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 914 surface = SkSurface::MakeFromBackendRenderTarget(ctx, backendRT, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 937 gpu->deleteTestingOnlyBackendRenderTarget(backendRT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | DeferredDisplayListTest.cpp | 175 GrBackendRenderTarget backendRT(fWidth, fHeight, 1, kStencilBits, fboInfo); in make() local 177 if (!backendRT.isValid()) { in make() 181 return SkSurface::MakeFromBackendRenderTarget(context, backendRT, fOrigin, in make()
|
/external/skqp/tools/sk_app/ |
D | GLWindowContext.cpp | 66 GrBackendRenderTarget backendRT(fWidth, in getBackbufferSurface() local 72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
|
D | VulkanWindowContext.cpp | 340 GrBackendRenderTarget backendRT(fWidth, fHeight, fSampleCount, info); in createBuffers() local 343 backendRT, in createBuffers() 603 GrBackendRenderTarget backendRT = surface->getBackendRenderTarget( in getBackbufferSurface() local 605 backendRT.setVkImageLayout(VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); in getBackbufferSurface() 616 GrBackendRenderTarget backendRT = surface->getBackendRenderTarget( in swapBuffers() local 619 SkAssertResult(backendRT.getVkImageInfo(&imageInfo)); in swapBuffers()
|
/external/skia/tools/sk_app/ |
D | GLWindowContext.cpp | 66 GrBackendRenderTarget backendRT(fWidth, in getBackbufferSurface() local 72 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
|
D | MetalWindowContext.mm | 71 GrBackendRenderTarget backendRT(fWidth, 76 surface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
D | VulkanWindowContext.cpp | 341 GrBackendRenderTarget backendRT(fWidth, fHeight, fSampleCount, info); in createBuffers() local 344 backendRT, in createBuffers()
|
/external/skqp/src/gpu/ |
D | GrGpu.cpp | 188 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in wrapBackendRenderTarget() argument 189 if (0 == this->caps()->getRenderTargetSampleCount(backendRT.sampleCnt(), backendRT.config())) { in wrapBackendRenderTarget() 193 return this->onWrapBackendRenderTarget(backendRT); in wrapBackendRenderTarget()
|
D | GrResourceProvider.cpp | 259 const GrBackendRenderTarget& backendRT) in wrapBackendRenderTarget() argument 262 return this->isAbandoned() ? nullptr : fGpu->wrapBackendRenderTarget(backendRT); in wrapBackendRenderTarget()
|
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/ |
D | native-lib.cpp | 180 GrBackendRenderTarget backendRT(width, height, 0, STENCIL_BUFFER_SIZE, fboInfo); in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame() local 185 grContext.get(), backendRT, kBottomLeft_GrSurfaceOrigin, colorType, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame()
|
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/ |
D | native-lib.cpp | 180 GrBackendRenderTarget backendRT(width, height, 0, STENCIL_BUFFER_SIZE, fboInfo); in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame() local 185 grContext.get(), backendRT, kBottomLeft_GrSurfaceOrigin, colorType, in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nDrawFrame()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 324 static id<MTLTexture> get_texture_from_backend(const GrBackendRenderTarget& backendRT) { 326 if (!backendRT.getMtlTextureInfo(&textureInfo)) { 378 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { 380 if (backendRT.sampleCnt() > 1) { 383 id<MTLTexture> mtlTexture = get_texture_from_backend(backendRT); 389 init_surface_desc(&surfDesc, mtlTexture, true, backendRT.config()); 565 GrBackendRenderTarget backendRT(w, h, 1, info); 566 backendRT.fConfig = config; 567 return backendRT;
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 383 static id<MTLTexture> get_texture_from_backend(const GrBackendRenderTarget& backendRT) { 385 if (!backendRT.getMtlTextureInfo(&textureInfo)) { 437 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { 439 if (backendRT.sampleCnt() > 1) { 442 id<MTLTexture> mtlTexture = get_texture_from_backend(backendRT); 448 init_surface_desc(&surfDesc, mtlTexture, true, backendRT.config()); 627 GrBackendRenderTarget backendRT(w, h, 1, info); 628 backendRT.fConfig = config; 629 return backendRT;
|
/external/skia/src/gpu/ |
D | GrGpu.cpp | 187 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in wrapBackendRenderTarget() argument 188 if (0 == this->caps()->getRenderTargetSampleCount(backendRT.sampleCnt(), backendRT.config())) { in wrapBackendRenderTarget() 192 return this->onWrapBackendRenderTarget(backendRT); in wrapBackendRenderTarget()
|
D | GrResourceProvider.cpp | 240 const GrBackendRenderTarget& backendRT) in wrapBackendRenderTarget() argument 243 return this->isAbandoned() ? nullptr : fGpu->wrapBackendRenderTarget(backendRT); in wrapBackendRenderTarget()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1107 sk_sp<GrRenderTarget> GrVkGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT){ in onWrapBackendRenderTarget() argument 1112 if (backendRT.sampleCnt() > 1) { in onWrapBackendRenderTarget() 1117 if (!backendRT.getVkImageInfo(&info)) { in onWrapBackendRenderTarget() 1121 if (!check_image_info(this->vkCaps(), info, backendRT.config(), true)) { in onWrapBackendRenderTarget() 1127 desc.fWidth = backendRT.width(); in onWrapBackendRenderTarget() 1128 desc.fHeight = backendRT.height(); in onWrapBackendRenderTarget() 1129 desc.fConfig = backendRT.config(); in onWrapBackendRenderTarget() 1132 sk_sp<GrVkImageLayout> layout = backendRT.getGrVkImageLayout(); in onWrapBackendRenderTarget() 1138 SkASSERT(!backendRT.stencilBits()); in onWrapBackendRenderTarget()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1096 sk_sp<GrRenderTarget> GrVkGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT){ in onWrapBackendRenderTarget() argument 1101 if (backendRT.sampleCnt() > 1) { in onWrapBackendRenderTarget() 1106 if (!backendRT.getVkImageInfo(&info)) { in onWrapBackendRenderTarget() 1116 desc.fWidth = backendRT.width(); in onWrapBackendRenderTarget() 1117 desc.fHeight = backendRT.height(); in onWrapBackendRenderTarget() 1118 desc.fConfig = backendRT.config(); in onWrapBackendRenderTarget() 1121 sk_sp<GrVkImageLayout> layout = backendRT.getGrVkImageLayout(); in onWrapBackendRenderTarget() 1127 SkASSERT(!backendRT.stencilBits()); in onWrapBackendRenderTarget()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 757 sk_sp<GrRenderTarget> GrGLGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in onWrapBackendRenderTarget() argument 759 if (!backendRT.getGLFramebufferInfo(&info)) { in onWrapBackendRenderTarget() 772 desc.fWidth = backendRT.width(); in onWrapBackendRenderTarget() 773 desc.fHeight = backendRT.height(); in onWrapBackendRenderTarget() 774 desc.fConfig = backendRT.config(); in onWrapBackendRenderTarget() 776 this->caps()->getRenderTargetSampleCount(backendRT.sampleCnt(), backendRT.config()); in onWrapBackendRenderTarget() 778 return GrGLRenderTarget::MakeWrapped(this, desc, info.fFormat, idDesc, backendRT.stencilBits()); in onWrapBackendRenderTarget() 4220 void GrGLGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in deleteTestingOnlyBackendRenderTarget() argument 4221 SkASSERT(GrBackendApi::kOpenGL == backendRT.backend()); in deleteTestingOnlyBackendRenderTarget() 4223 if (backendRT.getGLFramebufferInfo(&info)) { in deleteTestingOnlyBackendRenderTarget()
|