/external/skia/src/gpu/gl/ |
H A D | GrGLPathRange.cpp | 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const SkStrokeRec& stroke) argument 15 : INHERITED(gpu, pathGenerator, stroke), 16 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())), 21 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, argument 26 : INHERITED(gpu, numPaths, stroke), 33 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); local 34 if (NULL == gpu) { 41 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); 44 GrGLPath::InitPathObject(gpu, fBasePathID + index, skPath, this->getStroke());
|
H A D | GrGLBufferImpl.cpp | 23 GrGLBufferImpl::GrGLBufferImpl(GrGLGpu* gpu, const Desc& desc, GrGLenum bufferType) argument 38 void GrGLBufferImpl::release(GrGLGpu* gpu) { argument 45 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID)); 47 gpu->notifyVertexBufferDelete(fDesc.fID); 50 gpu->notifyIndexBufferDelete(fDesc.fID); 68 void GrGLBufferImpl::bind(GrGLGpu* gpu) const { 71 gpu->bindVertexBuffer(fDesc.fID); 74 gpu->bindIndexBufferAndDefaultVertexArray(fDesc.fID); 79 void* GrGLBufferImpl::map(GrGLGpu* gpu) { argument 85 switch (gpu 136 unmap(GrGLGpu* gpu) argument 163 updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) argument [all...] |
H A D | GrGLBufferImpl.h | 35 void release(GrGLGpu* gpu); 40 void bind(GrGLGpu* gpu) const; 42 void* map(GrGLGpu* gpu); 43 void unmap(GrGLGpu* gpu); 45 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
|
H A D | GrGLTextureRenderTarget.h | 27 GrGLTextureRenderTarget(GrGLGpu* gpu, argument 31 : GrSurface(gpu, texIDDesc.fLifeCycle, desc) 32 , GrGLTexture(gpu, desc, texIDDesc, GrGLTexture::kDerived) 33 , GrGLRenderTarget(gpu, desc, rtIDDesc, GrGLRenderTarget::kDerived) {
|
H A D | GrGLTexture.cpp | 15 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) argument 16 : GrSurface(gpu, idDesc.fLifeCycle, desc) 17 , INHERITED(gpu, idDesc.fLifeCycle, desc) { 22 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) argument 23 : GrSurface(gpu, idDesc.fLifeCycle, desc) 24 , INHERITED(gpu, idDesc.fLifeCycle, desc) {
|
H A D | GrGLVertexArray.cpp | 12 void GrGLAttribArrayState::set(const GrGLGpu* gpu, argument 23 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); 35 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, 50 void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) { argument 55 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); 75 GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { argument 79 gpu->bindVertexArray(fID); 83 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, argument 85 GrGLAttribArrayState* state = this->bind(gpu); 89 GR_GL_CALL(gpu [all...] |
H A D | GrGLIndexBuffer.cpp | 11 GrGLIndexBuffer::GrGLIndexBuffer(GrGLGpu* gpu, const Desc& desc) argument 12 : INHERITED(gpu, desc.fSizeInBytes, desc.fDynamic, 0 == desc.fID) 13 , fImpl(gpu, desc, GR_GL_ELEMENT_ARRAY_BUFFER) {
|
H A D | GrGLVertexBuffer.cpp | 11 GrGLVertexBuffer::GrGLVertexBuffer(GrGLGpu* gpu, const Desc& desc) argument 12 : INHERITED(gpu, desc.fSizeInBytes, desc.fDynamic, 0 == desc.fID) 13 , fImpl(gpu, desc, GR_GL_ARRAY_BUFFER) {
|
H A D | GrGLRenderTarget.cpp | 16 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) argument 17 : GrSurface(gpu, idDesc.fLifeCycle, desc) 18 , INHERITED(gpu, idDesc.fLifeCycle, desc) { 23 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, argument 25 : GrSurface(gpu, idDesc.fLifeCycle, desc) 26 , INHERITED(gpu, idDesc.fLifeCycle, desc) {
|
H A D | GrGLProgramDesc.cpp | 92 const GrGLGpu* gpu, 108 primProc.getGLProcessorKey(batchTracker, *gpu->glCaps().glslCaps(), &b); 110 if (!get_meta_key(primProc, gpu->glCaps(), 0, &b)) { 118 fp.getGLProcessorKey(*gpu->glCaps().glslCaps(), &b); 120 if (!get_meta_key(fp, gpu->glCaps(), primProc.getTransformKey(fp.coordTransforms()), &b)) { 127 xp.getGLProcessorKey(*gpu->glCaps().glslCaps(), &b); 129 if (!get_meta_key(xp, gpu->glCaps(), 0, &b)) { 145 gpu->glCaps()); 89 Build(GrProgramDesc* desc, const GrPrimitiveProcessor& primProc, const GrPipeline& pipeline, const GrGLGpu* gpu, const GrBatchTracker& batchTracker) argument
|
H A D | GrGLStencilAttachment.h | 32 GrGLStencilAttachment(GrGpu* gpu, argument 37 : GrStencilAttachment(gpu, idDesc.fLifeCycle, width, height, format.fStencilBits, sampleCnt)
|
/external/skia/src/gpu/ |
H A D | GrTargetCommands.cpp | 22 GrGpu* gpu = iodb->getGpu(); local 45 gpu->addGpuTraceMarker(&newMarker); 48 iter->execute(gpu); 50 gpu->removeGpuTraceMarker(&newMarker); 57 void GrTargetCommands::StencilPath::execute(GrGpu* gpu) { argument 65 gpu->stencilPath(this->path(), state); 68 void GrTargetCommands::DrawPath::execute(GrGpu* gpu) { argument 70 gpu->buildProgramDesc(&fState->fDesc, *fState->fPrimitiveProcessor, *fState->getPipeline(), 76 gpu->drawPath(args, this->path(), fStencilSettings); 79 void GrTargetCommands::DrawPaths::execute(GrGpu* gpu) { argument 97 execute(GrGpu* gpu) argument 105 execute(GrGpu* gpu) argument 109 execute(GrGpu* gpu) argument 113 execute(GrGpu* gpu) argument [all...] |
H A D | GrIndexBuffer.h | 27 GrIndexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument 28 : INHERITED(gpu, gpuMemorySize, dynamic, cpuBacked) {}
|
H A D | GrVertexBuffer.h | 18 GrVertexBuffer(GrGpu* gpu, size_t gpuMemorySize, bool dynamic, bool cpuBacked) argument 19 : INHERITED(gpu, gpuMemorySize, dynamic, cpuBacked) {}
|
H A D | GrInOrderCommandBuilder.h | 18 GrInOrderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) { } argument
|
H A D | GrPath.h | 23 GrPath(GrGpu* gpu, const SkPath& skPath, const SkStrokeRec& stroke) argument 24 : INHERITED(gpu, kCached_LifeCycle),
|
H A D | GrReorderCommandBuilder.h | 18 GrReorderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) {} argument
|
H A D | GrPathRange.cpp | 15 GrPathRange::GrPathRange(GrGpu* gpu, argument 18 : INHERITED(gpu, kCached_LifeCycle), 27 GrPathRange::GrPathRange(GrGpu* gpu, argument 30 : INHERITED(gpu, kCached_LifeCycle),
|
/external/chromium-trace/trace-viewer/tracing/tracing/ui/extras/chrome/gpu/ |
H A D | state_view.css | 6 .tr-ui-e-chrome-gpu-state-snapshot-view { 12 .tr-ui-e-chrome-gpu-state-snapshot-view img {
|
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLFragmentShaderBuilder.cpp | 12 #define GL_CALL(X) GR_GL_CALL(fProgramBuilder->gpu()->glInterface(), X) 13 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fProgramBuilder->gpu()->glInterface(), R, X) 122 GrGLGpu* gpu = fProgramBuilder->gpu(); local 123 if (!gpu->glCaps().shaderCaps()->shaderDerivativeSupport()) { 126 if (kGLES_GrGLStandard == gpu->glStandard() && 127 k110_GrGLSLGeneration == gpu->glslGeneration()) { 158 GrGLGpu* gpu = fProgramBuilder->gpu(); local 165 } else if (gpu 209 GrGLGpu* gpu = fProgramBuilder->gpu(); local 271 GrGLGpu* gpu = fProgramBuilder->gpu(); local [all...] |
H A D | GrGLShaderBuilder.cpp | 24 GrGLGpu* gpu, 33 sample_function_name(varyingType, gpu->glslGeneration()), 41 if (!gpu->glCaps().textureSwizzleSupport() && 43 char alphaChar = gpu->glCaps().textureRedSupport() ? 'r' : 'a'; 91 const GrGLContextInfo& ctxInfo = fProgramBuilder->gpu()->ctxInfo(); 108 fProgramBuilder->gpu(), 167 fProgramBuilder->gpu(), 176 SkASSERT(fProgramBuilder->gpu()->glslGeneration() >= k330_GrGLSLGeneration || 177 fProgramBuilder->gpu()->glCaps().glslCaps()->mustEnableAdvBlendEqs()); 213 GrGLGpu* gpu local 23 append_texture_lookup(SkString* out, GrGLGpu* gpu, const char* samplerName, const char* coordName, uint32_t configComponentMask, const char* swizzle, GrSLType varyingType = kVec2f_GrSLType) argument [all...] |
/external/skia/ |
H A D | Android.mk | 430 src/gpu/GrAAHairLinePathRenderer.cpp \ 431 src/gpu/GrAAConvexPathRenderer.cpp \ 432 src/gpu/GrAAConvexTessellator.cpp \ 433 src/gpu/GrAADistanceFieldPathRenderer.cpp \ 434 src/gpu/GrAARectRenderer.cpp \ 435 src/gpu/GrAddPathRenderers_default.cpp \ 436 src/gpu/GrAtlas.cpp \ 437 src/gpu/GrAtlasTextContext.cpp \ 438 src/gpu/GrBatch.cpp \ 439 src/gpu/GrBatchAtla [all...] |
/external/skia/bench/ |
H A D | GrResourceCacheBench.cpp | 27 BenchResource (GrGpu* gpu) argument 28 : INHERITED(gpu, kCached_LifeCycle) { 44 static void populate_cache(GrGpu* gpu, int resourceCount) { argument 48 GrGpuResource* resource = SkNEW_ARGS(BenchResource, (gpu)); 79 GrGpu* gpu = context->getGpu(); variable 82 populate_cache(gpu, CACHE_SIZE_COUNT); 116 GrGpu* gpu = fContext->getGpu(); variable 118 populate_cache(gpu, CACHE_SIZE_COUNT);
|
/external/skia/tests/ |
H A D | GLProgramsTest.cpp | 147 static void set_random_color_coverage_stages(GrGLGpu* gpu, argument 158 gpu->getContext(), 159 *gpu->caps(), 212 GrGLGpu* gpu = static_cast<GrGLGpu*>(fContext->getGpu()); local 219 SkAutoTUnref<GrTexture> dummyTexture1(gpu->createTexture(dummyDesc, false, NULL, 0)); 224 SkAutoTUnref<GrTexture> dummyTexture2(gpu->createTexture(dummyDesc, false, NULL, 0)); 256 set_random_color_coverage_stages(gpu, 263 set_random_xpf(fContext, gpu->glCaps(), &pipelineBuilder, &random, dummyTextures); 292 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->getGpu()); local 300 if (kGL_GrGLStandard == gpu [all...] |
/external/skia/include/gpu/ |
H A D | GrTextureProvider.h | 128 GrTextureProvider(GrGpu* gpu, GrResourceCache* cache) : fCache(cache), fGpu(gpu) {} argument 160 GrGpu* gpu() { return fGpu; } function in class:GrTextureProvider 161 const GrGpu* gpu() const { return fGpu; } function in class:GrTextureProvider
|