Lines Matching refs:props

1320     RboProps props;  in addFreshRenderbuffer()  local
1321 props.target = GL_RENDERBUFFER; in addFreshRenderbuffer()
1322 props.name = name; in addFreshRenderbuffer()
1323 props.format = GL_NONE; in addFreshRenderbuffer()
1324 props.multisamples = 0; in addFreshRenderbuffer()
1325 props.previouslyBound = false; in addFreshRenderbuffer()
1328 mRboState.rboData[getRboIndex(name)] = props; in addFreshRenderbuffer()
1330 mRboState.rboData.push_back(props); in addFreshRenderbuffer()
1491 const FboProps& props = boundFboProps_const(target); in getBoundFramebufferFormat() local
1505 if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in getBoundFramebufferFormat()
1509 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1512 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1513 } else if (props.colorAttachmenti_hasTex[colorAttachmentIndex]) { in getBoundFramebufferFormat()
1517 props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1520 props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1522 queryTexType(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1524 queryTexSamples(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1532 if (props.depthAttachment_hasRbo) { in getBoundFramebufferFormat()
1534 res_info->rb_format = queryRboFormat(props.depthAttachment_rbo); in getBoundFramebufferFormat()
1537 props.depthAttachment_rbo); in getBoundFramebufferFormat()
1538 } else if (props.depthAttachment_hasTexObj) { in getBoundFramebufferFormat()
1540 res_info->tex_internalformat = queryTexInternalFormat(props.depthAttachment_texture); in getBoundFramebufferFormat()
1541 res_info->tex_format = queryTexFormat(props.depthAttachment_texture); in getBoundFramebufferFormat()
1542 res_info->tex_type = queryTexType(props.depthAttachment_texture); in getBoundFramebufferFormat()
1544 queryTexSamples(props.depthAttachment_texture); in getBoundFramebufferFormat()
1550 if (props.stencilAttachment_hasRbo) { in getBoundFramebufferFormat()
1552 res_info->rb_format = queryRboFormat(props.stencilAttachment_rbo); in getBoundFramebufferFormat()
1555 props.stencilAttachment_rbo); in getBoundFramebufferFormat()
1556 } else if (props.stencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
1558 res_info->tex_internalformat = queryTexInternalFormat(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1559 res_info->tex_format = queryTexFormat(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1560 res_info->tex_type = queryTexType(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1562 queryTexSamples(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1568 if (props.depthstencilAttachment_hasRbo) { in getBoundFramebufferFormat()
1570 res_info->rb_format = queryRboFormat(props.depthstencilAttachment_rbo); in getBoundFramebufferFormat()
1573 props.depthstencilAttachment_rbo); in getBoundFramebufferFormat()
1574 } else if (props.depthstencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
1576 … res_info->tex_internalformat = queryTexInternalFormat(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1577 res_info->tex_format = queryTexFormat(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1578 res_info->tex_type = queryTexType(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1580 queryTexSamples(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1604 FboProps props; in addFreshFramebuffer() local
1605 props.name = name; in addFreshFramebuffer()
1606 props.previouslyBound = false; in addFreshFramebuffer()
1608 props.colorAttachmenti_textures.resize(m_max_color_attachments, 0); in addFreshFramebuffer()
1609 props.depthAttachment_texture = 0; in addFreshFramebuffer()
1610 props.stencilAttachment_texture = 0; in addFreshFramebuffer()
1611 props.depthstencilAttachment_texture = 0; in addFreshFramebuffer()
1613 props.colorAttachmenti_hasTex.resize(m_max_color_attachments, false); in addFreshFramebuffer()
1614 props.depthAttachment_hasTexObj = false; in addFreshFramebuffer()
1615 props.stencilAttachment_hasTexObj = false; in addFreshFramebuffer()
1616 props.depthstencilAttachment_hasTexObj = false; in addFreshFramebuffer()
1618 props.colorAttachmenti_rbos.resize(m_max_color_attachments, 0); in addFreshFramebuffer()
1619 props.depthAttachment_rbo = 0; in addFreshFramebuffer()
1620 props.stencilAttachment_rbo = 0; in addFreshFramebuffer()
1621 props.depthstencilAttachment_rbo = 0; in addFreshFramebuffer()
1623 props.colorAttachmenti_hasRbo.resize(m_max_color_attachments, false); in addFreshFramebuffer()
1624 props.depthAttachment_hasRbo = false; in addFreshFramebuffer()
1625 props.stencilAttachment_hasRbo = false; in addFreshFramebuffer()
1626 props.depthstencilAttachment_hasRbo = false; in addFreshFramebuffer()
1627 mFboState.fboData[name] = props; in addFreshFramebuffer()
1934 const FboProps& props = boundFboProps_const(target); in objectOfAttachment() local
1940 if (props.colorAttachmenti_hasTex[colorAttachmentIndex]) { in objectOfAttachment()
1941 return props.colorAttachmenti_textures[colorAttachmentIndex]; in objectOfAttachment()
1942 } else if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in objectOfAttachment()
1943 return props.colorAttachmenti_rbos[colorAttachmentIndex]; in objectOfAttachment()
1951 if (props.depthAttachment_hasTexObj) { in objectOfAttachment()
1952 return props.depthAttachment_texture; in objectOfAttachment()
1953 } else if (props.depthAttachment_hasRbo) { in objectOfAttachment()
1954 return props.depthAttachment_rbo; in objectOfAttachment()
1960 if (props.stencilAttachment_hasTexObj) { in objectOfAttachment()
1961 return props.stencilAttachment_texture; in objectOfAttachment()
1962 } else if (props.stencilAttachment_hasRbo) { in objectOfAttachment()
1963 return props.stencilAttachment_rbo; in objectOfAttachment()
1968 if (props.depthstencilAttachment_hasTexObj) { in objectOfAttachment()
1969 return props.depthstencilAttachment_texture; in objectOfAttachment()
1970 } else if (props.depthstencilAttachment_hasRbo) { in objectOfAttachment()
1971 return props.depthstencilAttachment_rbo; in objectOfAttachment()