Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Chia-I Wu
2010/6/4 Kristian Høgsberg : > 2010/6/3 Chia-I Wu : >> 2010/6/3 Kristian Høgsberg : >>> 2010/6/3 Chia-I Wu : 2010/6/3 Kristian Høgsberg : >> But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR >> to be >> queryable, which is stemmed from using EGLImageKHR to r

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Chia-I Wu
2010/6/4 Jakob Bornecrantz : >> And also because the use case for it was solved in another way. But in >> defence of my create_image extension, its quite small and limited in >> scope. But in Chia-I fav the fact that we lack configs to say which >> formats we support is a bit sad. But I can also se

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Eric Anholt
On Thu, 3 Jun 2010 13:24:08 -0400, Kristian Høgsberg wrote: > On Thu, Jun 3, 2010 at 1:16 PM, Brian Paul wrote: > > Jakob Bornecrantz wrote: > >> > >> Currently these extensions try to address two use cases. Creating > >> Images to be shared between processes. Creating resources to be used > >> a

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Jakob Bornecrantz
> And also because the use case for it was solved in another way. But in > defence of my create_image extension, its quite small and limited in > scope. But in Chia-I fav the fact that we lack configs to say which > formats we support is a bit sad. But I can also see how this thing can > feature cr

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Jakob Bornecrantz
2010/6/3 Kristian Høgsberg : > 2010/6/3 Chia-I Wu : >> 2010/6/3 Kristian Høgsberg : >>> 2010/6/3 Chia-I Wu : 2010/6/3 Kristian Høgsberg : >> But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR >> to be >> queryable, which is stemmed from using EGLImageKHR to r

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Kristian Høgsberg
On Thu, Jun 3, 2010 at 1:16 PM, Brian Paul wrote: > Jakob Bornecrantz wrote: >> >> 2010/6/3 Chia-I Wu : >>> >>> 2010/6/3 Kristian Høgsberg : 2010/6/3 Chia-I Wu : > > 2010/6/3 Kristian Høgsberg : >>> >>> But it is less flexible IMHO.  Also, I am not convinced that >>>

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Brian Paul
Jakob Bornecrantz wrote: 2010/6/3 Chia-I Wu : 2010/6/3 Kristian Høgsberg : 2010/6/3 Chia-I Wu : 2010/6/3 Kristian Høgsberg : But it is less flexible IMHO. Also, I am not convinced that EGLImageKHR to be queryable, which is stemmed from using EGLImageKHR to represent pipe_resource. Using an E

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Jakob Bornecrantz
2010/6/3 Chia-I Wu : > 2010/6/3 Kristian Høgsberg : >> 2010/6/3 Chia-I Wu : >>> 2010/6/3 Kristian Høgsberg : > But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR > to be > queryable, which is stemmed from using EGLImageKHR to represent > pipe_resource. >

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Kristian Høgsberg
2010/6/3 Chia-I Wu : > 2010/6/3 Kristian Høgsberg : >> 2010/6/3 Chia-I Wu : >>> 2010/6/3 Kristian Høgsberg : > But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR > to be > queryable, which is stemmed from using EGLImageKHR to represent > pipe_resource. >

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Chia-I Wu
2010/6/3 Kristian Høgsberg : > 2010/6/3 Chia-I Wu : >> 2010/6/3 Kristian Høgsberg : But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR to be queryable, which is stemmed from using EGLImageKHR to represent pipe_resource. Using an EGLImageKHR also impl

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Kristian Høgsberg
2010/6/3 Chia-I Wu : > 2010/6/3 Kristian Høgsberg : >>> But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR to >>> be >>> queryable, which is stemmed from using EGLImageKHR to represent >>> pipe_resource. >>> Using an EGLImageKHR also implies that an implementation must imple

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-03 Thread Chia-I Wu
2010/6/3 Chia-I Wu : > 2010/6/3 Kristian Høgsberg : >>> But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR to >>> be >>> queryable, which is stemmed from using EGLImageKHR to represent >>> pipe_resource. >>> Using an EGLImageKHR also implies that an implementation must imple

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-02 Thread Chia-I Wu
2010/6/3 Kristian Høgsberg : >> But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR to >> be >> queryable, which is stemmed from using EGLImageKHR to represent >> pipe_resource. >> Using an EGLImageKHR also implies that an implementation must implement >> EGLImage in EGL/GLES

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-02 Thread Kristian Høgsberg
On Sat, May 29, 2010 at 6:35 PM, Chia-I Wu wrote: > Hi Jakob, > > I like the way the extensions are separated and presented.  But I have some > thoughts about the entrypoints and EGL types to use. > > To begin with, I think the goal of this series of extensions is to export a > subset of pipe_scre

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-06-01 Thread Chia-I Wu
On Sun, May 30, 2010 at 6:35 AM, Chia-I Wu wrote: > But it is less flexible IMHO.  Also, I am not convinced that EGLImageKHR to be > queryable, which is stemmed from using EGLImageKHR to represent pipe_resource. > Using an EGLImageKHR also implies that an implementation must implement > EGLImage i

Re: [Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-05-29 Thread Chia-I Wu
Hi Jakob, I like the way the extensions are separated and presented. But I have some thoughts about the entrypoints and EGL types to use. To begin with, I think the goal of this series of extensions is to export a subset of pipe_screen->resource_create, pipe_screen->resource_from_handle, and pip

[Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

2010-05-29 Thread Jakob Bornecrantz
Hi all! This patch series add a series of extension that enables an application to create stand alone images, get attributes from images, create images that are sutiable for scantout and sharing and finally get drm handles from images to be either shared or used with kms as scanouts. Each set of