[Mesa-dev] [v8 7/9] intel: restrict dma-buf-import images to external sampling only

Chad Versace chad.versace at linux.intel.com
Wed Jul 24 16:50:18 PDT 2013


On 07/24/2013 03:23 AM, Topi Pohjolainen wrote:
> Memory originating outside mesa stack is meant to be for reading
> only. In addition, the restrictions imposed by the image external
> extension should apply. For example, users shouldn't be allowed
> to generare mip-trees based on these images.
>
> v2 (Chad): document using full extension names, fix the comment
>             style itself and emit description of error
>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>   src/mesa/drivers/dri/i965/intel_fbo.c       |  7 +++++++
>   src/mesa/drivers/dri/i965/intel_regions.h   |  9 ++++++++-
>   src/mesa/drivers/dri/i965/intel_screen.c    |  1 +
>   src/mesa/drivers/dri/i965/intel_tex_image.c | 11 +++++++++++
>   4 files changed, 27 insertions(+), 1 deletion(-)

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the mesa-dev mailing list