/external/skqp/src/gpu/ |
D | GrGpu.cpp | 35 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 …]
|
D | GrSemaphore.h | 14 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;
|
D | GrBufferAllocPool.h | 17 class GrGpu; variable 59 GrBufferAllocPool(GrGpu* gpu, 139 GrGpu* fGpu; 159 GrVertexBufferAllocPool(GrGpu* gpu); 235 GrIndexBufferAllocPool(GrGpu* gpu);
|
D | GrGpu.h | 45 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 …]
|
D | GrBuffer.h | 13 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);
|
D | GrRenderTarget.cpp | 21 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()
|
D | GrResourceProvider.h | 20 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;
|
D | GrOpFlushState.h | 19 class GrGpu; variable 27 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*); 45 GrGpu* gpu() { return fGpu; } in gpu() 138 GrGpu* fGpu;
|
D | GrBuffer.cpp | 12 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()
|
D | GrOpFlushState.cpp | 17 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()
|
D | GrContext.cpp | 97 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/ |
D | GrGpu.cpp | 35 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 …]
|
D | GrSemaphore.h | 14 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;
|
D | GrGpu.h | 45 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 …]
|
D | GrBufferAllocPool.h | 17 class GrGpu; variable 59 GrBufferAllocPool(GrGpu* gpu, 139 GrGpu* fGpu; 159 GrVertexBufferAllocPool(GrGpu* gpu); 235 GrIndexBufferAllocPool(GrGpu* gpu);
|
D | GrBuffer.h | 13 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);
|
D | GrResourceProvider.h | 21 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;
|
D | GrOpFlushState.h | 19 class GrGpu; variable 27 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*); 45 GrGpu* gpu() { return fGpu; } in gpu() 144 GrGpu* fGpu;
|
D | GrBuffer.cpp | 12 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()
|
D | GrOpFlushState.cpp | 18 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/ |
D | GrGpuResource.h | 15 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/ |
D | GrGpuResource.h | 15 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/ |
D | GrMockGpu.h | 21 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/ |
D | GrResourceCacheBench.cpp | 26 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/ |
D | GrMockGpu.h | 21 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;
|