From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aiko Kyle Newsgroups: gmane.emacs.devel Subject: Re: Multimedia dashboard in GNU Emacs Date: Thu, 30 Dec 2021 19:39:34 -0700 Message-ID: References: <87pmpm2v4b.fsf@gnus.org> <874k6ye2w4.fsf@yahoo.com> <87wnjq1vwn.fsf@yahoo.com> <87zgoj5ycl.fsf@tanaka.verona.se> <87ee5usy5x.fsf@yahoo.com> <87v8z6py7p.fsf@yahoo.com> <87lf02pujw.fsf@yahoo.com> <87ilv5mvxf.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Anand Tamariya , joakim@verona.se, Emacs Devel To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 31 03:41:39 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n37rO-000ARH-Fc for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 03:41:38 +0100 Original-Received: from localhost ([::1]:44916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n37rM-0000pq-QF for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 21:41:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n37pf-0007on-9o for emacs-devel@gnu.org; Thu, 30 Dec 2021 21:39:51 -0500 Original-Received: from [2a00:1450:4864:20::12e] (port=38610 helo=mail-lf1-x12e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n37pd-00047r-N9 for emacs-devel@gnu.org; Thu, 30 Dec 2021 21:39:50 -0500 Original-Received: by mail-lf1-x12e.google.com with SMTP id x6so5068607lfa.5 for ; Thu, 30 Dec 2021 18:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K7T3TZ+9PsBJdQBkE4Tw6frx+UgltQzHS32b6LS6zw8=; b=iyPAnSPKnt/Z0SW5TRg12jjrOd+ZmyPh2OXOrd/HOwo9QCtdwX5Z66d8aEQqPTn2n6 hc5G9xsjsyec/m3T0GpTNiIeBVI0ZuvW03nB76W7BZw6B2EWupN+/TKZGD+H5wYyC7pf JbFZbxKrLe9PMa6WN8YJ0qruFfqZZQnROOAzg2/kofABKa3EpAj1zcjzNXvd8y1uNGE5 T5dqkXcOtYjzDQoyrOeWag5FMfx78QUarirvpSbD3IEERWPIMW4DOJEjK3O/M3HByKad sfz28A+ypjN/UNzEUWjwo40d2zpMuEAx6Jg+QuEYnahkfHqbFHYmvb6CAiLmhw6yvGrI yGXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K7T3TZ+9PsBJdQBkE4Tw6frx+UgltQzHS32b6LS6zw8=; b=A/3vGm8tCtmpIfjdKStH89jXpqw9KOeogWwjwnFS2k1DKj9RsJGCmOGCbTA4fx1TOz CMjV1m1rrvu5ObBslz37UEaPTaL7nZ146FDH9NZzW7/4wWfEDv0M9yAiDj8SFUp87vek 9chAAbVQK41HU5hFG3uL1KoDKcIRmxREGnBeOKh8sYnkcC3ri/g2Aehwz2vO+5tgxlXu HtWqz65gxXyDmisRgkokrGD9TYOAUn6Ak6Gn+aMY7/opuMBiBx3DI8acHOGbHMX2RwlR D/9L5PZuhMUSevlroQb7XwYbX/6yib0gYSwLTcJAOLWYWzQK/ZeyOHLnioygs3HKUzxt X0cw== X-Gm-Message-State: AOAM530fVCfnDfNVc1YV77ur0L0q6a7Jg+4tviqJTP9FsSB/YwwKJEuO xS42BaqMJ2eZOFFwhAptOz5yf+KYfmnK1VtyEhc= X-Google-Smtp-Source: ABdhPJywuUxRsg/Zys5XpldXCWAC356i72kmb+9GiemHrN689kNDwH5z1RImDRvE6V+TnOUg1p7Iue0Lo4VQRp/OPfw= X-Received: by 2002:ac2:490f:: with SMTP id n15mr13603036lfi.141.1640918385850; Thu, 30 Dec 2021 18:39:45 -0800 (PST) In-Reply-To: <87ilv5mvxf.fsf@yahoo.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=aikokyle@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283694 Archived-At: On Thu, Dec 30, 2021 at 5:59 PM Po Lu wrote: > > Aiko Kyle writes: > > > As I see. So in this idea, the entire webpage would be rendered in the > > case of a xwidget webkit? That seems like it would be costly for > > especially large webpages. > > WebKit in general tends to choke on large webpages, so I'm not too > worried. > Are you actually thinking about implementing this idea? > > Do you then plan on implementing other xwidget types besides the > > webkit one? I think with respect to the UI, osr makes more sense for > > other widget types like buttons. > > Yes, there will be a GStreamer widget: it will use multiple video sinks > connected to a single tee, allowing for a source to be displayed in > multiple windows without offscreen rendering. > I'll be interested to see how that integrates with the existing xwidget code. > > I agree the offscreen rendering is more general, however it seems to > > me to add significant complexity that would be unnecessary if the UI > > for it doesn't require it. Especially since the one-to-one webkit > > buffer-window paradigm already has to be accounted for on ns, where > > osr isn't available. > > I consider that a bug, but I don't know enough about NS development to > fix it. According to the author of nsxwidget.m and their comment at the top of the file, it's maybe not technically possible. I think rendering to offscreen surfaces probably breaks assumptions the webkit developers make, and the situation will likely only get worse as browsers are increasingly hardware accelerated.