mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
gallium: Change the resource_copy_region semantics to allow copies between different yet compatible formats
This commit is contained in:
parent
61c2861b4e
commit
91a9325761
1 changed files with 5 additions and 3 deletions
|
|
@ -263,9 +263,11 @@ apart from any 3D state in the context. Blitting functionality may be
|
|||
moved to a separate abstraction at some point in the future.
|
||||
|
||||
``resource_copy_region`` blits a region of a subresource of a resource to a
|
||||
region of another subresource of a resource, provided that both resources have the
|
||||
same format. The source and destination may be the same resource, but overlapping
|
||||
blits are not permitted.
|
||||
region of another subresource of a resource, provided that both resources have
|
||||
the same format, or compatible formats, i.e., formats for which copying the
|
||||
bytes from the source resource unmodified to the destination resource will
|
||||
achieve the same effect of a textured quad blitter. The source and destination
|
||||
may be the same resource, but overlapping blits are not permitted.
|
||||
|
||||
``resource_resolve`` resolves a multisampled resource into a non-multisampled
|
||||
one. Formats and dimensions must match. This function must be present if a driver
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue