Home
last modified time | relevance | path

Searched refs:m_shaders (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp201 size_t n = m_shaders.size(); in attachShader()
203 if (m_shaders[i] == shader) { in attachShader()
209 m_shaders.insertAt(shader, m_shaders.size(), 1); in attachShader()
215 size_t n = m_shaders.size(); in detachShader()
217 if (m_shaders[i] == shader) { in detachShader()
218 m_shaders.removeAt(i); in detachShader()
230 m_shaders(android::DefaultKeyedVector<GLuint, ShaderData*>(NULL)) in GLSharedGroup()
240 clearObjectMap(m_shaders); in ~GLSharedGroup()
246 return ((m_shaders.valueFor(obj)!=NULL) || (m_programs.valueFor(obj)!=NULL)); in isObject()
341 ssize_t idx = m_shaders.indexOfKey(shader); in attachShader()
[all …]
DGLSharedGroup.h64 android::Vector<GLuint> m_shaders; variable
90 size_t getNumShaders() const { return m_shaders.size(); } in getNumShaders()
91 GLuint getShader(size_t i) const { return m_shaders[i]; } in getShader()
104 android::DefaultKeyedVector<GLuint, ShaderData*> m_shaders; variable