/external/skia/src/gpu/ |
H A D | GrAAHairLinePathRenderer.cpp | 149 GrGpu* gpu = context->getGpu(); local 150 GrIndexBuffer* qIdxBuf = gpu->createIndexBuffer(kQuadIdxSBufize, false); 155 GrIndexBuffer* lIdxBuf = gpu->createIndexBuffer(kLineSegIdxSBufize, false); 292 // maybe different when do this using gpu (geo or tess shaders)
|
H A D | GrAARectRenderer.cpp | 306 GrIndexBuffer* GrAARectRenderer::aaFillRectIndexBuffer(GrGpu* gpu) { argument 312 fAAFillRectIndexBuffer = gpu->createIndexBuffer(kAAFillRectIndexBufferSize, false); 421 GrIndexBuffer* GrAARectRenderer::aaStrokeRectIndexBuffer(GrGpu* gpu, bool miterStroke) { argument 425 gpu->createIndexBuffer(sizeof(gMiterStrokeAARectIdx), false); 439 gpu->createIndexBuffer(sizeof(gBevelStrokeAARectIdx), false); 453 void GrAARectRenderer::geometryFillAARect(GrGpu* gpu, argument 469 GrIndexBuffer* indexBuffer = this->aaFillRectIndexBuffer(gpu); 602 void GrAARectRenderer::shaderFillAARect(GrGpu* gpu, argument 661 target->setIndexSourceToBuffer(gpu->getContext()->getQuadIndexBuffer()); 666 void GrAARectRenderer::shaderFillAlignedAARect(GrGpu* gpu, argument 724 strokeAARect(GrGpu* gpu, GrDrawTarget* target, const SkRect& rect, const SkMatrix& combinedMatrix, const SkRect& devRect, const SkStrokeRec& stroke, bool useVertexCoverage) argument 793 geometryStrokeAARect(GrGpu* gpu, GrDrawTarget* target, const SkRect& devOutside, const SkRect& devOutsideAssist, const SkRect& devInside, bool useVertexCoverage, bool miterStroke) argument 912 fillAANestedRects(GrGpu* gpu, GrDrawTarget* target, const SkRect rects[2], const SkMatrix& combinedMatrix, bool useVertexCoverage) argument [all...] |
H A D | GrAARectRenderer.h | 42 void fillAARect(GrGpu* gpu, argument 50 this->shaderFillAlignedAARect(gpu, target, 53 this->shaderFillAARect(gpu, target, 57 this->geometryFillAARect(gpu, target, 63 void strokeAARect(GrGpu* gpu, 72 void fillAANestedRects(GrGpu* gpu, 83 GrIndexBuffer* aaFillRectIndexBuffer(GrGpu* gpu); 86 GrIndexBuffer* aaStrokeRectIndexBuffer(GrGpu* gpu, bool miterStroke); 90 void geometryFillAARect(GrGpu* gpu, 97 void shaderFillAARect(GrGpu* gpu, [all...] |
H A D | GrAtlas.cpp | 94 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("skia.gpu"), "GrPlot::uploadToTexture"); 115 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("skia.gpu"), "GrPlot::uploadToTexture"); 149 GrAtlasMgr::GrAtlasMgr(GrGpu* gpu, GrPixelConfig config, argument 152 fGpu = SkRef(gpu);
|
H A D | GrBufferAllocPool.cpp | 26 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, argument 33 SkASSERT(NULL != gpu); 34 fGpu = gpu; 378 GrVertexBufferAllocPool::GrVertexBufferAllocPool(GrGpu* gpu, argument 382 : GrBufferAllocPool(gpu, 437 GrIndexBufferAllocPool::GrIndexBufferAllocPool(GrGpu* gpu, argument 441 : GrBufferAllocPool(gpu,
|
H A D | GrBufferAllocPool.h | 77 * @param gpu The GrGpu used to create the buffers. 90 GrBufferAllocPool(GrGpu* gpu, 191 * @param gpu The GrGpu used to create the vertex buffers. 202 GrVertexBufferAllocPool(GrGpu* gpu, 279 * @param gpu The GrGpu used to create the index buffers. 290 GrIndexBufferAllocPool(GrGpu* gpu,
|
H A D | GrClipMaskManager.cpp | 37 void setup_drawstate_aaclip(GrGpu* gpu, argument 40 GrDrawState* drawState = gpu->drawState(); 64 GrGpu* gpu, 68 // the gpu alpha mask will draw the inverse paths as non-inverse to a temp buffer 78 return NULL == context->getPathRenderer(*path, stroke, gpu, false, type); 86 * entire clip should be rendered in SW and then uploaded en masse to the gpu. 912 // from the stack var to the gpu. We could make this class hold a ptr to 1120 void GrClipMaskManager::setGpu(GrGpu* gpu) { argument 1121 fGpu = gpu; 1122 fAACache.setContext(gpu 63 path_needs_SW_renderer(GrContext* context, GrGpu* gpu, const SkPath& origPath, const SkStrokeRec& stroke, bool doAA) argument [all...] |
H A D | GrClipMaskManager.h | 75 void setGpu(GrGpu* gpu); 139 // or gpu-rendered cases.
|
H A D | GrContext.cpp | 45 SK_CONF_DECLARE(bool, c_Defer, "gpu.deferContext", true, 156 // Since the gpu can hold scratch textures, give it a chance to let go 419 static GrTexture* create_scratch_texture(GrGpu* gpu, argument 422 GrTexture* texture = gpu->createTexture(desc, NULL, 0); 1695 // object (e.g., when uploading a SW path rendering to the gpu while
|
H A D | GrGeometryBuffer.h | 105 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument 106 : INHERITED(gpu, isWrapped)
|
H A D | GrGpuObject.cpp | 13 GrGpuObject::GrGpuObject(GrGpu* gpu, bool isWrapped) { argument 14 fGpu = gpu;
|
H A D | GrInOrderDrawBuffer.cpp | 21 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, argument 24 : GrDrawTarget(gpu->getContext()) 25 , fDstGpu(gpu)
|
H A D | GrInOrderDrawBuffer.h | 40 * @param gpu the gpu object that this draw buffer flushes to. 46 GrInOrderDrawBuffer(GrGpu* gpu,
|
H A D | GrIndexBuffer.h | 27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument 28 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
|
H A D | GrLayerCache.cpp | 44 GrLayerCache::GrLayerCache(GrGpu* gpu) argument 45 : fGpu(SkRef(gpu))
|
H A D | GrOvalRenderer.cpp | 870 GrIndexBuffer* GrOvalRenderer::rRectIndexBuffer(GrGpu* gpu) { argument 873 gpu->createIndexBuffer(sizeof(gRRectIndices), false);
|
H A D | GrOvalRenderer.h | 52 GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu);
|
H A D | GrPath.h | 21 GrPath(GrGpu* gpu, bool isWrapped, const SkPath& skPath, const SkStrokeRec& stroke) argument 22 : INHERITED(gpu, isWrapped),
|
H A D | GrPathRendererChain.cpp | 80 GrGpu* gpu = fOwner->getGpu(); 81 bool twoSided = gpu->caps()->twoSidedStencilSupport(); 82 bool wrapOp = gpu->caps()->stencilWrapOpsSupport();
|
H A D | GrStencilAndCoverPathRenderer.cpp | 27 GrStencilAndCoverPathRenderer::GrStencilAndCoverPathRenderer(GrGpu* gpu) { argument 28 SkASSERT(gpu->caps()->pathRenderingSupport()); 29 fGpu = gpu; 30 gpu->ref();
|
H A D | GrStencilBuffer.h | 56 GrStencilBuffer(GrGpu* gpu, bool isWrapped, int width, int height, int bits, int sampleCnt) argument 57 : GrGpuObject(gpu, isWrapped)
|
H A D | GrTextStrike.cpp | 32 GrFontCache::GrFontCache(GrGpu* gpu) : fGpu(gpu) { argument 33 gpu->ref();
|
H A D | GrTexture.cpp | 169 GrResourceKey::ResourceFlags get_texture_flags(const GrGpu* gpu, argument 174 if (tiled && !gpu->caps()->npotTextureTileSupport()) { 211 GrResourceKey GrTextureImpl::ComputeKey(const GrGpu* gpu, argument 215 GrResourceKey::ResourceFlags flags = get_texture_flags(gpu, params, desc);
|
H A D | GrVertexBuffer.h | 18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument 19 : INHERITED(gpu, isWrapped, gpuMemorySize, dynamic, cpuBacked) {}
|
/external/skia/src/gpu/effects/ |
H A D | GrDashingEffect.cpp | 28 // Returns whether or not the gpu can fast path the dash line effect. 167 const GrStrokeInfo& strokeInfo, GrGpu* gpu, 399 target->setIndexSourceToBuffer(gpu->getContext()->getQuadIndexBuffer()); 166 DrawDashLine(const SkPoint pts[2], const GrPaint& paint, const GrStrokeInfo& strokeInfo, GrGpu* gpu, GrDrawTarget* target, const SkMatrix& vm) argument
|