Lines Matching refs:RENDERBUFFER
891 *params = ctx->shareGroup()->getLocalName(RENDERBUFFER,i);
1699 // Get current bounded renderbuffer
1700 // raise INVALID_OPERATIOn if no renderbuffer is bounded
1703 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(RENDERBUFFER,rb);
1715 // if the renderbuffer is attached to a framebuffer
1761 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES(GLuint renderbuffer) {
1764 if(renderbuffer && ctx->shareGroup().Ptr()){
1765 return ctx->shareGroup()->isObject(RENDERBUFFER,renderbuffer) ? GL_TRUE :GL_FALSE;
1767 return ctx->dispatcher().glIsRenderbufferEXT(renderbuffer);
1770 GL_API void GLAPIENTRY glBindRenderbufferOES(GLenum target, GLuint renderbuffer) {
1776 if(renderbuffer && ctx->shareGroup().Ptr() && !ctx->shareGroup()->isObject(RENDERBUFFER,renderbuffer)){
1777 ctx->shareGroup()->genName(RENDERBUFFER,renderbuffer);
1778 ctx->shareGroup()->setObjectData(RENDERBUFFER,
1779 renderbuffer,
1783 int globalBufferName = (renderbuffer != 0) ? ctx->shareGroup()->getGlobalName(RENDERBUFFER,renderbuffer) : 0;
1786 // update renderbuffer binding state
1787 ctx->setRenderbufferBinding(renderbuffer);
1794 GLuint globalBufferName = ctx->shareGroup()->getGlobalName(RENDERBUFFER,renderbuffers[i]);
1805 renderbuffers[i] = ctx->shareGroup()->genName(RENDERBUFFER, 0, true);
1806 ctx->shareGroup()->setObjectData(RENDERBUFFER,
1820 // Get current bounded renderbuffer
1821 // raise INVALID_OPERATIOn if no renderbuffer is bounded
1824 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(RENDERBUFFER,rb);
1829 // if the renderbuffer was an eglImage target, detach from
1849 // If this is a renderbuffer which is eglimage's target, we
1854 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(RENDERBUFFER,rb);
1987 GL_API void GLAPIENTRY glFramebufferRenderbufferOES(GLenum target, GLenum attachment,GLenum renderbuffertarget, GLuint renderbuffer) {
1999 // generate the renderbuffer object if not yet exist
2000 if (renderbuffer) {
2001 if (!ctx->shareGroup()->isObject(RENDERBUFFER,renderbuffer)) {
2002 ctx->shareGroup()->genName(RENDERBUFFER,renderbuffer);
2004 ctx->shareGroup()->setObjectData(RENDERBUFFER,
2005 renderbuffer,
2009 obj = ctx->shareGroup()->getObjectData(RENDERBUFFER,renderbuffer);
2011 globalBufferName = ctx->shareGroup()->getGlobalName(RENDERBUFFER,renderbuffer);
2019 fbData->setAttachment(attachment, renderbuffertarget, renderbuffer, obj);
2022 if (renderbuffer && obj.Ptr() != NULL) {
2026 // This renderbuffer object is an eglImage target
2027 // attach the eglimage's texture instead the renderbuffer.