Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLProgram.cpp80 void GrGLProgram::setData(const GrPrimitiveProcessor& primProc, in setData() argument
83 this->setRenderTargetState(primProc, pipeline); in setData()
87 fGeometryProcessor->setData(fProgramDataManager, primProc); in setData()
88 append_texture_bindings(primProc, textureBindings); in setData()
90 this->setFragmentData(primProc, pipeline, textureBindings); in setData()
92 if (primProc.getPixelLocalStorageState() != in setData()
100 void GrGLProgram::setFragmentData(const GrPrimitiveProcessor& primProc, in setFragmentData() argument
107 this->setTransformData(primProc, processor, i); in setFragmentData()
111 void GrGLProgram::setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
114 fGeometryProcessor->setTransformData(primProc, fProgramDataManager, index, in setTransformData()
[all …]
DGrGLProgramDesc.cpp84 static bool gen_frag_proc_and_meta_keys(const GrPrimitiveProcessor& primProc, in gen_frag_proc_and_meta_keys() argument
89 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) { in gen_frag_proc_and_meta_keys()
96 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(), in gen_frag_proc_and_meta_keys()
101 const GrPrimitiveProcessor& primProc, in Build() argument
118 primProc.getGLSLProcessorKey(glslCaps, &b); in Build()
119 if (!gen_meta_key(primProc, glslCaps, 0, &b)) { in Build()
126 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b)) { in Build()
DGrGLGpu.cpp1835 void GrGLGpu::setupGeometry(const GrPrimitiveProcessor& primProc, in setupGeometry() argument
1858 int vaCount = primProc.numAttribs(); in setupGeometry()
1861 GrGLsizei stride = static_cast<GrGLsizei>(primProc.getVertexStride()); in setupGeometry()
1871 const GrGeometryProcessor::Attribute& attrib = primProc.getAttrib(attribIndex); in setupGeometry()
1887 const GrPrimitiveProcessor& primProc, in buildProgramDesc() argument
1889 if (!GrGLProgramDescBuilder::Build(desc, primProc, pipeline, *this->glCaps().glslCaps())) { in buildProgramDesc()
/external/skia/src/gpu/vk/
DGrVkProgramDesc.cpp71 static bool gen_frag_proc_and_meta_keys(const GrPrimitiveProcessor& primProc, in gen_frag_proc_and_meta_keys() argument
76 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) { in gen_frag_proc_and_meta_keys()
83 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(), in gen_frag_proc_and_meta_keys()
88 const GrPrimitiveProcessor& primProc, in Build() argument
105 primProc.getGLSLProcessorKey(glslCaps, &b); in Build()
106 if (!gen_meta_key(primProc, glslCaps, 0, &b)) { in Build()
113 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b)) { in Build()
DGrVkPipeline.cpp40 static void setup_vertex_input_state(const GrPrimitiveProcessor& primProc, in setup_vertex_input_state() argument
49 bindingDesc->stride = (uint32_t)primProc.getVertexStride(); in setup_vertex_input_state()
53 int vaCount = primProc.numAttribs(); in setup_vertex_input_state()
58 const GrGeometryProcessor::Attribute& attrib = primProc.getAttrib(attribIndex); in setup_vertex_input_state()
428 const GrPrimitiveProcessor& primProc, in Create() argument
439 setup_vertex_input_state(primProc, &vertexInputInfo, &bindingDesc, 1, in Create()
DGrVkResourceProvider.cpp28 const GrPrimitiveProcessor& primProc, in createPipeline() argument
35 return GrVkPipeline::Create(fGpu, pipeline, primProc, shaderStageInfo, shaderStageCount, in createPipeline()
DGrVkProgram.cpp167 const GrPrimitiveProcessor& primProc, in setData() argument
177 fGeometryProcessor->setData(fProgramDataManager, primProc); in setData()
178 append_texture_bindings(primProc, &textureBindings); in setData()
183 fGeometryProcessor->setTransformData(primProc, fProgramDataManager, i, in setData()
DGrVkPipeline.h27 const GrPrimitiveProcessor& primProc,
DGrVkResourceProvider.h32 const GrPrimitiveProcessor& primProc,
DGrVkGpu.cpp648 void GrVkGpu::bindGeometry(const GrPrimitiveProcessor& primProc, in bindGeometry() argument
681 const GrPrimitiveProcessor& primProc, in buildProgramDesc() argument
683 if (!GrVkProgramDescBuilder::Build(desc, primProc, pipeline, *this->vkCaps().glslCaps())) { in buildProgramDesc()
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp33 const GrPrimitiveProcessor& primProc = this->primitiveProcessor(); in emitAndInstallProcs() local
34 int totalTextures = primProc.numTextures(); in emitAndInstallProcs()
39 if (!primProc.hasTransformedLocalCoords()) { in emitAndInstallProcs()
51 this->emitAndInstallPrimProc(primProc, inputColor, inputCoverage); in emitAndInstallProcs()
57 if (primProc.getPixelLocalStorageState() != in emitAndInstallProcs()
61 primProc.getPixelLocalStorageState()); in emitAndInstallProcs()
DGrGLSLGeometryProcessor.h35 void setTransformDataHelper(const GrPrimitiveProcessor& primProc, in setTransformDataHelper() argument
39 const GeometryProcessor& gp = primProc.cast<GeometryProcessor>(); in setTransformDataHelper()
/external/skia/src/gpu/
DGrPathProcessor.cpp85 const GrPrimitiveProcessor& primProc) override { in setData() argument
86 const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>(); in setData()
95 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
99 const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>(); in setTransformData()
DGrPathRendering.h156 DrawPathArgs(const GrPrimitiveProcessor* primProc, in DrawPathArgs()
160 : DrawArgs(primProc, pipeline, desc) in DrawPathArgs()
DGrBatchFlushState.h164 void initDraw(const GrPrimitiveProcessor* primProc, const GrPipeline* pipeline) { in initDraw() argument
166 draws->fPrimitiveProcessor.reset(primProc); in initDraw()
DGrGpu.h342 DrawArgs(const GrPrimitiveProcessor* primProc, in DrawArgs()
345 : fPrimitiveProcessor(primProc) in DrawArgs()
348 SkASSERT(primProc && pipeline && desc); in DrawArgs()
DGrDefaultGeoProcFactory.cpp183 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
187 this->setTransformDataHelper<DefaultGeoProc>(primProc, pdman, index, transforms); in setTransformData()
DGrOvalRenderer.cpp155 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
159 this->setTransformDataHelper<CircleEdgeEffect>(primProc, pdman, index, transforms); in setTransformData()
323 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
327 this->setTransformDataHelper<EllipseEdgeEffect>(primProc, pdman, index, transforms); in setTransformData()
/external/skia/src/gpu/batches/
DGrVertexBatch.cpp77 const GrPrimitiveProcessor* primProc = drawArray.fPrimitiveProcessor.get(); in onDraw() local
78 state->gpu()->buildProgramDesc(&desc, *primProc, *pipeline); in onDraw()
79 GrGpu::DrawArgs args(primProc, pipeline, &desc); in onDraw()
DGrPLSPathRenderer.cpp398 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
402 this->setTransformDataHelper<PLSAATriangleEffect>(primProc, pdman, index, transforms); in setTransformData()
587 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
591 this->setTransformDataHelper<PLSQuadEdgeEffect>(primProc, pdman, index, transforms); in setTransformData()
730 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
734 this->setTransformDataHelper<PLSFinishEffect>(primProc, pdman, index, transforms); in setTransformData()
DGrAAConvexPathRenderer.cpp629 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
633 this->setTransformDataHelper<QuadEdgeEffect>(primProc, pdman, index, transforms); in setTransformData()
/external/skia/src/gpu/effects/
DGrBezierEffect.cpp29 const GrPrimitiveProcessor& primProc) override { in setData() argument
30 const GrConicEffect& ce = primProc.cast<GrConicEffect>(); in setData()
52 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
56 this->setTransformDataHelper<GrConicEffect>(primProc, pdman, index, transforms); in setTransformData()
303 const GrPrimitiveProcessor& primProc) override { in setData() argument
304 const GrQuadEffect& qe = primProc.cast<GrQuadEffect>(); in setData()
326 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
330 this->setTransformDataHelper<GrQuadEffect>(primProc, pdman, index, transforms); in setTransformData()
520 const GrPrimitiveProcessor& primProc) override { in setData() argument
521 const GrCubicEffect& ce = primProc.cast<GrCubicEffect>(); in setData()
DGrBitmapTextGeoProc.cpp97 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
101 this->setTransformDataHelper<GrBitmapTextGeoProc>(primProc, pdman, index, transforms); in setTransformData()
DGrDashingEffect.cpp839 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
843 this->setTransformDataHelper<DashingCircleEffect>(primProc, pdman, index, transforms); in setTransformData()
1058 void setTransformData(const GrPrimitiveProcessor& primProc, in setTransformData() argument
1062 this->setTransformDataHelper<DashingLineEffect>(primProc, pdman, index, transforms); in setTransformData()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp147 const GrPrimitiveProcessor& primProc = this->primitiveProcessor(); in finalize() local
149 int vaCount = primProc.numAttribs(); in finalize()
151 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); in finalize()