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

123

/external/skia/src/gpu/
H A DGrGpuFactory.h13 class GrGpu;
17 typedef GrGpu* (*CreateGpuProc)(GrBackendContext, const GrContextOptions& options, GrContext*);
H A DGrGpuFactory.cpp12 #include "GrGpu.h"
19 extern GrGpu* vk_gpu_create(GrBackendContext backendContext, const GrContextOptions& options,
28 GrGpu* GrGpu::Create(GrBackend backend,
H A DGrBufferAllocPool.h16 class GrGpu;
19 * A pool of geometry buffers tied to a GrGpu.
62 * @param gpu The GrGpu used to create the buffers.
68 GrBufferAllocPool(GrGpu* gpu,
116 GrGpu* fGpu;
136 * @param gpu The GrGpu used to create the vertex buffers.
138 GrVertexBufferAllocPool(GrGpu* gpu);
180 * @param gpu The GrGpu used to create the index buffers.
182 GrIndexBufferAllocPool(GrGpu* gpu);
H A DGrGpu.cpp9 #include "GrGpu.h"
46 GrGpu::GrGpu(GrContext* context) function in class:GrGpu
52 GrGpu::~GrGpu() {}
54 void GrGpu::contextAbandoned() {}
58 bool GrGpu::makeCopyForTextureParams(int width, int height, const GrTextureParams& textureParams,
91 GrTexture* GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted,
161 GrTexture* GrGpu::wrapBackendTexture(const GrBackendTextureDesc& desc, GrWrapOwnership ownership) {
188 GrRenderTarget* GrGpu
[all...]
H A DGrGpu.h39 class GrGpu : public SkRefCnt { class in inherits:SkRefCnt
42 * Create an instance of GrGpu that matches the specified backend. If the requested backend is
44 * fully constructed and should not be used by GrGpu until after this function returns.
46 static GrGpu* Create(GrBackend, GrBackendContext, const GrContextOptions&, GrContext* context);
50 GrGpu(GrContext* context);
51 ~GrGpu() override;
64 // GrGpu should use this to ensure that no backend API calls will be made from
70 * The GrGpu object normally assumes that no outsider is setting state
72 * the GrGpu that the state was modified and it shouldn't make assumptions
157 /** If the GrGpu i
[all...]
H A DGrBatchFlushState.cpp13 GrBatchFlushState::GrBatchFlushState(GrGpu* gpu, GrResourceProvider* resourceProvider)
H A DGrTransferBuffer.h59 GrTransferBuffer(GrGpu* gpu, size_t gpuMemorySize)
H A DGrVertexBuffer.h28 GrVertexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked)
H A DGrGeometryBuffer.h15 class GrGpu;
102 GrGeometryBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked)
H A DGrPathRange.cpp11 GrPathRange::GrPathRange(GrGpu* gpu,
21 GrPathRange::GrPathRange(GrGpu* gpu,
H A DGrBatchFlushState.h19 TextureUploader(GrGpu* gpu) : fGpu(gpu) { SkASSERT(gpu); }
41 GrGpu* fGpu;
47 GrBatchFlushState(GrGpu*, GrResourceProvider*);
100 GrGpu* gpu() { return fGpu; }
108 GrGpu* fGpu;
H A DGrPathRendering.h12 #include "GrGpu.h"
28 * API state. Similar to GrGpu.
31 * interface (eg. * the concrete instance of GrGpu subclass) should be provided to the instance
155 struct DrawPathArgs : public GrGpu::DrawArgs {
190 GrPathRendering(GrGpu* gpu)
198 GrGpu* fGpu;
H A DGrIndexBuffer.h37 GrIndexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked)
H A DGrPath.h22 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStrokeInfo& stroke)
H A DGrContext.cpp74 fGpu = GrGpu::Create(backend, backendContext, options, this);
248 // necessary and because GrGpu::getWritePixelsInfo requires it.
263 GrGpu::DrawPreference drawPreference = GrGpu::kNoDraw_DrawPreference;
267 drawPreference = GrGpu::kCallerPrefersDraw_DrawPreference;
270 GrGpu::WritePixelTempDrawInfo tempDrawInfo;
281 if (GrGpu::kNoDraw_DrawPreference != drawPreference) {
284 if (!tempTexture && GrGpu::kRequireDraw_DrawPreference == drawPreference) {
300 if (GrGpu::kCallerPrefersDraw_DrawPreference == drawPreference) {
401 GrGpu
[all...]
H A DGrPathRange.h62 GrPathRange(GrGpu*, PathGenerator*);
68 GrPathRange(GrGpu*, int numPaths);
/external/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.h12 #include "GrGpu.h"
22 GrGpu::Stats*);
/external/skia/src/gpu/batches/
H A DGrDashLinePathRenderer.h24 SkAutoTUnref<GrGpu> fGpu;
H A DGrStencilAndCoverPathRenderer.h15 class GrGpu;
18 * Uses GrGpu::stencilPath followed by a cover rectangle. This subclass doesn't apply AA; it relies
/external/skia/include/gpu/
H A DGrTextureProvider.h106 GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner);
147 GrGpu* gpu() { return fGpu; }
148 const GrGpu* gpu() const { return fGpu; }
157 GrGpu* fGpu;
H A DGrGpuResource.h16 class GrGpu;
268 GrGpuResource(GrGpu*, LifeCycle);
271 GrGpu* getGpu() const { return fGpu; }
323 friend class GrGpu; // for assert in GrGpu to access getGpu
339 // This is not ref'ed but abandon() or release() will be called before the GrGpu object
341 GrGpu* fGpu;
H A DGrTexture.h48 GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&);
H A DGrContext.h31 class GrGpu;
316 GrGpu* getGpu() { return fGpu; }
317 const GrGpu* getGpu() const { return fGpu; }
362 GrGpu* fGpu;
/external/skia/src/gpu/gl/
H A DGrGLTexture.h12 #include "GrGpu.h"
42 const TexParams& getCachedTexParams(GrGpu::ResetTimestamp* timestamp) const {
48 GrGpu::ResetTimestamp timestamp) {
73 GrGpu::ResetTimestamp fTexParamsTimestamp;
/external/skia/bench/
H A DGrResourceCacheBench.cpp16 #include "GrGpu.h"
26 BenchResource (GrGpu* gpu)
44 static void populate_cache(GrGpu* gpu, int resourceCount, int keyData32Count) {
86 GrGpu* gpu = context->getGpu();
132 GrGpu* gpu = fContext->getGpu();

Completed in 2505 milliseconds

123