From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH 4/4] uxa/glamor: Create glamor pixmap by default. Date: Wed, 28 Dec 2011 14:26:38 +0000 Message-ID: References: <1324976958-31411-1-git-send-email-zhigang.gong@linux.intel.com> <1324976958-31411-5-git-send-email-zhigang.gong@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id A071B9E790 for ; Wed, 28 Dec 2011 06:26:49 -0800 (PST) In-Reply-To: <1324976958-31411-5-git-send-email-zhigang.gong@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: zhigang.gong@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, 27 Dec 2011 17:09:18 +0800, zhigang.gong@linux.intel.com wrote: > From: Zhigang Gong > > As a pure glamor pixmap has a local texture rather than > bind a pixmap to a external BO. This can avoid some > unecessary flush, and can achieve better performance. > The testing on my machine shows that aa10text/rgb10text > get about 20-30% performance improvement. How do we get the name back for a pixmap created by glamor and then attached to a DRI2Drawable? And then once that name is exposed, how do you prevent GL from recreating the bo attached to the pixmap? -Chris -- Chris Wilson, Intel Open Source Technology Centre