[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macOS metal rendering engine in mac port
From: |
Alan Third |
Subject: |
Re: macOS metal rendering engine in mac port |
Date: |
Sat, 29 May 2021 10:44:23 +0100 |
On Sat, May 29, 2021 at 12:39:27PM +0300, Eli Zaretskii wrote:
> > Date: Sat, 29 May 2021 12:37:00 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: aaronjensen@gmail.com, emacs-devel@gnu.org
> >
> > I cannot see why this would be a problem. First, FACE_FROM_ID and
> > FACE_FROM_ID_OR_NULL simply access a face by direct indexing into the
> > frame's face cache, so it's just a couple of CPU instructions. And
> > second, I see very similar code in other *term.c sources, so I don't
> > think nsterm.m does it very differently.
>
> Of course, what I say above doesn't include ns_lookup_indexed_color,
> so maybe that could explain some slowness?
No, it looks like a simple lookup into an array too.
--
Alan Third
- Re: macOS metal rendering engine in mac port, (continued)
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/29
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port,
Alan Third <=
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Tim Cross, 2021/05/23