Home
last modified time | relevance | path

Searched refs:getShaderID (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdProgram.cpp71 LOGV("Destroying vertex shader with ID %u", drv->getShaderID()); in rsdProgramVertexDestroy()
73 if (drv->getShaderID()) { in rsdProgramVertexDestroy()
74 dc->gl.shaderCache->cleanupVertex(drv->getShaderID()); in rsdProgramVertexDestroy()
102 LOGV("Destroying fragment shader with ID %u", drv->getShaderID()); in rsdProgramFragmentDestroy()
104 if (drv->getShaderID()) { in rsdProgramFragmentDestroy()
105 dc->gl.shaderCache->cleanupFragment(drv->getShaderID()); in rsdProgramFragmentDestroy()
DrsdShaderCache.cpp111 if (!vtx->getShaderID()) { in link()
114 if (!frag->getShaderID()) { in link()
119 if (!vtx->getShaderID() || !frag->getShaderID()) { in link()
125 if ((mEntries[ct]->vtx == vtx->getShaderID()) && in link()
126 (mEntries[ct]->frag == frag->getShaderID())) { in link()
144 e->vtx = vtx->getShaderID(); in link()
145 e->frag = frag->getShaderID(); in link()
149 glAttachShader(pgm, vtx->getShaderID()); in link()
151 glAttachShader(pgm, frag->getShaderID()); in link()
DrsdShader.h47 uint32_t getShaderID() const {return mShaderID;} in getShaderID() function