From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Analysis of redisplay performance on Windows Date: Wed, 30 Jul 2008 22:51:47 +0100 Message-ID: <4890E273.7040001@gnu.org> References: <87od4kuis1.fsf@stupidchicken.com> <488C45FF.2040509@gnu.org> <87tzebnizu.fsf@stupidchicken.com> <488CE8F6.5080001@gnu.org> <87iqurhupv.fsf@stupidchicken.com> <488CEE6B.6020600@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217454778 27769 80.91.229.12 (30 Jul 2008 21:52:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 21:52:58 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 30 23:53:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KOJbd-0006tE-6h for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 23:53:13 +0200 Original-Received: from localhost ([127.0.0.1]:57500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOJai-00078l-3X for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 17:52:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOJab-00077a-VW for emacs-devel@gnu.org; Wed, 30 Jul 2008 17:52:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOJaa-000778-Gy for emacs-devel@gnu.org; Wed, 30 Jul 2008 17:52:09 -0400 Original-Received: from [199.232.76.173] (port=48455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOJaa-00076v-9i for emacs-devel@gnu.org; Wed, 30 Jul 2008 17:52:08 -0400 Original-Received: from mk-outboundfilter-5.mail.uk.tiscali.com ([212.74.114.1]:16131) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOJaZ-0002FK-Dz for emacs-devel@gnu.org; Wed, 30 Jul 2008 17:52:07 -0400 Original-X-Trace: 63648927/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcEADd/kEhTQxds/2dsb2JhbACBW4lEpzQ X-IronPort-AV: E=Sophos;i="4.31,281,1215385200"; d="scan'208";a="63648927" X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 30 Jul 2008 22:52:05 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 9C2FF1B7; Wed, 30 Jul 2008 22:52:38 +0100 (BST) User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101770 Archived-At: YAMAMOTO Mitsuharu wrote: >> According to the document below, Uniscribe seems to provide some >> mechanism to defer heavy operations such as get_frame_dc and >> SelectObject. Yes, that seems to work if we switch to using uniscribe for encoding characters. Since the gdi backend is only used for bitmap fonts and older versions of Windows, I've switched off glyph indexing there for a similar performance improvement. It hasn't had as bad an effect as I expected with false positives when detecting support for a character.