summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_copytex.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-13st/mesa: fix incorrect buffer token passed to _mesa_BindFramebuffer()Brian Paul1-2/+2
I added this code right at the end, and got it wrong. Only used by the WGL_ARB_render_texture code. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2015-12-03st/mesa: add new st_copy_framebuffer_to_texture() functionBrian Paul1-0/+140
This helper is used by the WGL state tracker to implement the wglBindTexImageARB() function. This is basically a new "meta" function. However, we're not putting it in the src/mesa/drivers/common/ directory because that code is not linked with gallium-based drivers. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>