Home
last modified time | relevance | path

Searched refs:GrGpu (Results 1 - 25 of 70) sorted by relevance

123

/third_party/skia/src/gpu/
H A DGrGpu.cpp9 #include "src/gpu/GrGpu.h"
38 GrGpu::GrGpu(GrDirectContext* direct) : fResetBits(kAll_GrBackendState), fContext(direct) {} in GrGpu() function in GrGpu
40 GrGpu::~GrGpu() { in ~GrGpu()
44 void GrGpu::initCapsAndCompiler(sk_sp<const GrCaps> caps) { in initCapsAndCompiler()
49 void GrGpu::disconnect(DisconnectType type) {} in disconnect()
98 sk_sp<GrTexture> GrGpu::createTextureCommon(SkISize dimensions, in createTextureCommon()
108 // Call GrGpu::createCompressedTexture. in createTextureCommon()
152 sk_sp<GrTexture> GrGpu
[all...]
H A DGrBufferAllocPool.h20 class GrGpu;
23 * A pool of geometry buffers tied to a GrGpu.
80 * @param gpu The GrGpu used to create the buffers.
86 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache);
164 GrGpu* fGpu;
177 * @param gpu The GrGpu used to create the vertex buffers.
182 GrVertexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);
256 * @param gpu The GrGpu used to create the index buffers.
261 GrIndexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);
320 GrDrawIndirectBufferAllocPool(GrGpu* gp
[all...]
H A DGrRingBuffer.h15 class GrGpu;
25 GrRingBuffer(GrGpu* gpu, size_t size, size_t alignment, GrGpuBufferType intendedType) in GrRingBuffer()
46 void startSubmit(GrGpu*);
59 GrGpu* fGpu;
H A DGrFinishCallbacks.h16 class GrGpu;
24 GrFinishCallbacks(GrGpu* gpu);
60 GrGpu* fGpu;
H A DGrStagingBufferManager.h15 class GrGpu;
19 GrStagingBufferManager(GrGpu* gpu) : fGpu(gpu) {} in GrStagingBufferManager()
33 // the virtual GrGpu::takeOwnershipOfBuffer on each buffer. This is called during
64 GrGpu* fGpu;
H A DGrGpuResource.h16 class GrGpu;
329 GrGpuResource(GrGpu*);
332 GrGpu* getGpu() const { return fGpu; } in getGpu()
396 friend class GrGpu; // for assert in GrGpu to access getGpu
411 // This is not ref'ed but abandon() or release() will be called before the GrGpu object
413 GrGpu* fGpu;
H A DGrResourceProvider.h20 class GrGpu;
42 GrResourceProvider(GrGpu*, GrResourceCache*, GrSingleOwner*);
127 * Creates a compressed texture. The GrGpu must support the SkImageImage::Compression type.
393 GrGpu* gpu() { return fGpu; } in gpu()
394 const GrGpu* gpu() const { return fGpu; } in gpu()
411 GrGpu* fGpu;
H A DGrGpuBuffer.h14 class GrGpu;
84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
H A DGrOpFlushState.h22 class GrGpu;
32 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*,
54 GrGpu* gpu() { return fGpu; } in gpu()
314 GrGpu* fGpu;
H A DGrDirectContextPriv.h87 GrGpu* getGpu() { return this->context()->fGpu.get(); } in getGpu()
88 const GrGpu* getGpu() const { return this->context()->fGpu.get(); } in getGpu()
H A DGrOpsRenderPass.h17 class GrGpu;
169 virtual GrGpu* gpu() = 0;
H A DGrSemaphore.h26 friend class GrGpu; // for setIsOwned
27 // This is only used in GrGpu to handle the case where we created a semaphore that was meant to
H A DGrResourceProviderPriv.h18 GrGpu* gpu() { return fResourceProvider->gpu(); } in gpu()
H A DGrGpuResource.cpp11 #include "src/gpu/GrGpu.h"
17 static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { in get_resource_cache()
24 GrGpuResource::GrGpuResource(GrGpu* gpu) : fGpu(gpu), fUniqueID(CreateUniqueID()) { in GrGpuResource()
/third_party/skia/bench/
H A DGrResourceCacheBench.cpp13 #include "src/gpu/GrGpu.h"
24 BenchResource (GrGpu* gpu) in BenchResource()
43 static void populate_cache(GrGpu* gpu, int resourceCount, int keyData32Count) { in populate_cache()
85 GrGpu* gpu = context->priv().getGpu();
131 GrGpu* gpu = fContext->priv().getGpu();
/third_party/skia/src/gpu/mtl/
H A DGrMtlTrampoline.h15 class GrGpu;
25 static sk_sp<GrGpu> MakeGpu(const GrMtlBackendContext&, const GrContextOptions&,
H A DGrMtlGpu.h16 #include "src/gpu/GrGpu.h"
36 class GrMtlGpu : public GrGpu {
38 static sk_sp<GrGpu> Make(const GrMtlBackendContext&, const GrContextOptions&, GrDirectContext*);
319 using INHERITED = GrGpu;
/third_party/skia/src/gpu/ops/
H A DDashLinePathRenderer.h13 class GrGpu;
32 sk_sp<GrGpu> fGpu;
/third_party/skia/tests/
H A DResourceCacheTest.cpp15 #include "src/gpu/GrGpu.h"
186 GrGpu* gpu = context->priv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
244 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource()
254 static TestResource* CreateScratch(GrGpu* gpu, SkBudgeted budgeted, in CreateScratch()
258 static TestResource* CreateWrapped(GrGpu* gpu, GrWrapCacheable cacheable, in CreateWrapped()
287 TestResource(GrGpu* gpu, SkBudgeted budgeted, SimulatedProperty property, ScratchConstructor, in TestResource()
299 TestResource(GrGpu* gpu, GrWrapCacheable cacheable, size_t size) in TestResource()
339 GrGpu* gpu() { return fDContext->priv().getGpu(); } in gpu()
353 GrGpu* gpu = mock.gpu(); in test_no_key()
406 GrGpu* gp in test_purge_unlocked()
[all...]
H A 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()
H A DProxyConversionTest.cpp15 #include "src/gpu/GrGpu.h"
24 GrGpu* gpu, in make_wrapped_rt()
32 void clean_up_wrapped_rt(GrGpu* gpu, sk_sp<GrSurfaceProxy> proxy) { in clean_up_wrapped_rt()
61 GrGpu* gpu = context->priv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/gl/
H A DGrGLAttachment.h28 static sk_sp<GrGLAttachment> MakeWrappedRenderBuffer(GrGpu* gpu, in MakeWrappedRenderBuffer()
53 GrGLAttachment(GrGpu* gpu, in GrGLAttachment()
/third_party/skia/src/gpu/mock/
H A DGrMockGpu.h12 #include "src/gpu/GrGpu.h"
21 class GrMockGpu : public GrGpu {
23 static sk_sp<GrGpu> Make(const GrMockOptions*, const GrContextOptions&, GrDirectContext*);
230 using INHERITED = GrGpu;
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.h12 #include "src/gpu/GrGpu.h"
28 class GrD3DGpu : public GrGpu {
30 static sk_sp<GrGpu> Make(const GrD3DBackendContext& backendContext, const GrContextOptions&,
331 using INHERITED = GrGpu;
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.h11 #include "src/gpu/GrGpu.h"
29 class GrDawnGpu : public GrGpu {
31 static sk_sp<GrGpu> Make(const wgpu::Device&, const GrContextOptions&, GrDirectContext*);
261 using INHERITED = GrGpu;

Completed in 12 milliseconds

123