aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/ARB_direct_state_access.xml
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-03-02 16:48:59 -0800
committerFredrik Höglund <[email protected]>2015-05-14 15:48:13 +0200
commit085c67dc77ab3c00d3f68ba52f8343f8ff0cab53 (patch)
tree39f3e55c960530d1788d7e684e008c37aac7c537 /src/mapi/glapi/gen/ARB_direct_state_access.xml
parentd78c831a147e8af6f6fc1a610f4c2e490e75fad1 (diff)
main: Major refactor of get_texture_for_framebuffer.
This splits off the (still) rather large chunk that is get_texture_for_framebuffer into lots of smaller functions specialized to service the wide variety of unique needs of *FramebufferTexture* entry points. The result is much cleaner because, rather than having a pile of branches and confusing conditions (like the boolean layered), the uniqueness is baked into the entry points. The entry points know whether or not they are layered or use a textarget. [Fredrik: - Mention the value of <textarget> in the error message. - Rename check_zoffset to check_layer, and zoffset to layer. The zoffset parameter was renamed to layer in ARB_framebuffer_object. - Make layered a GLboolean since the value is visible to the API. - Remove EXT suffixes in refactored code. - Whitespace fixes.] Reviewed-by: Fredrik Höglund <[email protected]> Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/ARB_direct_state_access.xml')
0 files changed, 0 insertions, 0 deletions