Home
last modified time | relevance | path

Searched refs:programObject (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
DProgramBinding.cpp94 unsigned programObject = m_context->createProgram(); in createShaderProgram() local
95 if (!programObject) { in createShaderProgram()
100 GLC(m_context, m_context->attachShader(programObject, vertexShader)); in createShaderProgram()
101 GLC(m_context, m_context->attachShader(programObject, fragmentShader)); in createShaderProgram()
104 …GLC(m_context, m_context->bindAttribLocation(programObject, GeometryBinding::positionAttribLocatio… in createShaderProgram()
105 …GLC(m_context, m_context->bindAttribLocation(programObject, GeometryBinding::texCoordAttribLocatio… in createShaderProgram()
107 GLC(m_context, m_context->linkProgram(programObject)); in createShaderProgram()
109 GLC(m_context, m_context->getProgramiv(programObject, GraphicsContext3D::LINK_STATUS, &linked)); in createShaderProgram()
112 GLC(m_context, m_context->deleteProgram(programObject)); in createShaderProgram()
118 return programObject; in createShaderProgram()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DResourceManager.cpp180 ProgramMap::iterator programObject = mProgramMap.find(program); in deleteProgram() local
182 if (programObject != mProgramMap.end()) in deleteProgram()
184 if (programObject->second->getRefCount() == 0) in deleteProgram()
186 delete programObject->second; in deleteProgram()
187 mProgramMap.erase(programObject); in deleteProgram()
191 programObject->second->flagForDeletion(); in deleteProgram()
DlibGLESv2.cpp67 gl::Program *programObject = context->getProgram(program); in glAttachShader() local
70 if (!programObject) in glAttachShader()
94 if (!programObject->attachShader(shaderObject)) in glAttachShader()
121 gl::Program *programObject = context->getProgram(program); in glBindAttribLocation() local
123 if (!programObject) in glBindAttribLocation()
140 programObject->bindAttributeLocation(index, name); in glBindAttribLocation()
1628 gl::Program *programObject = context->getProgram(program); in glDetachShader() local
1631 if (!programObject) in glDetachShader()
1658 if (!programObject->detachShader(shaderObject)) in glDetachShader()
2295 gl::Program *programObject = context->getProgram(program); in glGetActiveAttrib() local
[all …]
DContext.cpp163 Program *programObject = mResourceManager->getProgram(mState.currentProgram); in ~Context() local
164 if (programObject) in ~Context()
166 programObject->release(); in ~Context()
1688 Program *programObject = getCurrentProgram(); in applyRenderTarget() local
1690 GLint halfPixelSize = programObject->getDxHalfPixelSizeLocation(); in applyRenderTarget()
1692 programObject->setUniform2fv(halfPixelSize, 1, xy); in applyRenderTarget()
1694 GLint viewport = programObject->getDxViewportLocation(); in applyRenderTarget()
1698 programObject->setUniform4fv(viewport, 1, whxy); in applyRenderTarget()
1700 GLint depth = programObject->getDxDepthLocation(); in applyRenderTarget()
1702 programObject->setUniform2fv(depth, 1, dz); in applyRenderTarget()
[all …]