Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdShaderCache.h31 class RsdShader; variable
41 void setActiveVertex(RsdShader *pv) { in setActiveVertex()
46 void setActiveFragment(RsdShader *pf) { in setActiveFragment()
53 void cleanupVertex(RsdShader *s);
54 void cleanupFragment(RsdShader *s);
68 RsdShader *mVertex;
69 RsdShader *mFragment;
146 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
147 void populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data);
149 RsdShader *prog, uint32_t linkedID,
DrsdProgram.cpp43 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen, in rsdProgramVertexInit()
67 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
73 RsdShader *drv = nullptr; in rsdProgramVertexDestroy()
75 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy()
90 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, in rsdProgramFragmentInit()
101 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
107 RsdShader *drv = nullptr; in rsdProgramFragmentDestroy()
109 drv = (RsdShader*)pf->mHal.drv; in rsdProgramFragmentDestroy()
DrsdShader.cpp36 RsdShader::RsdShader(const Program *p, uint32_t type, in RsdShader() function in RsdShader
52 RsdShader::~RsdShader() { in ~RsdShader()
66 void RsdShader::initMemberVars() { in initMemberVars()
79 RsdShader::StateBasedKey *RsdShader::getExistingState() { in getExistingState()
80 RsdShader::StateBasedKey *returnKey = nullptr; in getExistingState()
106 uint32_t RsdShader::getStateBasedShaderID(const Context *rsc) { in getStateBasedShaderID()
121 void RsdShader::init(const char** textureNames, size_t textureNamesCount, in init()
143 std::string RsdShader::getGLSLInputString() const { in getGLSLInputString()
168 void RsdShader::appendAttributes() { in appendAttributes()
192 void RsdShader::appendTextures() { in appendTextures()
[all …]
DrsdShaderCache.cpp39 RsdShader *prog, in updateUniformArrayData()
65 void RsdShaderCache::populateUniformData(RsdShader *prog, uint32_t linkedID, in populateUniformData()
74 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms()
113 RsdShader *vtx = mVertex; in link()
114 RsdShader *frag = mFragment; in link()
245 void RsdShaderCache::cleanupVertex(RsdShader *s) { in cleanupVertex()
263 void RsdShaderCache::cleanupFragment(RsdShader *s) { in cleanupFragment()
DrsdShader.h39 class RsdShader {
42 RsdShader(const android::renderscript::Program *p, uint32_t type,
46 virtual ~RsdShader();