[Mesa-dev] Gallium interface rename proposals

Marek Olšák maraeo at gmail.com
Sat Sep 19 10:24:35 UTC 2020


I don't know if you have been following gitlab, but there are a few
cleanups that I have been considering doing.

Rename PIPE_TRANSFER flags to PIPE_MAP, and pipe_transfer_usage to

Other proposed renames:

transfer_map -> resource_map
transfer_unmap -> resource_unmap
transfer_flush_region -> resource_flush_mapped_range
draw_vbo -> draw

pipe_transfer_* aux helpers -> pipe_resource_* or pipe_texture_* depending
on context. We already have pipe_buffer_map.

I'm inclined to keep the struct pipe_transfer name unchanged to indicate
that mappings can cause internal copies.

Please let me know your preferences.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20200919/50ed35ea/attachment.htm>

More information about the mesa-dev mailing list