• Home
  • Raw
  • Download

Lines Matching refs:GrDawnGpu

111 sk_sp<GrGpu> GrDawnGpu::Make(const wgpu::Device& device,  in Make()
117 return sk_sp<GrGpu>(new GrDawnGpu(direct, options, device)); in Make()
122 GrDawnGpu::GrDawnGpu(GrDirectContext* direct, const GrContextOptions& options, in GrDawnGpu() function in GrDawnGpu
134 GrDawnGpu::~GrDawnGpu() { this->finishOutstandingGpuWork(); } in ~GrDawnGpu()
136 void GrDawnGpu::disconnect(DisconnectType type) { in disconnect()
146 GrThreadSafePipelineBuilder* GrDawnGpu::pipelineBuilder() { in pipelineBuilder()
150 sk_sp<GrThreadSafePipelineBuilder> GrDawnGpu::refPipelineBuilder() { in refPipelineBuilder()
156 GrOpsRenderPass* GrDawnGpu::onGetOpsRenderPass( in onGetOpsRenderPass()
171 sk_sp<GrGpuBuffer> GrDawnGpu::onCreateBuffer(size_t size, GrGpuBufferType type, in onCreateBuffer()
181 bool GrDawnGpu::onWritePixels(GrSurface* surface, in onWritePixels()
199 bool GrDawnGpu::onTransferPixelsTo(GrTexture* texture, in onTransferPixelsTo()
210 bool GrDawnGpu::onTransferPixelsFrom(GrSurface* surface, in onTransferPixelsFrom()
221 sk_sp<GrTexture> GrDawnGpu::onCreateTexture(SkISize dimensions, in onCreateTexture()
245 sk_sp<GrTexture> GrDawnGpu::onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat&, in onCreateCompressedTexture()
252 sk_sp<GrTexture> GrDawnGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
266 sk_sp<GrTexture> GrDawnGpu::onWrapCompressedBackendTexture(const GrBackendTexture& backendTex, in onWrapCompressedBackendTexture()
272 sk_sp<GrTexture> GrDawnGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture()
293 sk_sp<GrRenderTarget> GrDawnGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) { in onWrapBackendRenderTarget()
304 sk_sp<GrAttachment> GrDawnGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, in makeStencilAttachment()
310 GrBackendTexture GrDawnGpu::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture()
348 void GrDawnGpu::uploadTextureData(GrColorType srcColorType, const GrMipLevel texels[], in uploadTextureData()
387 bool GrDawnGpu::onClearBackendTexture(const GrBackendTexture& backendTexture, in onClearBackendTexture()
441 GrBackendTexture GrDawnGpu::onCreateCompressedBackendTexture( in onCreateCompressedBackendTexture()
446 bool GrDawnGpu::onUpdateCompressedBackendTexture(const GrBackendTexture&, in onUpdateCompressedBackendTexture()
453 void GrDawnGpu::deleteBackendTexture(const GrBackendTexture& tex) { in deleteBackendTexture()
460 bool GrDawnGpu::compile(const GrProgramDesc&, const GrProgramInfo&) { in compile()
465 bool GrDawnGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
474 GrBackendRenderTarget GrDawnGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions, in createTestingOnlyBackendRenderTarget()
517 void GrDawnGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) { in deleteTestingOnlyBackendRenderTarget()
526 void GrDawnGpu::addFinishedProc(GrGpuFinishedProc finishedProc, in addFinishedProc()
531 void GrDawnGpu::checkForCompletedStagingBuffers() { in checkForCompletedStagingBuffers()
539 void GrDawnGpu::waitOnAllBusyStagingBuffers() { in waitOnAllBusyStagingBuffers()
546 void GrDawnGpu::takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) { in takeOwnershipOfBuffer()
555 bool GrDawnGpu::onSubmitToGpu(bool syncCpu) { in onSubmitToGpu()
585 bool GrDawnGpu::onCopySurface(GrSurface* dst, in onCopySurface()
612 bool GrDawnGpu::onReadPixels(GrSurface* surface, in onReadPixels()
670 bool GrDawnGpu::onRegenerateMipMapLevels(GrTexture* tex) { in onRegenerateMipMapLevels()
803 void GrDawnGpu::submit(GrOpsRenderPass* renderPass) { in submit()
808 GrFence SK_WARN_UNUSED_RESULT GrDawnGpu::insertFence() { in insertFence()
812 bool GrDawnGpu::waitFence(GrFence fence) { in waitFence()
816 void GrDawnGpu::deleteFence(GrFence fence) const { in deleteFence()
820 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrDawnGpu::makeSemaphore(bool isOwned) { in makeSemaphore()
825 std::unique_ptr<GrSemaphore> GrDawnGpu::wrapBackendSemaphore(const GrBackendSemaphore& /* sema */, in wrapBackendSemaphore()
832 void GrDawnGpu::insertSemaphore(GrSemaphore* semaphore) { in insertSemaphore()
836 void GrDawnGpu::waitSemaphore(GrSemaphore* semaphore) { in waitSemaphore()
840 void GrDawnGpu::checkFinishProcs() { in checkFinishProcs()
844 void GrDawnGpu::finishOutstandingGpuWork() { in finishOutstandingGpuWork()
848 std::unique_ptr<GrSemaphore> GrDawnGpu::prepareTextureForCrossContextUsage(GrTexture* texture) { in prepareTextureForCrossContextUsage()
853 sk_sp<GrDawnProgram> GrDawnGpu::getOrCreateRenderPipeline( in getOrCreateRenderPipeline()
878 wgpu::Sampler GrDawnGpu::getOrCreateSampler(GrSamplerState samplerState) { in getOrCreateSampler()
894 GrDawnRingBuffer::Slice GrDawnGpu::allocateUniformRingBufferSlice(int size) { in allocateUniformRingBufferSlice()
898 void GrDawnGpu::appendCommandBuffer(wgpu::CommandBuffer commandBuffer) { in appendCommandBuffer()
904 wgpu::CommandEncoder GrDawnGpu::getCopyEncoder() { in getCopyEncoder()
911 void GrDawnGpu::flushCopyEncoder() { in flushCopyEncoder()
918 void GrDawnGpu::moveStagingBuffersToBusyAndMapAsync() { in moveStagingBuffersToBusyAndMapAsync()
927 SkSL::String GrDawnGpu::SkSLToSPIRV(const char* shaderString, in SkSLToSPIRV()
955 wgpu::ShaderModule GrDawnGpu::createShaderModule(const SkSL::String& spirvSource) { in createShaderModule()