Re: [dev-servo] Dropping CEF support?

2018-01-30 Thread Lars Bergstrom
I've talked with the CEF owner, Mike from Samsung, and given how long the
blocking issues (see below) have been open and preventing use of or
additional work on CEF, he's OK with removing the support.
- Lars

https://github.com/servo/servo/issues/10274

https://github.com/servo/servo/issues/17663

https://github.com/servo/webrender/issues/933

https://github.com/servo/servo/issues/4024


On Mon, Jan 29, 2018 at 9:49 PM, Paul Rouget  wrote:

> > What does "3rd party project" mean in this case? It's not clear to me
> how you could do a CEF wrapper externally without forking and removing
> glutin entirely.
>
> Why do we need glutin for CEF? If I'm not mistaken, the only part of
> glutin that is useful in this case is creating the GL buffer, right?
> And that's not hard to do manually.
> So CEF could live in another project. Use servo as a dependency. Like
> we did for servoshell (where we don't rely on Glutin). All we need to
> do is 1) create the gl buffer, 2) implement a simple event loop, 3)
> forward the events as needed. We don't need glutin for that.
>
> I might be missing something though. Let me know.
>
> > What is the full set of features we're missing in upstream glutin?
>
> Reparenting. Logo support.
>
> > And can we uplift them?
>
> Likely. But that requires some work (logo support should be easy).
>
> My reasoning is because of 1) CEF is not maintained, 2) CEF could be
> designed better (no dependency on glutin), 3) we need to unfork
> glutin; dropping CEF would make our life easier.
>
> In the future, if anyone is interesting in maintaining CEF, they can
> revive the old code (using glutin or not, and as part of servo/ports
> or not).
>
> Embedding is possible today, on Desktop and mobile, but not via CEF.
> If we decide that embedding *via CEF* is important now, then I'm happy
> to try to upstream the reparenting code.
>
> This will just delay unforking glutin more. That's it.
> ___
> dev-servo mailing list
> dev-servo@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-servo
>
___
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo


[dev-servo] embedding as a separate program/process [WAS: Dropping CEF support?]

2018-01-30 Thread Enrico Weigelt, metux IT consult via dev-servo

On 30.01.2018 03:12, Lars Bergstrom wrote:

Hi folks,


At a higher level, I guess I'm concerned that CEF is the only vehicle we > 
currently have for testing Servo within a full-featured browser shell.


I'd like to propose a different approach:

Let servo be an entirely separate program, which just happens to be
called and controlled by an embedding application - similar to what
surf+tabbed are doing.

Following this idea, I'd also move out other things to their own server
programs, eg. certificate validation, TLS handling, application
protocols (http, ftp, ...). Doing it the Plan9 way. This approach would
also allow easy customizing the browser w/o opening the pandorras box
of an extension system.

Yes, that would introduce some more context switches, but IMHO they
shouldn't hurt so much here (the traffic should be pretty low - compared
to things like databases).


--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
___
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo