Lines Matching refs:props

1034     RboProps props;  in addFreshRenderbuffer()  local
1035 props.target = GL_RENDERBUFFER; in addFreshRenderbuffer()
1036 props.name = name; in addFreshRenderbuffer()
1037 props.format = GL_NONE; in addFreshRenderbuffer()
1038 props.multisamples = 0; in addFreshRenderbuffer()
1039 props.previouslyBound = false; in addFreshRenderbuffer()
1042 mRboState.rboData[getRboIndex(name)] = props; in addFreshRenderbuffer()
1044 mRboState.rboData.push_back(props); in addFreshRenderbuffer()
1205 const FboProps& props = boundFboProps_const(target); in getBoundFramebufferFormat() local
1219 if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in getBoundFramebufferFormat()
1223 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1226 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1227 } else if (props.colorAttachmenti_hasTex[colorAttachmentIndex]) { in getBoundFramebufferFormat()
1231 props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1234 props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1236 queryTexType(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1238 queryTexSamples(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1246 if (props.depthAttachment_hasRbo) { in getBoundFramebufferFormat()
1248 res_info->rb_format = queryRboFormat(props.depthAttachment_rbo); in getBoundFramebufferFormat()
1251 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1252 } else if (props.depthAttachment_hasTexObj) { in getBoundFramebufferFormat()
1254 res_info->tex_internalformat = queryTexInternalFormat(props.depthAttachment_texture); in getBoundFramebufferFormat()
1255 res_info->tex_format = queryTexFormat(props.depthAttachment_texture); in getBoundFramebufferFormat()
1256 res_info->tex_type = queryTexType(props.depthAttachment_texture); in getBoundFramebufferFormat()
1258 queryTexSamples(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1264 if (props.stencilAttachment_hasRbo) { in getBoundFramebufferFormat()
1266 res_info->rb_format = queryRboFormat(props.stencilAttachment_rbo); in getBoundFramebufferFormat()
1269 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1270 } else if (props.stencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
1272 res_info->tex_internalformat = queryTexInternalFormat(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1273 res_info->tex_format = queryTexFormat(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1274 res_info->tex_type = queryTexType(props.stencilAttachment_texture); in getBoundFramebufferFormat()
1276 queryTexSamples(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1282 if (props.depthstencilAttachment_hasRbo) { in getBoundFramebufferFormat()
1284 res_info->rb_format = queryRboFormat(props.depthstencilAttachment_rbo); in getBoundFramebufferFormat()
1287 props.colorAttachmenti_rbos[colorAttachmentIndex]); in getBoundFramebufferFormat()
1288 } else if (props.depthstencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
1290 … res_info->tex_internalformat = queryTexInternalFormat(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1291 res_info->tex_format = queryTexFormat(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1292 res_info->tex_type = queryTexType(props.depthstencilAttachment_texture); in getBoundFramebufferFormat()
1294 queryTexSamples(props.colorAttachmenti_textures[colorAttachmentIndex]); in getBoundFramebufferFormat()
1318 FboProps props; in addFreshFramebuffer() local
1319 props.name = name; in addFreshFramebuffer()
1320 props.previouslyBound = false; in addFreshFramebuffer()
1322 props.colorAttachmenti_textures.resize(m_max_color_attachments, 0); in addFreshFramebuffer()
1323 props.depthAttachment_texture = 0; in addFreshFramebuffer()
1324 props.stencilAttachment_texture = 0; in addFreshFramebuffer()
1325 props.depthstencilAttachment_texture = 0; in addFreshFramebuffer()
1327 props.colorAttachmenti_hasTex.resize(m_max_color_attachments, false); in addFreshFramebuffer()
1328 props.depthAttachment_hasTexObj = false; in addFreshFramebuffer()
1329 props.stencilAttachment_hasTexObj = false; in addFreshFramebuffer()
1330 props.depthstencilAttachment_hasTexObj = false; in addFreshFramebuffer()
1332 props.colorAttachmenti_rbos.resize(m_max_color_attachments, 0); in addFreshFramebuffer()
1333 props.depthAttachment_rbo = 0; in addFreshFramebuffer()
1334 props.stencilAttachment_rbo = 0; in addFreshFramebuffer()
1335 props.depthstencilAttachment_rbo = 0; in addFreshFramebuffer()
1337 props.colorAttachmenti_hasRbo.resize(m_max_color_attachments, false); in addFreshFramebuffer()
1338 props.depthAttachment_hasRbo = false; in addFreshFramebuffer()
1339 props.stencilAttachment_hasRbo = false; in addFreshFramebuffer()
1340 props.depthstencilAttachment_hasRbo = false; in addFreshFramebuffer()
1341 mFboState.fboData[name] = props; in addFreshFramebuffer()
1648 const FboProps& props = boundFboProps_const(target); in objectOfAttachment() local
1654 if (props.colorAttachmenti_hasTex[colorAttachmentIndex]) { in objectOfAttachment()
1655 return props.colorAttachmenti_textures[colorAttachmentIndex]; in objectOfAttachment()
1656 } else if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in objectOfAttachment()
1657 return props.colorAttachmenti_rbos[colorAttachmentIndex]; in objectOfAttachment()
1665 if (props.depthAttachment_hasTexObj) { in objectOfAttachment()
1666 return props.depthAttachment_texture; in objectOfAttachment()
1667 } else if (props.depthAttachment_hasRbo) { in objectOfAttachment()
1668 return props.depthAttachment_rbo; in objectOfAttachment()
1674 if (props.stencilAttachment_hasTexObj) { in objectOfAttachment()
1675 return props.stencilAttachment_texture; in objectOfAttachment()
1676 } else if (props.stencilAttachment_hasRbo) { in objectOfAttachment()
1677 return props.stencilAttachment_rbo; in objectOfAttachment()
1682 if (props.depthstencilAttachment_hasTexObj) { in objectOfAttachment()
1683 return props.depthstencilAttachment_texture; in objectOfAttachment()
1684 } else if (props.depthstencilAttachment_hasRbo) { in objectOfAttachment()
1685 return props.depthstencilAttachment_rbo; in objectOfAttachment()