Lines Matching refs:props
1068 const RboProps* props = view.get_const(name); in isRenderbufferThatWasBound() local
1069 return props->previouslyBound; in isRenderbufferThatWasBound()
1769 FboProps& props = boundFboProps(target); in checkFramebufferCompleteness() local
1771 if (!props.completenessDirty) { in checkFramebufferCompleteness()
1772 return props.cachedCompleteness; in checkFramebufferCompleteness()
1778 if (!props.colorAttachmenti_hasTex[i] && in checkFramebufferCompleteness()
1779 !props.colorAttachmenti_hasRbo[i]) continue; in checkFramebufferCompleteness()
1791 …bool hasDepth = (props.depthAttachment_hasTexObj || props.depthAttachment_hasRbo || props.depthste… in checkFramebufferCompleteness()
1792 …ol hasStencil = (props.stencilAttachment_hasTexObj || props.stencilAttachment_hasRbo || props.dept… in checkFramebufferCompleteness()
1819 if ((props.depthAttachment_hasTexObj && props.stencilAttachment_hasRbo) || in checkFramebufferCompleteness()
1820 (props.stencilAttachment_hasTexObj && props.depthAttachment_hasRbo)) { in checkFramebufferCompleteness()
1824 if (props.depthAttachment_hasTexObj) { in checkFramebufferCompleteness()
1825 if (props.depthAttachment_texture != props.stencilAttachment_texture) { in checkFramebufferCompleteness()
1830 if (props.depthAttachment_hasRbo) { in checkFramebufferCompleteness()
1831 if (props.depthAttachment_rbo != props.stencilAttachment_rbo) { in checkFramebufferCompleteness()
1842 if (props.defaultWidth == 0 || props.defaultHeight == 0) { in checkFramebufferCompleteness()
1847 props.completenessDirty = false; in checkFramebufferCompleteness()
1848 props.cachedCompleteness = GL_FRAMEBUFFER_COMPLETE; in checkFramebufferCompleteness()
2221 const FboProps& props = boundFboProps_const(target); in getBoundFramebufferFormat() local
2237 if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in getBoundFramebufferFormat()
2239 res_info->rb_format = props.colorAttachmenti_rbos[colorAttachmentIndex]->format; in getBoundFramebufferFormat()
2241 props.colorAttachmenti_rbos[colorAttachmentIndex]->multisamples; in getBoundFramebufferFormat()
2243 props.colorAttachmenti_rbos[colorAttachmentIndex]->boundEGLImage; in getBoundFramebufferFormat()
2244 } else if (props.colorAttachmenti_hasTex[colorAttachmentIndex]) { in getBoundFramebufferFormat()
2247 props.colorAttachmenti_textures[colorAttachmentIndex]->boundEGLImage; in getBoundFramebufferFormat()
2249 props.colorAttachmenti_textures[colorAttachmentIndex]->internalformat; in getBoundFramebufferFormat()
2251 props.colorAttachmenti_textures[colorAttachmentIndex]->format; in getBoundFramebufferFormat()
2253 props.colorAttachmenti_textures[colorAttachmentIndex]->type; in getBoundFramebufferFormat()
2255 props.colorAttachmenti_textures[colorAttachmentIndex]->multisamples; in getBoundFramebufferFormat()
2256 res_info->tex_level = props.colorAttachmenti_texture_levels[colorAttachmentIndex]; in getBoundFramebufferFormat()
2257 res_info->tex_layer = props.colorAttachmenti_texture_layers[colorAttachmentIndex]; in getBoundFramebufferFormat()
2265 if (props.depthAttachment_hasRbo) { in getBoundFramebufferFormat()
2267 res_info->rb_format = props.depthAttachment_rbo->format; in getBoundFramebufferFormat()
2268 res_info->rb_multisamples = props.depthAttachment_rbo->multisamples; in getBoundFramebufferFormat()
2269 res_info->rb_external = props.depthAttachment_rbo->boundEGLImage; in getBoundFramebufferFormat()
2270 } else if (props.depthAttachment_hasTexObj) { in getBoundFramebufferFormat()
2272 res_info->tex_external = props.depthAttachment_texture->boundEGLImage; in getBoundFramebufferFormat()
2273 res_info->tex_internalformat = props.depthAttachment_texture->internalformat; in getBoundFramebufferFormat()
2274 res_info->tex_format = props.depthAttachment_texture->format; in getBoundFramebufferFormat()
2275 res_info->tex_type = props.depthAttachment_texture->type; in getBoundFramebufferFormat()
2276 res_info->tex_multisamples = props.depthAttachment_texture->multisamples; in getBoundFramebufferFormat()
2277 res_info->tex_level = props.depthAttachment_texture_level; in getBoundFramebufferFormat()
2278 res_info->tex_layer = props.depthAttachment_texture_layer; in getBoundFramebufferFormat()
2284 if (props.stencilAttachment_hasRbo) { in getBoundFramebufferFormat()
2286 res_info->rb_format = props.stencilAttachment_rbo->format; in getBoundFramebufferFormat()
2287 res_info->rb_multisamples = props.stencilAttachment_rbo->multisamples; in getBoundFramebufferFormat()
2288 res_info->rb_external = props.stencilAttachment_rbo->boundEGLImage; in getBoundFramebufferFormat()
2289 } else if (props.stencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
2291 res_info->tex_external = props.stencilAttachment_texture->boundEGLImage; in getBoundFramebufferFormat()
2292 res_info->tex_internalformat = props.stencilAttachment_texture->internalformat; in getBoundFramebufferFormat()
2293 res_info->tex_format = props.stencilAttachment_texture->format; in getBoundFramebufferFormat()
2294 res_info->tex_type = props.stencilAttachment_texture->type; in getBoundFramebufferFormat()
2295 res_info->tex_multisamples = props.stencilAttachment_texture->multisamples; in getBoundFramebufferFormat()
2296 res_info->tex_level = props.depthAttachment_texture_level; in getBoundFramebufferFormat()
2297 res_info->tex_layer = props.depthAttachment_texture_layer; in getBoundFramebufferFormat()
2303 if (props.depthstencilAttachment_hasRbo) { in getBoundFramebufferFormat()
2305 res_info->rb_format = props.depthstencilAttachment_rbo->format; in getBoundFramebufferFormat()
2306 res_info->rb_multisamples = props.depthstencilAttachment_rbo->multisamples; in getBoundFramebufferFormat()
2307 res_info->rb_external = props.depthstencilAttachment_rbo->boundEGLImage; in getBoundFramebufferFormat()
2308 } else if (props.depthstencilAttachment_hasTexObj) { in getBoundFramebufferFormat()
2310 res_info->tex_external = props.depthstencilAttachment_texture->boundEGLImage; in getBoundFramebufferFormat()
2311 res_info->tex_internalformat = props.depthstencilAttachment_texture->internalformat; in getBoundFramebufferFormat()
2312 res_info->tex_format = props.depthstencilAttachment_texture->format; in getBoundFramebufferFormat()
2313 res_info->tex_type = props.depthstencilAttachment_texture->type; in getBoundFramebufferFormat()
2314 res_info->tex_multisamples = props.depthstencilAttachment_texture->multisamples; in getBoundFramebufferFormat()
2315 res_info->tex_level = props.depthAttachment_texture_level; in getBoundFramebufferFormat()
2316 res_info->tex_layer = props.depthAttachment_texture_layer; in getBoundFramebufferFormat()
2379 FboProps props; in addFreshFramebuffer() local
2380 props.name = name; in addFreshFramebuffer()
2381 props.previouslyBound = false; in addFreshFramebuffer()
2383 props.completenessDirty = true; in addFreshFramebuffer()
2385 props.colorAttachmenti_textures.resize(m_hostDriverCaps.max_color_attachments, 0); in addFreshFramebuffer()
2386 props.colorAttachmenti_texture_levels.resize(m_hostDriverCaps.max_color_attachments, 0); in addFreshFramebuffer()
2387 props.colorAttachmenti_texture_layers.resize(m_hostDriverCaps.max_color_attachments, 0); in addFreshFramebuffer()
2389 props.depthAttachment_texture_level = 0; in addFreshFramebuffer()
2390 props.depthAttachment_texture_layer = 0; in addFreshFramebuffer()
2391 props.stencilAttachment_texture_level = 0; in addFreshFramebuffer()
2392 props.stencilAttachment_texture_layer = 0; in addFreshFramebuffer()
2394 props.depthAttachment_texture = 0; in addFreshFramebuffer()
2395 props.stencilAttachment_texture = 0; in addFreshFramebuffer()
2396 props.depthstencilAttachment_texture = 0; in addFreshFramebuffer()
2398 props.colorAttachmenti_hasTex.resize(m_hostDriverCaps.max_color_attachments, false); in addFreshFramebuffer()
2399 props.depthAttachment_hasTexObj = false; in addFreshFramebuffer()
2400 props.stencilAttachment_hasTexObj = false; in addFreshFramebuffer()
2401 props.depthstencilAttachment_hasTexObj = false; in addFreshFramebuffer()
2403 props.colorAttachmenti_rbos.resize(m_hostDriverCaps.max_color_attachments, 0); in addFreshFramebuffer()
2404 props.depthAttachment_rbo = 0; in addFreshFramebuffer()
2405 props.stencilAttachment_rbo = 0; in addFreshFramebuffer()
2406 props.depthstencilAttachment_rbo = 0; in addFreshFramebuffer()
2408 props.colorAttachmenti_hasRbo.resize(m_hostDriverCaps.max_color_attachments, false); in addFreshFramebuffer()
2409 props.depthAttachment_hasRbo = false; in addFreshFramebuffer()
2410 props.stencilAttachment_hasRbo = false; in addFreshFramebuffer()
2411 props.depthstencilAttachment_hasRbo = false; in addFreshFramebuffer()
2413 props.defaultWidth = 0; in addFreshFramebuffer()
2414 props.defaultHeight = 0; in addFreshFramebuffer()
2416 mFboState.fboData[name] = props; in addFreshFramebuffer()
2735 FboProps& props = it->second; in setFboCompletenessDirtyForTexture() local
2737 if (props.colorAttachmenti_hasTex[i]) { in setFboCompletenessDirtyForTexture()
2738 if (texrec == props.colorAttachmenti_textures[i]) { in setFboCompletenessDirtyForTexture()
2739 props.completenessDirty = true; in setFboCompletenessDirtyForTexture()
2745 if (props.depthAttachment_hasTexObj) { in setFboCompletenessDirtyForTexture()
2746 if (texrec == props.depthAttachment_texture) { in setFboCompletenessDirtyForTexture()
2747 props.completenessDirty = true; in setFboCompletenessDirtyForTexture()
2752 if (props.stencilAttachment_hasTexObj) { in setFboCompletenessDirtyForTexture()
2753 if (texrec == props.stencilAttachment_texture) { in setFboCompletenessDirtyForTexture()
2754 props.completenessDirty = true; in setFboCompletenessDirtyForTexture()
2759 if (props.depthstencilAttachment_hasTexObj) { in setFboCompletenessDirtyForTexture()
2760 if (texrec == props.depthstencilAttachment_texture) { in setFboCompletenessDirtyForTexture()
2761 props.completenessDirty = true; in setFboCompletenessDirtyForTexture()
2772 FboProps& props = it->second; in setFboCompletenessDirtyForRbo() local
2774 if (props.colorAttachmenti_hasRbo[i]) { in setFboCompletenessDirtyForRbo()
2775 if (rbo == props.colorAttachmenti_rbos[i]) { in setFboCompletenessDirtyForRbo()
2776 props.completenessDirty = true; in setFboCompletenessDirtyForRbo()
2782 if (props.depthAttachment_hasRbo) { in setFboCompletenessDirtyForRbo()
2783 if (rbo == props.depthAttachment_rbo) { in setFboCompletenessDirtyForRbo()
2784 props.completenessDirty = true; in setFboCompletenessDirtyForRbo()
2789 if (props.stencilAttachment_hasRbo) { in setFboCompletenessDirtyForRbo()
2790 if (rbo == props.stencilAttachment_rbo) { in setFboCompletenessDirtyForRbo()
2791 props.completenessDirty = true; in setFboCompletenessDirtyForRbo()
2796 if (props.depthstencilAttachment_hasRbo) { in setFboCompletenessDirtyForRbo()
2797 if (rbo == props.depthstencilAttachment_rbo) { in setFboCompletenessDirtyForRbo()
2798 props.completenessDirty = true; in setFboCompletenessDirtyForRbo()
2835 const FboProps& props = boundFboProps_const(target); in depthStencilHasSameObject() local
2837 if (props.depthAttachment_hasTexObj != props.stencilAttachment_hasTexObj in depthStencilHasSameObject()
2838 || props.depthAttachment_hasRbo != props.stencilAttachment_hasRbo) { in depthStencilHasSameObject()
2841 if (props.depthAttachment_hasTexObj) { in depthStencilHasSameObject()
2842 return props.depthAttachment_texture == props.stencilAttachment_texture; in depthStencilHasSameObject()
2844 if (props.depthAttachment_hasRbo) { in depthStencilHasSameObject()
2845 return props.depthAttachment_rbo == props.stencilAttachment_rbo; in depthStencilHasSameObject()