/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BufferVk.cpp | 229 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in Initialize() local 230 ClearBuffer(recordingContext, 0, clearOffset, clearSize); in Initialize() 245 void Buffer::TransitionUsageNow(CommandRecordingContext* recordingContext, in TransitionUsageNow() argument 254 ->fn.CmdPipelineBarrier(recordingContext->commandBuffer, srcStages, dstStages, 0, 0, in TransitionUsageNow() 308 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in MapAsyncImpl() local 311 EnsureDataInitialized(recordingContext); in MapAsyncImpl() 314 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapRead); in MapAsyncImpl() 317 TransitionUsageNow(recordingContext, wgpu::BufferUsage::MapWrite); in MapAsyncImpl() 343 bool Buffer::EnsureDataInitialized(CommandRecordingContext* recordingContext) { in EnsureDataInitialized() argument 348 InitializeToZero(recordingContext); in EnsureDataInitialized() [all …]
|
D | CommandBufferVk.cpp | 134 CommandRecordingContext* recordingContext, in Apply() argument 144 recordingContext->commandBuffer, bindPoint, in Apply() 155 CommandRecordingContext* recordingContext, in TransitionAndClearForSyncScope() argument 164 buffer->EnsureDataInitialized(recordingContext); in TransitionAndClearForSyncScope() 182 texture->EnsureSubresourceContentInitialized(recordingContext, range); in TransitionAndClearForSyncScope() 185 texture->TransitionUsageForPass(recordingContext, scope.textureUsages[i], in TransitionAndClearForSyncScope() 190 device->fn.CmdPipelineBarrier(recordingContext->commandBuffer, srcStages, dstStages, in TransitionAndClearForSyncScope() 197 MaybeError RecordBeginRenderPass(CommandRecordingContext* recordingContext, in RecordBeginRenderPass() argument 200 VkCommandBuffer commands = recordingContext->commandBuffer; in RecordBeginRenderPass() 377 void RecordWriteTimestampCmd(CommandRecordingContext* recordingContext, in RecordWriteTimestampCmd() argument [all …]
|
D | BufferVk.h | 39 void TransitionUsageNow(CommandRecordingContext* recordingContext, wgpu::BufferUsage usage); 46 bool EnsureDataInitialized(CommandRecordingContext* recordingContext); 47 bool EnsureDataInitializedAsDestination(CommandRecordingContext* recordingContext, 50 bool EnsureDataInitializedAsDestination(CommandRecordingContext* recordingContext, 61 void InitializeToZero(CommandRecordingContext* recordingContext); 62 void ClearBuffer(CommandRecordingContext* recordingContext,
|
D | CommandBufferVk.h | 38 MaybeError RecordCommands(CommandRecordingContext* recordingContext); 43 MaybeError RecordComputePass(CommandRecordingContext* recordingContext, 45 MaybeError RecordRenderPass(CommandRecordingContext* recordingContext, 47 void RecordCopyImageWithTemporaryBuffer(CommandRecordingContext* recordingContext,
|
D | TextureVk.h | 70 void TransitionUsageNow(CommandRecordingContext* recordingContext, 73 void TransitionUsageForPass(CommandRecordingContext* recordingContext, 79 void EnsureSubresourceContentInitialized(CommandRecordingContext* recordingContext, 111 MaybeError ClearTexture(CommandRecordingContext* recordingContext, 122 CommandRecordingContext* recordingContext, 133 void TweakTransitionForExternalUsage(CommandRecordingContext* recordingContext,
|
D | TextureVk.cpp | 808 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in ExportExternalTexture() local 809 device->fn.CmdPipelineBarrier(recordingContext->commandBuffer, srcStages, dstStages, 0, 0, in ExportExternalTexture() 813 recordingContext->signalSemaphores.push_back(mSignalSemaphore); in ExportExternalTexture() 888 void Texture::TweakTransitionForExternalUsage(CommandRecordingContext* recordingContext, in TweakTransitionForExternalUsage() argument 961 recordingContext->waitSemaphores.insert(recordingContext->waitSemaphores.end(), in TweakTransitionForExternalUsage() 986 void Texture::TransitionUsageForPass(CommandRecordingContext* recordingContext, in TransitionUsageForPass() argument 1008 TransitionUsageForPassImpl(recordingContext, combinedUsages, imageBarriers, srcStages, in TransitionUsageForPass() 1011 TransitionUsageForPassImpl(recordingContext, textureUsages, imageBarriers, srcStages, in TransitionUsageForPass() 1017 CommandRecordingContext* recordingContext, in TransitionUsageForPassImpl() argument 1048 TweakTransitionForExternalUsage(recordingContext, imageBarriers, in TransitionUsageForPassImpl() [all …]
|
D | QueueVk.cpp | 48 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in SubmitImpl() local 50 DAWN_TRY(ToBackend(commands[i])->RecordCommands(recordingContext)); in SubmitImpl()
|
D | SwapChainVk.cpp | 76 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in OnBeforePresent() local 78 ->TransitionUsageNow(recordingContext, mTextureUsage, view->GetSubresourceRange()); in OnBeforePresent() 473 CommandRecordingContext* recordingContext = device->GetPendingRecordingContext(); in PresentImpl() local 477 mBlitTexture->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopySrc, in PresentImpl() 479 mTexture->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst, in PresentImpl() 496 device->fn.CmdBlitImage(recordingContext->commandBuffer, mBlitTexture->GetHandle(), in PresentImpl() 511 mTexture->TransitionUsageNow(recordingContext, kPresentTextureUsage, in PresentImpl()
|
D | DeviceVk.cpp | 653 CommandRecordingContext* recordingContext = GetPendingRecordingContext(); in CopyFromStagingToBuffer() local 656 ->EnsureDataInitializedAsDestination(recordingContext, destinationOffset, size); in CopyFromStagingToBuffer() 664 ToBackend(destination)->TransitionUsageNow(recordingContext, wgpu::BufferUsage::CopyDst); in CopyFromStagingToBuffer() 671 this->fn.CmdCopyBuffer(recordingContext->commandBuffer, in CopyFromStagingToBuffer() 686 CommandRecordingContext* recordingContext = GetPendingRecordingContext(); in CopyFromStagingToTexture() local 699 ToBackend(dst->texture)->EnsureSubresourceContentInitialized(recordingContext, range); in CopyFromStagingToTexture() 704 ->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst, range); in CopyFromStagingToTexture() 709 this->fn.CmdCopyBufferToImage(recordingContext->commandBuffer, in CopyFromStagingToTexture()
|
/third_party/skia/gm/ |
D | asyncrescaleandread.cpp | 188 auto dContext = GrAsDirectContext(canvas->recordingContext()); in do_rescale_image_grid() 189 if (!dContext && canvas->recordingContext()) { in do_rescale_image_grid() 205 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) { in do_rescale_image_grid() 220 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) { in do_rescale_image_grid() 287 auto dContext = GrAsDirectContext(surface->recordingContext()); 288 if (!dContext && surface->recordingContext()) { 317 auto dContext = GrAsDirectContext(canvas->recordingContext()); 318 if (!dContext && canvas->recordingContext()) { 333 if (canvas->recordingContext() && canvas->recordingContext()->abandoned()) { 364 auto dContext = GrAsDirectContext(canvas->recordingContext()); [all …]
|
D | widebuttcaps.cpp | 55 if (canvas->recordingContext() && in draw_test() 56 canvas->recordingContext()->priv().caps()->shaderCaps()->tessellationSupport() && in draw_test() 57 canvas->recordingContext()->priv().caps()->shaderCaps()->maxTessellationSegments() == 5) { in draw_test() 121 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw()
|
D | yuv420_odd_dim.cpp | 57 auto rContext = canvas->recordingContext(); 90 auto rContext = canvas->recordingContext(); 113 image = SkImage::MakeFromYUVAPixmaps(canvas->recordingContext(),
|
D | trickycubicstrokes.cpp | 107 if (canvas->recordingContext() && in draw_test() 108 canvas->recordingContext()->priv().caps()->shaderCaps()->tessellationSupport() && in draw_test() 109 canvas->recordingContext()->priv().caps()->shaderCaps()->maxTessellationSegments() == 5) { in draw_test() 214 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw()
|
D | makecolorspace.cpp | 59 auto direct = GrAsDirectContext(canvas->recordingContext()); 88 auto direct = GrAsDirectContext(canvas->recordingContext()); 168 auto direct = GrAsDirectContext(canvas->recordingContext());
|
D | imagemasksubset.cpp | 63 surface = SkSurface::MakeRenderTarget(c->recordingContext(), SkBudgeted::kNo, info); in __anond97b64940302() 87 auto direct = GrAsDirectContext(canvas->recordingContext());
|
/third_party/skia/bench/ |
D | ImageCacheBudgetBench.cpp | 46 auto context = canvas->recordingContext()->asDirectContext(); in set_cache_budget() 91 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw() 114 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw() 124 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() 206 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPreDraw() 214 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw() 223 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw()
|
D | SKPBench.cpp | 52 const bool gpu = canvas->recordingContext() != nullptr; in onPerCanvasPreDraw() 114 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in onDraw() 157 auto direct = canvas->recordingContext() ? canvas->recordingContext()->asDirectContext() in getGpuStats()
|
D | CreateBackendTextureBench.cpp | 29 auto context = canvas->recordingContext()->asDirectContext(); in onDraw() 42 auto context = canvas->recordingContext()->asDirectContext(); in onPerCanvasPostDraw()
|
/third_party/skia/src/gpu/v1/ |
D | Device.cpp | 136 GrRecordingContext* rContext = sdc->recordingContext(); in Make() 181 : INHERITED(sk_ref_sp(sdc->recordingContext()), in Device() 326 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPaint() 350 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPoints() 396 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawPoints() 427 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRect() 493 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRRect() 523 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawDRRect() 563 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawRegion() 584 if (!SkPaintToGrPaint(this->recordingContext(), fSurfaceDrawContext->colorInfo(), paint, in drawOval() [all …]
|
/third_party/skia/src/image/ |
D | SkSurface_Gpu.cpp | 43 return fDevice->recordingContext(); in onGetRecordingContext() 52 auto dContext = surface->recordingContext()->asDirectContext(); in prepare_rt_for_external_access() 105 return SkSurface::MakeRenderTarget(fDevice->recordingContext(), kBudgeted, info, sampleCount, in onNewSurface() 115 auto rContext = fDevice->recordingContext(); in onNewImageSnapshot() 213 auto dContext = fDevice->recordingContext()->asDirectContext(); in onFlush() 229 auto direct = fDevice->recordingContext()->asDirectContext(); in onCharacterize() 280 auto surfaceContext = fDevice->recordingContext(); in onDraw() 281 auto canvasContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() 308 auto direct = fDevice->recordingContext()->asDirectContext(); in onIsCompatible() 381 auto direct = fDevice->recordingContext()->asDirectContext(); in onDraw() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 77 auto dContext = GrAsDirectContext(fDevice->recordingContext()); in flush() 97 auto direct = fDevice->recordingContext()->asDirectContext(); in characterize() 137 auto dContext = fDevice->recordingContext()->asDirectContext(); in isCompatible() 197 auto direct = fDevice->recordingContext()->asDirectContext();
|
/third_party/skia/docs/examples/ |
D | blur4444.cpp | 24 if (canvas->recordingContext() && !forceRaster) { in draw() 25 surf = SkSurface::MakeRenderTarget(canvas->recordingContext(), SkBudgeted::kNo, ii); in draw()
|
/third_party/skia/include/utils/ |
D | SkPaintFilterCanvas.h | 34 GrRecordingContext* recordingContext() override { return proxy()->recordingContext(); } in recordingContext() function
|
/third_party/skia/modules/svg/src/ |
D | SkSVGPattern.cpp | 109 SkSVGRenderContext recordingContext(ctx, recorder.beginRecording(tile)); in onAsPaint() local 112 contentNode->SkSVGContainer::onRender(recordingContext); in onAsPaint()
|
/third_party/skia/tests/ |
D | GrTextureMipMapInvalidationTest.cpp | 28 surf->recordingContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 37 surf->recordingContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|