unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* NS (darwin):  What is the utility of update_window?
@ 2019-07-28  2:47 Keith David Bershatsky
  0 siblings, 0 replies; 2+ messages in thread
From: Keith David Bershatsky @ 2019-07-28  2:47 UTC (permalink / raw)
  To: Emacs Devel

It is my understanding that 7946445962372c4255180af45cb7c857f1b0b5fa provides compatibility with MacOS (Mojave) by restricting Emacs in such a way that nothing is written to the glass until the OS normally draws rectangles during the redisplay cycle -- forcing everything to happen with drawRect (expose_frame).

Other than marking dirty rectangles during update_window, does anything else useful occur during update_window on the NS port of Emacs?  If so, what else is accomplished during update_window?

BACKGROUND:  Based upon my observations, it would appear that Emacs does extra work on the NS port that is not needed on the W32 and X11 ports.  Whereas the W32 and X11 ports can update the glass during update_window, the NS port has to wait until a later point in time to accomplish almost same thing (but not as well).



^ permalink raw reply	[flat|nested] 2+ messages in thread

* NS (darwin):  What is the utility of update_window?
@ 2019-07-28  3:13 Keith David Bershatsky
  0 siblings, 0 replies; 2+ messages in thread
From: Keith David Bershatsky @ 2019-07-28  3:13 UTC (permalink / raw)
  To: Emacs Devel

PS:  I am aware that the desired_matrix is compared to the current_matrix, and that the current_matrix is brought up to date during update_window....  The question in the initial post was essentially geared towards ascertaining whether anything is actually changed on the glass during update_window on the NS port of Emacs.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-28  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-28  3:13 NS (darwin): What is the utility of update_window? Keith David Bershatsky
  -- strict thread matches above, loose matches on Subject: below --
2019-07-28  2:47 Keith David Bershatsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).