From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Native image rotation Date: Sun, 24 Feb 2019 23:00:40 +0000 Message-ID: <20190224230040.GA67718@breton.holly.idiocy.org> References: <20190224113050.GA67303@breton.holly.idiocy.org> <83tvgtnoyh.fsf@gnu.org> <83o971nkjo.fsf@gnu.org> <83k1hpniqu.fsf@gnu.org> <838sy5ngok.fsf@gnu.org> <837edpng7p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8249"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.11.2 (2019-01-07) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 00:01:27 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gy2lv-0001rq-H1 for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2019 00:01:23 +0100 Original-Received: from localhost ([127.0.0.1]:57144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gy2lu-0004ZD-9B for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2019 18:01:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gy2li-0004Yi-Ca for emacs-devel@gnu.org; Sun, 24 Feb 2019 18:01:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gy2lg-0001jg-Bi for emacs-devel@gnu.org; Sun, 24 Feb 2019 18:01:10 -0500 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:37087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gy2lT-0001UE-Fp; Sun, 24 Feb 2019 18:00:56 -0500 Original-Received: by mail-wm1-x336.google.com with SMTP id x10so6337108wmg.2; Sun, 24 Feb 2019 15:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=0DUql453u2WJMU2UB+lO4VfmF0T1BqP8R8n3V0ZjXZQ=; b=GM+5IzE512GMPrNZAKx7a/tXRLk2hGgzlLqGyj+njy0NfcOsHX46LUxcsd75RA33fy for2w1zBEM0L5G6uZxfBZoWBOzBxFher3cecFH62uEyHlar23Ca9K7GE57nputJxKlpc fxe5Yfqa2CivJNKjKSbayVFPOrLnasOafoFaMq3F6kEwh76qvHEDlmlInFwJmR1V8woq kdBlXSoEPfpDjLb6YCjnZpwoWw8QaKPoXCnAwcGturwF8TSmIx2f1UA9Vz8HJLOTNJrc o7TLfXawfz08uvI6AxpIjF4tG9qA3JoWykUX6PCBoEvAQEMuvPSlpvXNJxM8oMos5pgt oHKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=0DUql453u2WJMU2UB+lO4VfmF0T1BqP8R8n3V0ZjXZQ=; b=PZBh9rH+mEoAvRpSqr3sVCayPmdcJL7BgbxbsxCK7nR664ftHvU1lvyQ9gybW3/YjN 7KnkFveHftW17SRH0ue48wTpe8ySK3q2Cy0ebjZ5qL89GKkb4pbqB88Si1kvurmYpz0I 4WtXMfZkbDxCAgfXYn6noUGpCxvP31MCnbYeYMMOi0RVI0xQsjEeAIXpj4X5bid+uPp7 bNexp6GjaTI8P8365M/hhtG/1gMzI8vWkm3FT3aGrdt3yusIChdj4EIYYeQHgArMmTy0 Mii9Yclum7CgYKHwLoE3DvhYocEo3QgOH7OvszLRjIbyJU8oYMFVN8ILaptboswQs5hN xy6Q== X-Gm-Message-State: AHQUAuYKXV09Uv2ieXZLU5Zj27jkG5uTk4Cc+K7L2ZIOGfzHPU6WnVt0 yepMy2I0nga/OReiNFyj0tWWIkUT X-Google-Smtp-Source: AHgI3IbLsCX3HR77aJiGLY4zoRyKRL7/mzUJ/zYia9kJZfUY9yxTvby8Tm/4hzJuaY0q0yGMMbOuPA== X-Received: by 2002:a1c:2e85:: with SMTP id u127mr9450545wmu.45.1551049243021; Sun, 24 Feb 2019 15:00:43 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-2116-b59c-3958-9dbd.holly.idiocy.org. [2001:8b0:3f8:8129:2116:b59c:3958:9dbd]) by smtp.gmail.com with ESMTPSA id z10sm5328128wml.39.2019.02.24.15.00.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Feb 2019 15:00:42 -0800 (PST) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::336 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233583 Archived-At: On Sun, Feb 24, 2019 at 03:08:25PM -0500, Stefan Monnier wrote: > > Actually, I'm not sure I understand the question. What do you mean by > > "cache does post-rotation"? > > I assume that the images go through various steps starting from the > Elisp image descriptor and finishing with the final on-screen pixels > being drawn. My question was if, along this "pipeline", Emacs's image > cache is placed before or after the rotation operation. The maths for the rotation happen before the cache, the actual rotation happens after, but should be hardware accelerated. If hardware acceleration isn’t available, we simply ignore the transformations. -- Alan Third