Please see the comments, thanks.
Luo Xionghu
Best Regards
-Original Message-
From: Guo, Yejun
Sent: Monday, August 31, 2015 1:41 PM
To: Luo, Xionghu; beignet@lists.freedesktop.org
Cc: Luo, Xionghu
Subject: RE: [Beignet] [patch v2 2/3] enable create image 2d from buffer in
clCreateImage
4 comments inline, thanks.
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
xionghu@intel.com
Sent: Friday, August 28, 2015 3:52 PM
To: beignet@lists.freedesktop.org
Cc: Luo, Xionghu
Subject: [Beignet] [patch v2 2/3] enable create image 2d
On Fri, Aug 28, 2015 at 12:52 AM, wrote:
> From: Luo Xionghu
>
> this patch allows create 2d image with a cl buffer with zero copy.
> v2: should use reference to manage the release the buffer and image.
> After being created, the buffer reference count is 2, and image reference
> count is 1.
> i
From: Luo Xionghu
this patch allows create 2d image with a cl buffer with zero copy.
v2: should use reference to manage the release the buffer and image.
After being created, the buffer reference count is 2, and image reference
count is 1.
if image is released first, decrease the image reference