Home
last modified time | relevance | path

Searched refs:RsdShader (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdProgram.cpp38 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen); in rsdProgramVertexInit()
61 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
67 RsdShader *drv = NULL; in rsdProgramVertexDestroy()
69 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy()
82 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen); in rsdProgramFragmentInit()
92 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
98 RsdShader *drv = NULL; in rsdProgramFragmentDestroy()
100 drv = (RsdShader*)pf->mHal.drv; in rsdProgramFragmentDestroy()
DrsdShaderCache.h30 class RsdShader; variable
40 void setActiveVertex(RsdShader *pv) { in setActiveVertex()
45 void setActiveFragment(RsdShader *pf) { in setActiveFragment()
67 RsdShader *mVertex;
68 RsdShader *mFragment;
138 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
139 void populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data);
141 RsdShader *prog, uint32_t linkedID,
DrsdShader.cpp32 RsdShader::RsdShader(const Program *p, uint32_t type, in RsdShader() function in RsdShader
43 RsdShader::~RsdShader() { in ~RsdShader()
54 void RsdShader::initMemberVars() { in initMemberVars()
68 void RsdShader::init() { in init()
89 String8 RsdShader::getGLSLInputString() const { in getGLSLInputString()
114 void RsdShader::appendAttributes() { in appendAttributes()
142 void RsdShader::appendTextures() { in appendTextures()
156 bool RsdShader::createShader() { in createShader()
170 bool RsdShader::loadShader(const Context *rsc) { in loadShader()
211 void RsdShader::appendUserConstants() { in appendUserConstants()
[all …]
DrsdShaderCache.cpp41 void RsdShaderCache::updateUniformArrayData(const Context *rsc, RsdShader *prog, uint32_t linkedID, in updateUniformArrayData()
63 void RsdShaderCache::populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data) { in populateUniformData()
70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms()
109 RsdShader *vtx = mVertex; in link()
110 RsdShader *frag = mFragment; in link()
DrsdShader.h38 class RsdShader {
41 RsdShader(const android::renderscript::Program *p, uint32_t type,
43 virtual ~RsdShader();