/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 | 121 GrBackendRenderTarget backendRT(kW, kH, 1, backendCopy); in wrap_rt_test() local 122 rt = gpu->wrapBackendRenderTarget(backendRT); in wrap_rt_test() 131 GrBackendRenderTarget backendRT(kW, kH, 1, backendCopy); in wrap_rt_test() local 132 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, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 237 gpu->deleteTestingOnlyBackendRenderTarget(backendRT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 256 GrBackendRenderTarget backendRT(kWidthHeight, kWidthHeight, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 259 proxyProvider->wrapBackendRenderTarget(backendRT, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | MtlCopySurfaceTest.mm | 42 GrBackendRenderTarget backendRT(kWidth, kHeight, fbInfo); 45 sk_sp<GrSurfaceProxy> srcProxy = proxyProvider->wrapBackendRenderTarget(backendRT, nullptr);
|
D | VkProtectedContextTest.cpp | 63 GrBackendRenderTarget backendRT = in create_protected_sksurface() local 65 REPORTER_ASSERT(reporter, backendRT.isValid()); in create_protected_sksurface() 66 REPORTER_ASSERT(reporter, backendRT.isProtected()); in create_protected_sksurface()
|
D | ProxyConversionTest.cpp | 28 auto backendRT = gpu->createTestingOnlyBackendRenderTarget(size, colorType); in make_wrapped_rt() local 29 return provider->wrapBackendRenderTarget(backendRT, nullptr); in make_wrapped_rt()
|
D | DeferredDisplayListTest.cpp | 240 GrBackendRenderTarget backendRT(fWidth, fHeight, 1, kStencilBits, fboInfo); in make() local 242 if (!backendRT.isValid()) { in make() 246 sk_sp<SkSurface> result = SkSurface::MakeFromBackendRenderTarget(dContext, backendRT, in make() 671 GrBackendRenderTarget backendRT(128, 128, numSamples, kStencilBits, fboInfo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 672 SkAssertResult(backendRT.isValid()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 674 surfaces[index] = SkSurface::MakeFromBackendRenderTarget(context, backendRT, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | SurfaceTest.cpp | 927 GrBackendRenderTarget backendRT; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 953 backendRT = gpu->createTestingOnlyBackendRenderTarget({kWidth, kHeight}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 955 if (!backendRT.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 958 surface = SkSurface::MakeFromBackendRenderTarget(ctx, backendRT, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 979 gpu->deleteTestingOnlyBackendRenderTarget(backendRT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/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 | 67 GrBackendRenderTarget backendRT(fWidth, in getBackbufferSurface() local 73 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT, in getBackbufferSurface()
|
D | MetalWindowContext.mm | 137 GrBackendRenderTarget backendRT(fWidth, 142 surface = SkSurface::MakeFromBackendRenderTarget(fContext.get(), backendRT,
|
D | VulkanWindowContext.cpp | 374 GrBackendRenderTarget backendRT(fWidth, fHeight, fSampleCount, info); in createBuffers() local 376 fContext.get(), backendRT, kTopLeft_GrSurfaceOrigin, colorType, in createBuffers()
|
/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/ |
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/skottielib/src/main/cpp/ |
D | native-lib.cpp | 216 GrBackendRenderTarget backendRT(width, height, 0, STENCIL_BUFFER_SIZE, fboInfo); in Java_org_skia_skottie_SkottieAnimation_nDrawFrame() local 221 dContext, backendRT, kBottomLeft_GrSurfaceOrigin, colorType, in Java_org_skia_skottie_SkottieAnimation_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/ |
D | GrGpu.cpp | 329 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in wrapBackendRenderTarget() argument 334 if (!caps->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { in wrapBackendRenderTarget() 338 sk_sp<GrRenderTarget> rt = this->onWrapBackendRenderTarget(backendRT); in wrapBackendRenderTarget() 339 if (backendRT.isFramebufferOnly()) { in wrapBackendRenderTarget()
|
/external/skia/tools/sk_app/win/ |
D | D3D12WindowContext_win.cpp | 159 GrBackendRenderTarget backendRT(width, height, info); in setupSurfaces() local 161 fContext.get(), backendRT, kTopLeft_GrSurfaceOrigin, kRGBA_8888_SkColorType, in setupSurfaces()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1104 sk_sp<GrRenderTarget> GrVkGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT){ in onWrapBackendRenderTarget() argument 1109 if (backendRT.sampleCnt() > 1) { in onWrapBackendRenderTarget() 1114 if (!backendRT.getVkImageInfo(&info)) { in onWrapBackendRenderTarget() 1124 desc.fWidth = backendRT.width(); in onWrapBackendRenderTarget() 1125 desc.fHeight = backendRT.height(); in onWrapBackendRenderTarget() 1126 desc.fConfig = backendRT.config(); in onWrapBackendRenderTarget() 1129 sk_sp<GrVkImageLayout> layout = backendRT.getGrVkImageLayout(); in onWrapBackendRenderTarget() 1135 SkASSERT(!backendRT.stencilBits()); in onWrapBackendRenderTarget()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 727 static id<MTLTexture> get_texture_from_backend(const GrBackendRenderTarget& backendRT) { 729 if (!backendRT.getMtlTextureInfo(&textureInfo)) { 799 sk_sp<GrRenderTarget> GrMtlGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { 800 if (!this->caps()->isFormatRenderable(backendRT.getBackendFormat(), backendRT.sampleCnt())) { 804 id<MTLTexture> mtlTexture = get_texture_from_backend(backendRT); 813 return GrMtlRenderTarget::MakeWrappedRenderTarget(this, backendRT.dimensions(), 814 backendRT.sampleCnt(), mtlTexture);
|