Home
last modified time | relevance | path

Searched refs:getGpu (Results 1 – 25 of 69) sorted by relevance

123

/third_party/skia/tests/
DSkSLDSLTest.cpp108 Start(ctxInfo.directContext()->priv().getGpu()->shaderCompiler()); in StartDSL()
112 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
160 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), no_mark_vars_declared()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
170 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), settings, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
178 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), SkSL::ProgramSettings()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
185 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
245 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
297 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
334 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
374 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
DTraceMemoryDumpTest.cpp81 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
91 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
108 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
128 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
167 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkWrapTests.cpp35 GrGpu* gpu = dContext->priv().getGpu(); in wrap_tex_test()
96 GrGpu* gpu = dContext->priv().getGpu(); in wrap_rt_test()
141 GrGpu* gpu = dContext->priv().getGpu(); in wrap_trt_test()
DSurfaceSemaphoreTest.cpp139 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->priv().getGpu()); in surface_semaphore_test()
257 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctx->priv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
269 GrVkGpu* gpu = static_cast<GrVkGpu*>(ctx->priv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextureBindingsResetTest.cpp22 GrGpu* gpu = dContext->priv().getGpu(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
23 GrGLGpu* glGpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp390 auto gpuWriteResult = dContext->priv().getGpu()->writePixels( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
410 auto gpuCopyResult = dContext->priv().getGpu()->copySurface( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
430 dContext->priv().getGpu()->regenerateMipMapLevels(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp72 auto* gpu = context->priv().getGpu(); in read_pixels_from_texture()
123 GrGpu* gpu = dContext->priv().getGpu(); in basic_transfer_to_test()
291 GrGpu* gpu = context->priv().getGpu(); in basic_transfer_from_test()
DSkSLDSLErrorLineNumbers.cpp57 Start(ctxInfo.directContext()->priv().getGpu()->shaderCompiler()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
DGrOpListFlushTest.cpp31 GrGpu* gpu = context->priv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProgramsTest.cpp334 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->priv().getGpu()); in get_programs_max_stages()
372 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctxInfo.directContext()->priv().getGpu()); in get_programs_max_levels()
/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.cpp19 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
150 const GrCaps& caps = *this->getGpu()->caps(); in ensureDynamicMSAAAttachment()
201 this->getGpu()->caps()->internalMultisampleCount(this->backendFormat()); in bindInternal()
312 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
317 SkASSERT(!this->getGpu()->getContext()->priv().caps()->avoidStencilBuffers()); in canAttemptStencilAttachment()
DGrGLTextureRenderTarget.cpp58 SkASSERT(!this->getGpu()->getContext()->priv().caps()->avoidStencilBuffers()); in canAttemptStencilAttachment()
/third_party/skia/tools/gpu/
DBackendSurfaceFactory.cpp78 auto bert = dContext->priv().getGpu()->createTestingOnlyBackendRenderTarget( in MakeBackendRenderTargetSurface()
85 if (auto gpu = rc->fContext->priv().getGpu(); gpu && rc->fRenderTarget.isValid()) { in MakeBackendRenderTargetSurface()
/third_party/skia/src/gpu/
DGrTexture.cpp90 if (!this->getGpu()->caps()->isFormatCompressed(this->backendFormat())) { in computeScratchKey()
98 ComputeScratchKey(*this->getGpu()->caps(), this->backendFormat(), this->dimensions(), in computeScratchKey()
DGrDirectContextPriv.h87 GrGpu* getGpu() { return this->context()->fGpu.get(); } in getGpu() function
88 const GrGpu* getGpu() const { return this->context()->fGpu.get(); } in getGpu() function
DGrAHardwareBufferUtils.cpp107 GrVkGpu* gpu = static_cast<GrVkGpu*>(dContext->priv().getGpu()); in GetBackendFormat()
311 GrVkGpu* gpu = static_cast<GrVkGpu*>(dContext->priv().getGpu()); in make_vk_backend_texture()
529 return static_cast<GrVkGpu*>(dContext->priv().getGpu())->protectedContext(); in can_import_protected_content()
DGrDrawingManager.cpp137 GrGpu* gpu = dContext->priv().getGpu(); in flush()
267 GrGpu* gpu = direct->priv().getGpu(); in submitToGpu()
422 dContext->priv().getGpu()->stats()->incNumReorderedDAGsOverBudget(); in reorderTasks()
526 GrGpu* gpu = direct->priv().getGpu(); in flushSurfaces()
DGrDirectContext.cpp580 GrGpu* gpu = dContext->priv().getGpu(); in create_and_clear_backend_texture()
587 if (!dContext->priv().getGpu()->clearBackendTexture(beTex, in create_and_clear_backend_texture()
826 GrGpu* gpu = dContext->priv().getGpu(); in create_and_update_compressed_backend_texture()
834 if (!dContext->priv().getGpu()->updateCompressedBackendTexture( in create_and_update_compressed_backend_texture()
/third_party/skia/src/gpu/mock/
DGrMockOpTarget.h23 fStaticVertexBuffer = fMockContext->priv().getGpu()->createBuffer( in GrMockOpTarget()
25 fStaticIndirectBuffer = fMockContext->priv().getGpu()->createBuffer( in GrMockOpTarget()
DGrMockBuffer.h25 if (GrCaps::kNone_MapFlags != this->getGpu()->caps()->mapBufferFlags()) { in onMap()
/third_party/skia/bench/
DGrResourceCacheBench.cpp85 GrGpu* gpu = context->priv().getGpu(); in onDraw()
131 GrGpu* gpu = fContext->priv().getGpu(); in onDelayedSetup()
/third_party/skia/src/gpu/d3d/
DGrD3DBuffer.h54 return reinterpret_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
DGrD3DAttachment.cpp83 return static_cast<GrD3DGpu*>(this->getGpu()); in getD3DGpu()
/third_party/skia/src/gpu/dawn/
DGrDawnAttachment.cpp57 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()
DGrDawnTexture.cpp99 return static_cast<GrDawnGpu*>(this->getGpu()); in getDawnGpu()

123