Home
last modified time | relevance | path

Searched refs:recordingContext (Results 1 – 25 of 134) sorted by relevance

123456

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/vulkan/
H A DBufferVk.cpp199 void Buffer::TransitionUsageNow(CommandRecordingContext* recordingContext, in TransitionUsageNow() argument
264 EnsureDataInitialized(recordingContext); in MapAsyncImpl()
267 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapRead); in MapAsyncImpl()
270 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapWrite); in MapAsyncImpl()
300 InitializeToZero(recordingContext); in EnsureDataInitialized()
314 InitializeToZero(recordingContext); in EnsureDataInitializedAsDestination()
328 InitializeToZero(recordingContext); in EnsureDataInitializedAsDestination()
332 void Buffer::InitializeToZero(CommandRecordingContext* recordingContext) { in InitializeToZero() argument
336 ClearBuffer(recordingContext, 0u); in InitializeToZero()
342 ASSERT(recordingContext != nullptr); in ClearBuffer()
[all …]
H A DCommandBufferVk.cpp128 CommandRecordingContext* recordingContext, in Apply() argument
143 CommandRecordingContext* recordingContext, in Apply() argument
439 CommandRecordingContext* recordingContext, in RecordCopyImageWithTemporaryBuffer() argument
468 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordCopyImageWithTemporaryBuffer()
490 recordingContext->tempBuffers.emplace_back(tempBuffer); in RecordCopyImageWithTemporaryBuffer()
495 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordCommands()
508 buffer->EnsureDataInitialized(recordingContext); in RecordCommands()
545 buffer->EnsureDataInitialized(recordingContext); in RecordCommands()
751 DAWN_TRY(RecordComputePass(recordingContext)); in RecordCommands()
763 recordingContext, cmd->destinationOffset, in RecordCommands()
[all …]
H A DBufferVk.h39 void TransitionUsageNow(CommandRecordingContext* recordingContext, wgpu::BufferUsage usage);
45 void EnsureDataInitialized(CommandRecordingContext* recordingContext);
46 void EnsureDataInitializedAsDestination(CommandRecordingContext* recordingContext,
49 void EnsureDataInitializedAsDestination(CommandRecordingContext* recordingContext,
56 void InitializeToZero(CommandRecordingContext* recordingContext);
57 void ClearBuffer(CommandRecordingContext* recordingContext, uint32_t clearValue);
H A DCommandBufferVk.h38 MaybeError RecordCommands(CommandRecordingContext* recordingContext);
43 MaybeError RecordComputePass(CommandRecordingContext* recordingContext);
44 MaybeError RecordRenderPass(CommandRecordingContext* recordingContext,
46 void RecordCopyImageWithTemporaryBuffer(CommandRecordingContext* recordingContext,
H A DTextureVk.h68 void TransitionFullUsage(CommandRecordingContext* recordingContext,
71 void TransitionUsageNow(CommandRecordingContext* recordingContext,
79 void TransitionUsageForPass(CommandRecordingContext* recordingContext,
85 void EnsureSubresourceContentInitialized(CommandRecordingContext* recordingContext,
112 MaybeError ClearTexture(CommandRecordingContext* recordingContext,
116 void TweakTransitionForExternalUsage(CommandRecordingContext* recordingContext,
H A DTextureVk.cpp665 recordingContext->signalSemaphores.push_back(mSignalSemaphore); in ExportExternalTexture()
798 recordingContext->waitSemaphores.insert(recordingContext->waitSemaphores.end(), in TweakTransitionForExternalUsage()
812 void Texture::TransitionFullUsage(CommandRecordingContext* recordingContext, in TransitionFullUsage() argument
814 TransitionUsageNow(recordingContext, usage, GetAllSubresources()); in TransitionFullUsage()
817 void Texture::TransitionUsageForPass(CommandRecordingContext* recordingContext, in TransitionUsageForPass() argument
891 TweakTransitionForExternalUsage(recordingContext, imageBarriers, in TransitionUsageForPass()
900 void Texture::TransitionUsageNow(CommandRecordingContext* recordingContext, in TransitionUsageNow() argument
911 TweakTransitionForExternalUsage(recordingContext, &barriers, 0); in TransitionUsageNow()
993 MaybeError Texture::ClearTexture(CommandRecordingContext* recordingContext, in ClearTexture() argument
1003 TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst, range); in ClearTexture()
[all …]
H A DQueueVk.cpp48 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in SubmitImpl() local
50 DAWN_TRY(ToBackend(commands[i])->RecordCommands(recordingContext)); in SubmitImpl()
H A DSwapChainVk.cpp71 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in OnBeforePresent() local
73 ->TransitionUsageNow(recordingContext, mTextureUsage, view->GetSubresourceRange()); in OnBeforePresent()
438 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in PresentImpl() local
442 mBlitTexture->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopySrc, in PresentImpl()
444 mTexture->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst, in PresentImpl()
461 device->fn.CmdBlitImage(recordingContext->commandBuffer, mBlitTexture->GetHandle(), in PresentImpl()
476 mTexture->TransitionUsageNow(recordingContext, kPresentTextureUsage, in PresentImpl()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dawn/src/dawn_native/vulkan/
H A DCommandBufferVk.cpp119 CommandRecordingContext* recordingContext, in Apply() argument
135 CommandRecordingContext* recordingContext, in Apply() argument
175 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordBeginRenderPass()
308 CommandRecordingContext* recordingContext, in RecordCopyImageWithTemporaryBuffer() argument
335 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordCopyImageWithTemporaryBuffer()
357 recordingContext->tempBuffers.emplace_back(tempBuffer); in RecordCopyImageWithTemporaryBuffer()
362 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordCommands()
537 DAWN_TRY(RecordRenderPass(recordingContext, cmd)); in RecordCommands()
547 RecordComputePass(recordingContext); in RecordCommands()
565 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordComputePass()
[all …]
H A DCommandBufferVk.h40 MaybeError RecordCommands(CommandRecordingContext* recordingContext);
45 void RecordComputePass(CommandRecordingContext* recordingContext);
46 MaybeError RecordRenderPass(CommandRecordingContext* recordingContext,
48 void RecordCopyImageWithTemporaryBuffer(CommandRecordingContext* recordingContext,
H A DBufferVk.cpp185 void Buffer::TransitionUsageNow(CommandRecordingContext* recordingContext, in TransitionUsageNow() argument
216 ->fn.CmdPipelineBarrier(recordingContext->commandBuffer, srcStages, dstStages, 0, 0, in TransitionUsageNow()
235 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in MapReadAsyncImpl() local
236 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapRead); in MapReadAsyncImpl()
249 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in MapWriteAsyncImpl() local
250 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapWrite); in MapWriteAsyncImpl()
H A DQueueVk.cpp40 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in SubmitImpl() local
42 DAWN_TRY(ToBackend(commands[i])->RecordCommands(recordingContext)); in SubmitImpl()
H A DTextureVk.h63 void TransitionUsageNow(CommandRecordingContext* recordingContext,
65 void EnsureSubresourceContentInitialized(CommandRecordingContext* recordingContext,
87 MaybeError ClearTexture(CommandRecordingContext* recordingContext,
H A DTextureVk.cpp612 void Texture::TransitionUsageNow(CommandRecordingContext* recordingContext, in TransitionUsageNow() argument
661 recordingContext->waitSemaphores.insert(recordingContext->waitSemaphores.end(), in TransitionUsageNow()
666 ->fn.CmdPipelineBarrier(recordingContext->commandBuffer, srcStages, dstStages, 0, 0, in TransitionUsageNow()
673 MaybeError Texture::ClearTexture(CommandRecordingContext* recordingContext, in ClearTexture() argument
684 TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst); in ClearTexture()
707 device->fn.CmdClearDepthStencilImage(recordingContext->commandBuffer, in ClearTexture()
714 device->fn.CmdClearColorImage(recordingContext->commandBuffer, GetHandle(), in ClearTexture()
765 recordingContext->commandBuffer, in ClearTexture()
779 void Texture::EnsureSubresourceContentInitialized(CommandRecordingContext* recordingContext, in EnsureSubresourceContentInitialized() argument
797 GetDevice()->ConsumedError(ClearTexture(recordingContext, baseMipLevel, levelCount, in EnsureSubresourceContentInitialized()
H A DSwapChainVk.cpp60 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in OnBeforePresent() local
61 ToBackend(texture)->TransitionUsageNow(recordingContext, mTextureUsage); in OnBeforePresent()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dasyncrescaleandread.cpp184 auto dContext = GrAsDirectContext(canvas->recordingContext()); in do_rescale_image_grid()
185 if (!dContext && canvas->recordingContext()) { in do_rescale_image_grid()
201 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) { in do_rescale_image_grid()
216 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) { in do_rescale_image_grid()
283 auto dContext = GrAsDirectContext(surface->recordingContext());
284 if (!dContext && surface->recordingContext()) {
313 auto dContext = GrAsDirectContext(canvas->recordingContext());
314 if (!dContext && canvas->recordingContext()) {
329 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) {
H A Dmakecolorspace.cpp63 auto direct = GrAsDirectContext(canvas->recordingContext());
92 auto direct = GrAsDirectContext(canvas->recordingContext());
172 auto direct = GrAsDirectContext(canvas->recordingContext());
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/
H A DSkGpuDevice.cpp214 if (this->recordingContext()->abandoned()) {
234 auto newRTC = MakeRenderTargetContext(this->recordingContext(),
724 const GrSurfaceProxyView* view = as_IB(image)->view(this->recordingContext());
815 if (GrSurfaceProxyView view = as_IB(image)->refPinnedView(this->recordingContext(),
817 GrTextureAdjuster adjuster(this->recordingContext(), std::move(view),
842 if (!SkPaintToGrPaintWithPrimitiveColor(this->recordingContext(),
868 if (GrSurfaceProxyView view = as_IB(image)->refPinnedView(this->recordingContext(),
870 GrTextureAdjuster adjuster(this->recordingContext(), std::move(view),
979 this->recordingContext(), fRenderTargetContext->colorInfo(), paint,
985 this->recordingContext(), fRenderTargetContext->colorInfo(), paint,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/
H A DWebApkServiceConnectionManagerTest.java236 BindUnbindRecordingContext recordingContext = in testConnectDisconnectConnect() local
241 mConnectionManager.connect(recordingContext, WEBAPK_PACKAGE, callback1); in testConnectDisconnectConnect()
245 mConnectionManager.disconnectAll(recordingContext); in testConnectDisconnectConnect()
249 mConnectionManager.connect(recordingContext, WEBAPK_PACKAGE, callback2); in testConnectDisconnectConnect()
253 recordingContext.getStartStopServiceSequence().toArray(new Boolean[0])); in testConnectDisconnectConnect()
259 mConnectionManager.disconnectAll(recordingContext); in testConnectDisconnectConnect()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/bench/
H A DSKPBench.cpp50 const bool gpu = canvas->recordingContext() != nullptr; in onPerCanvasPreDraw()
112 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in onDraw()
152 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in getGpuStats()
H A DImageCacheBudgetBench.cpp47 auto context = canvas->recordingContext()->asDirectContext(); in set_cache_budget()
92 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw()
115 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
203 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw()
211 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
H A DCreateBackendTextureBench.cpp29 auto context = canvas->recordingContext()->asDirectContext(); in onDraw()
42 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp42 return fDevice->recordingContext(); in onGetRecordingContext()
101 auto rContext = fDevice->recordingContext(); in onNewImageSnapshot()
144 auto dContext = rtc->priv().recordingContext()->asDirectContext(); in onAsyncRescaleAndReadPixels()
162 auto dContext = rtc->priv().recordingContext()->asDirectContext(); in onAsyncRescaleAndReadPixelsYUV420()
215 auto direct = fDevice->recordingContext()->asDirectContext(); in onCharacterize()
259 auto surfaceContext = fDevice->recordingContext(); in onDraw()
260 auto canvasContext = canvas->recordingContext()->asDirectContext(); in onDraw()
294 auto direct = fDevice->recordingContext()->asDirectContext(); in onIsCompatible()
365 auto direct = fDevice->recordingContext()->asDirectContext(); in onDraw()
528 auto context = this->fDevice->recordingContext(); in onReplaceBackendTexture()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/vk/
H A DGrVkSecondaryCBDrawContext.cpp82 auto direct = fDevice->recordingContext()->asDirectContext(); in characterize()
119 auto direct = fDevice->recordingContext()->asDirectContext(); in isCompatible()
179 auto direct = fDevice->recordingContext()->asDirectContext();
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/docs/examples/
H A Dblur4444.cpp24 if (canvas->recordingContext() && !forceRaster) { in draw()
25 surf = SkSurface::MakeRenderTarget(canvas->recordingContext(), SkBudgeted::kNo, ii); in draw()

123456