离屏&嵌入式浏览器比较(用于游戏) [英] Offscreen & embeddable browsers comparison (for use in a game)

查看:36
本文介绍了离屏&嵌入式浏览器比较(用于游戏)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在考虑为我们的 C++ 应用程序添加合适的浏览器支持;这个问题是关于独立于 GUI 的浏览器库的,因为我们的项目涉及 3D 渲染并且不太适合普通的 GUI.

We've been looking at adding decent browser support to our C++ application; this question is about GUI-independent browser libraries since our project involves 3D rendering and doesn't quite fit a normal GUI.

目前我看到的两个是 Berkelium很棒.从我的快速调查来看,两者似乎都以类似的方式工作,渲染到一个屏幕外缓冲区,您可以将其写入自己的窗口/游戏/任何东西.Awesomium 是专有的,成本相当高(5000 美元),Berkelium 是开源且免费的.有没有人比较过这些(和其他)这样的工具?跨平台是一种优势,但并非 100% 必不可少.

The two I've seen so far are Berkelium and Awesomium. Both seem to work in a similar way from my quick investigation, rendering to an offscreen-buffer which you blt into your own window/game/anything. Awesomium is proprietary and costs a fair amount ($5k), Berkelium is open-source and free. Has anyone compared these (and other) such tools? Cross-platform is a benefit but not 100% essential.

推荐答案

查看 Chromium 嵌入式框架.CEF 3 支持所有操作系统的离屏渲染:Windows/Mac/Linux.

Take a look at the Chromium Embedded Framework. CEF 3 supports off-screen rendering on all operating systems: Windows/Mac/Linux.

这篇关于离屏&嵌入式浏览器比较(用于游戏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆