• 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, int left, int top, int width, int height, in onWritePixels()
197 bool GrDawnGpu::onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height, in onTransferPixelsTo()
205 bool GrDawnGpu::onTransferPixelsFrom(GrSurface* surface, int left, int top, int width, int height, in onTransferPixelsFrom()
213 sk_sp<GrTexture> GrDawnGpu::onCreateTexture(SkISize dimensions, in onCreateTexture()
237 sk_sp<GrTexture> GrDawnGpu::onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat&, in onCreateCompressedTexture()
244 sk_sp<GrTexture> GrDawnGpu::onWrapBackendTexture(const GrBackendTexture& backendTex, in onWrapBackendTexture()
258 sk_sp<GrTexture> GrDawnGpu::onWrapCompressedBackendTexture(const GrBackendTexture& backendTex, in onWrapCompressedBackendTexture()
264 sk_sp<GrTexture> GrDawnGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture()
285 sk_sp<GrRenderTarget> GrDawnGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) { in onWrapBackendRenderTarget()
296 sk_sp<GrAttachment> GrDawnGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/, in makeStencilAttachment()
302 GrBackendTexture GrDawnGpu::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture()
342 void GrDawnGpu::uploadTextureData(GrColorType srcColorType, const GrMipLevel texels[], in uploadTextureData()
381 bool GrDawnGpu::onClearBackendTexture(const GrBackendTexture& backendTexture, in onClearBackendTexture()
435 GrBackendTexture GrDawnGpu::onCreateCompressedBackendTexture( in onCreateCompressedBackendTexture()
440 bool GrDawnGpu::onUpdateCompressedBackendTexture(const GrBackendTexture&, in onUpdateCompressedBackendTexture()
447 void GrDawnGpu::deleteBackendTexture(const GrBackendTexture& tex) { in deleteBackendTexture()
454 bool GrDawnGpu::compile(const GrProgramDesc&, const GrProgramInfo&) { in compile()
459 bool GrDawnGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
468 GrBackendRenderTarget GrDawnGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions, in createTestingOnlyBackendRenderTarget()
511 void GrDawnGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) { in deleteTestingOnlyBackendRenderTarget()
520 void GrDawnGpu::addFinishedProc(GrGpuFinishedProc finishedProc, in addFinishedProc()
525 void GrDawnGpu::checkForCompletedStagingBuffers() { in checkForCompletedStagingBuffers()
533 void GrDawnGpu::waitOnAllBusyStagingBuffers() { in waitOnAllBusyStagingBuffers()
540 void GrDawnGpu::takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) { in takeOwnershipOfBuffer()
549 bool GrDawnGpu::onSubmitToGpu(bool syncCpu) { in onSubmitToGpu()
579 bool GrDawnGpu::onCopySurface(GrSurface* dst, in onCopySurface()
606 bool GrDawnGpu::onReadPixels(GrSurface* surface, int left, int top, int width, int height, in onReadPixels()
661 bool GrDawnGpu::onRegenerateMipMapLevels(GrTexture* tex) { in onRegenerateMipMapLevels()
791 void GrDawnGpu::submit(GrOpsRenderPass* renderPass) { in submit()
796 GrFence SK_WARN_UNUSED_RESULT GrDawnGpu::insertFence() { in insertFence()
802 bool GrDawnGpu::waitFence(GrFence fence) { in waitFence()
806 void GrDawnGpu::deleteFence(GrFence fence) const { in deleteFence()
810 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrDawnGpu::makeSemaphore(bool isOwned) { in makeSemaphore()
815 std::unique_ptr<GrSemaphore> GrDawnGpu::wrapBackendSemaphore( in wrapBackendSemaphore()
823 void GrDawnGpu::insertSemaphore(GrSemaphore* semaphore) { in insertSemaphore()
827 void GrDawnGpu::waitSemaphore(GrSemaphore* semaphore) { in waitSemaphore()
831 void GrDawnGpu::checkFinishProcs() { in checkFinishProcs()
835 void GrDawnGpu::finishOutstandingGpuWork() { in finishOutstandingGpuWork()
839 std::unique_ptr<GrSemaphore> GrDawnGpu::prepareTextureForCrossContextUsage(GrTexture* texture) { in prepareTextureForCrossContextUsage()
844 sk_sp<GrDawnProgram> GrDawnGpu::getOrCreateRenderPipeline( in getOrCreateRenderPipeline()
869 wgpu::Sampler GrDawnGpu::getOrCreateSampler(GrSamplerState samplerState) { in getOrCreateSampler()
885 GrDawnRingBuffer::Slice GrDawnGpu::allocateUniformRingBufferSlice(int size) { in allocateUniformRingBufferSlice()
889 void GrDawnGpu::appendCommandBuffer(wgpu::CommandBuffer commandBuffer) { in appendCommandBuffer()
895 wgpu::CommandEncoder GrDawnGpu::getCopyEncoder() { in getCopyEncoder()
902 void GrDawnGpu::flushCopyEncoder() { in flushCopyEncoder()
909 void GrDawnGpu::moveStagingBuffersToBusyAndMapAsync() { in moveStagingBuffersToBusyAndMapAsync()
918 SkSL::String GrDawnGpu::SkSLToSPIRV(const char* shaderString, SkSL::ProgramKind kind, bool flipY, in SkSLToSPIRV()
945 wgpu::ShaderModule GrDawnGpu::createShaderModule(const SkSL::String& spirvSource) { in createShaderModule()