Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCanvas 如何同Android WebView搭配开发呢? #182

Open
suntabu opened this issue Oct 28, 2020 · 3 comments
Open

GCanvas 如何同Android WebView搭配开发呢? #182

suntabu opened this issue Oct 28, 2020 · 3 comments

Comments

@suntabu
Copy link

suntabu commented Oct 28, 2020

搜遍全网没有找到相关的例子,源码里面也没有太多相关信息,
请指教一下~,谢谢

@jwxbond
Copy link
Contributor

jwxbond commented Nov 4, 2020

GCanvas是独立的TextureView,Android的WebView可以考虑同层渲染的方式一起配合。

@suntabu
Copy link
Author

suntabu commented Nov 4, 2020

你好,感谢回复!
我不是很明白你说的同层渲染的方式是什么意思,可以更详细的说明一下嘛,感谢!

@suntabu
Copy link
Author

suntabu commented Nov 5, 2020

@jwxbond 你好, 我搜索了解了同层渲染的方式,这个技术方案似乎不能解决我的问题。
我应该没描述清楚我目前的情况:
我现在想把Unity导出的webgl游戏使用Gcanvas来渲染,但是导出的webgl游戏只能从webview来启动,而且渲染性能不高。
那么如何让webview里面的h5canvas被Gcanvas替代渲染呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants