Home
last modified time | relevance | path

Searched refs:GrGpu (Results 1 – 25 of 166) sorted by relevance

1234567

/external/skqp/src/gpu/
DGrGpu.cpp35 GrGpu::GrGpu(GrContext* context) in GrGpu() function in GrGpu
42 GrGpu::~GrGpu() {} in ~GrGpu()
44 void GrGpu::disconnect(DisconnectType) {} in disconnect()
48 bool GrGpu::isACopyNeededForTextureParams(int width, int height, in isACopyNeededForTextureParams()
125 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted, in createTexture()
167 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture()
171 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex, in wrapBackendTexture()
188 sk_sp<GrTexture> GrGpu::wrapRenderableBackendTexture(const GrBackendTexture& backendTex, in wrapRenderableBackendTexture()
211 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in wrapBackendRenderTarget()
219 sk_sp<GrRenderTarget> GrGpu::wrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in wrapBackendTextureAsRenderTarget()
[all …]
DGrSemaphore.h14 class GrGpu; variable
22 void resetGpu(const GrGpu* gpu) { fGpu = gpu; } in resetGpu()
30 explicit GrSemaphore(const GrGpu* gpu) : fGpu(gpu) {} in GrSemaphore()
32 friend class GrGpu; // setBackendSemaphore variable
36 const GrGpu* fGpu;
DGrBufferAllocPool.h17 class GrGpu; variable
59 GrBufferAllocPool(GrGpu* gpu,
139 GrGpu* fGpu;
159 GrVertexBufferAllocPool(GrGpu* gpu);
235 GrIndexBufferAllocPool(GrGpu* gpu);
DGrGpu.h45 class GrGpu : public SkRefCnt {
52 static sk_sp<GrGpu> Make(GrBackend, GrBackendContext, const GrContextOptions&, GrContext*);
56 GrGpu(GrContext* context);
57 ~GrGpu() override;
522 static void ElevateDrawPreference(GrGpu::DrawPreference* preference, in ElevateDrawPreference()
523 GrGpu::DrawPreference elevation) { in ElevateDrawPreference()
524 GR_STATIC_ASSERT(GrGpu::kCallerPrefersDraw_DrawPreference > GrGpu::kNoDraw_DrawPreference); in ElevateDrawPreference()
525 GR_STATIC_ASSERT(GrGpu::kGpuPrefersDraw_DrawPreference > in ElevateDrawPreference()
526 GrGpu::kCallerPrefersDraw_DrawPreference); in ElevateDrawPreference()
527 GR_STATIC_ASSERT(GrGpu::kRequireDraw_DrawPreference > in ElevateDrawPreference()
[all …]
DGrBuffer.h13 class GrGpu; variable
20 static SK_WARN_UNUSED_RESULT GrBuffer* CreateCPUBacked(GrGpu*, size_t sizeInBytes, GrBufferType,
111 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, GrAccessPattern);
119 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, void* cpuData);
DGrRenderTarget.cpp21 GrRenderTarget::GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, in GrRenderTarget()
97 const GrGpu::MultisampleSpecs&
100 GrGpu* gpu = fRenderTarget->getGpu(); in getMultisampleSpecs()
105 const GrGpu::MultisampleSpecs& specs = gpu->queryMultisampleSpecs(pipeline); in getMultisampleSpecs()
DGrResourceProvider.h20 class GrGpu; variable
42 GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner);
279 GrGpu* gpu() { return fGpu; } in gpu()
280 const GrGpu* gpu() const { return fGpu; } in gpu()
296 GrGpu* fGpu;
DGrOpFlushState.h19 class GrGpu; variable
27 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*);
45 GrGpu* gpu() { return fGpu; } in gpu()
138 GrGpu* fGpu;
DGrBuffer.cpp12 GrBuffer* GrBuffer::CreateCPUBacked(GrGpu* gpu, size_t sizeInBytes, GrBufferType intendedType, in CreateCPUBacked()
27 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, void* cpuData) in GrBuffer()
37 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, GrAccessPattern pattern) in GrBuffer()
DGrOpFlushState.cpp17 GrOpFlushState::GrOpFlushState(GrGpu* gpu, in GrOpFlushState()
85 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference; in doUpload()
86 GrGpu::WritePixelTempDrawInfo tempInfo; in doUpload()
92 if (GrGpu::kNoDraw_DrawPreference == drawPreference) { in doUpload()
DGrContext.cpp97 context->fGpu = GrGpu::Make(backend, backendContext, options, context.get()); in Create()
350 fGpu->disconnect(GrGpu::DisconnectType::kAbandon); in abandonContext()
369 fGpu->disconnect(GrGpu::DisconnectType::kCleanup); in releaseResourcesAndAbandonContext()
545 GrGpu::DrawPreference drawPreference = premulOnGpu ? GrGpu::kCallerPrefersDraw_DrawPreference in writeSurfacePixels()
546 : GrGpu::kNoDraw_DrawPreference; in writeSurfacePixels()
547 GrGpu::WritePixelTempDrawInfo tempDrawInfo; in writeSurfacePixels()
558 if (GrGpu::kNoDraw_DrawPreference != drawPreference) { in writeSurfacePixels()
562 if (!tempProxy && GrGpu::kRequireDraw_DrawPreference == drawPreference) { in writeSurfacePixels()
678 GrGpu::DrawPreference drawPreference = unpremulOnGpu ? GrGpu::kCallerPrefersDraw_DrawPreference in readSurfacePixels()
679 : GrGpu::kNoDraw_DrawPreference; in readSurfacePixels()
[all …]
/external/skia/src/gpu/
DGrGpu.cpp35 GrGpu::GrGpu(GrContext* context) in GrGpu() function in GrGpu
41 GrGpu::~GrGpu() {} in ~GrGpu()
43 void GrGpu::disconnect(DisconnectType) {} in disconnect()
47 bool GrGpu::isACopyNeededForTextureParams(int width, int height, in isACopyNeededForTextureParams()
75 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted, in createTexture()
112 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture()
116 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex, in wrapBackendTexture()
133 sk_sp<GrTexture> GrGpu::wrapRenderableBackendTexture(const GrBackendTexture& backendTex, in wrapRenderableBackendTexture()
156 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) { in wrapBackendRenderTarget()
164 sk_sp<GrRenderTarget> GrGpu::wrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in wrapBackendTextureAsRenderTarget()
[all …]
DGrSemaphore.h14 class GrGpu; variable
22 void resetGpu(const GrGpu* gpu) { fGpu = gpu; } in resetGpu()
30 explicit GrSemaphore(const GrGpu* gpu) : fGpu(gpu) {} in GrSemaphore()
32 friend class GrGpu; // setBackendSemaphore variable
36 const GrGpu* fGpu;
DGrGpu.h45 class GrGpu : public SkRefCnt {
52 static sk_sp<GrGpu> Make(GrBackend, GrBackendContext, const GrContextOptions&, GrContext*);
56 GrGpu(GrContext* context);
57 ~GrGpu() override;
514 static void ElevateDrawPreference(GrGpu::DrawPreference* preference, in ElevateDrawPreference()
515 GrGpu::DrawPreference elevation) { in ElevateDrawPreference()
516 GR_STATIC_ASSERT(GrGpu::kCallerPrefersDraw_DrawPreference > GrGpu::kNoDraw_DrawPreference); in ElevateDrawPreference()
517 GR_STATIC_ASSERT(GrGpu::kGpuPrefersDraw_DrawPreference > in ElevateDrawPreference()
518 GrGpu::kCallerPrefersDraw_DrawPreference); in ElevateDrawPreference()
519 GR_STATIC_ASSERT(GrGpu::kRequireDraw_DrawPreference > in ElevateDrawPreference()
[all …]
DGrBufferAllocPool.h17 class GrGpu; variable
59 GrBufferAllocPool(GrGpu* gpu,
139 GrGpu* fGpu;
159 GrVertexBufferAllocPool(GrGpu* gpu);
235 GrIndexBufferAllocPool(GrGpu* gpu);
DGrBuffer.h13 class GrGpu; variable
20 static SK_WARN_UNUSED_RESULT GrBuffer* CreateCPUBacked(GrGpu*, size_t sizeInBytes, GrBufferType,
111 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, GrAccessPattern);
119 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, void* cpuData);
DGrResourceProvider.h21 class GrGpu; variable
43 GrResourceProvider(GrGpu*, GrResourceCache*, GrSingleOwner*,
286 GrGpu* gpu() { return fGpu; } in gpu()
287 const GrGpu* gpu() const { return fGpu; } in gpu()
303 GrGpu* fGpu;
DGrOpFlushState.h19 class GrGpu; variable
27 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*);
45 GrGpu* gpu() { return fGpu; } in gpu()
144 GrGpu* fGpu;
DGrBuffer.cpp12 GrBuffer* GrBuffer::CreateCPUBacked(GrGpu* gpu, size_t sizeInBytes, GrBufferType intendedType, in CreateCPUBacked()
27 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, void* cpuData) in GrBuffer()
37 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, GrAccessPattern pattern) in GrBuffer()
DGrOpFlushState.cpp18 GrOpFlushState::GrOpFlushState(GrGpu* gpu, in GrOpFlushState()
89 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference; in doUpload()
90 GrGpu::WritePixelTempDrawInfo tempInfo; in doUpload()
95 if (GrGpu::kNoDraw_DrawPreference == drawPreference) { in doUpload()
/external/skqp/include/gpu/
DGrGpuResource.h15 class GrGpu; variable
264 GrGpuResource(GrGpu*);
267 GrGpu* getGpu() const { return fGpu; } in getGpu()
314 friend class GrGpu; // for assert in GrGpu to access getGpu variable
332 GrGpu* fGpu;
/external/skia/include/gpu/
DGrGpuResource.h15 class GrGpu; variable
273 GrGpuResource(GrGpu*);
276 GrGpu* getGpu() const { return fGpu; } in getGpu()
336 friend class GrGpu; // for assert in GrGpu to access getGpu variable
354 GrGpu* fGpu;
/external/skia/src/gpu/mock/
DGrMockGpu.h21 class GrMockGpu : public GrGpu {
23 static sk_sp<GrGpu> Make(GrBackendContext, const GrContextOptions&, GrContext*);
24 static sk_sp<GrGpu> Make(const GrMockOptions*, const GrContextOptions&, GrContext*);
134 typedef GrGpu INHERITED;
/external/skqp/bench/
DGrResourceCacheBench.cpp26 BenchResource (GrGpu* gpu) in BenchResource()
44 static void populate_cache(GrGpu* gpu, int resourceCount, int keyData32Count) { in populate_cache()
86 GrGpu* gpu = context->contextPriv().getGpu(); in onDraw()
132 GrGpu* gpu = fContext->contextPriv().getGpu(); in onDelayedSetup()
/external/skqp/src/gpu/mock/
DGrMockGpu.h21 class GrMockGpu : public GrGpu {
23 static sk_sp<GrGpu> Make(GrBackendContext, const GrContextOptions&, GrContext*);
24 static sk_sp<GrGpu> Make(const GrMockOptions*, const GrContextOptions&, GrContext*);
147 typedef GrGpu INHERITED;

1234567