Comments (5)
扩展函数当然并不是所有平台都支持,尤其桌面端目前其实都是借 PVRVFrame 这个第三方库实现的 GLES 转桌面 GL 的。引擎里初始化 device 时会先查询当前平台支持哪些,然后运行时走不同的 code branch。
from engine-native.
@Xrysnow 是有遇到什么问题吗?
from engine-native.
因为我看加载时是直接在动态库里取函数地址,但libGLESv2没有导出扩展函数,而个别地方直接调用了扩展函数,比如
https://github.com/cocos-creator/engine-native/blob/10c7d816a7c320836f84541202e30d299a5e2023/cocos/renderer/gfx-gles2/GLES2Context.cpp#L548
所以想确认一下win上的扩展函数是从哪里获得的
from engine-native.
libGLESv2没有导出扩展函数
当然有导出,也有加载,你这个结论是从哪来的。。
from engine-native.
应该是我理解错误了,dumpbin看不到,但不是直接取的。
from engine-native.
Related Issues (20)
- Android 11 API 30 crash HOT 10
- [CC 3.1.1] message truncate when send string
- [3.3.0] High energy comsumer and overheating on IOS HOT 12
- ErrorLog Failed to invoke JSB_showInputBox HOT 3
- Android evalString() HandleScope Initialize cause crash, creator version 2.4.6
- CanvasRenderingContext2D模块win32平台很多canvas接口是空实现
- What license applies to the code in this repo? HOT 4
- Android下WebViewImpl.loadData实际调用了setJavascriptInterfaceScheme
- fix native TODO
- no build V8 HOT 1
- 可以提供一个c++层的,场景树测试用例不?
- 2.4.8 谷歌后台很多native中的memcpy报错
- 3.4.2 发布(Archive))IOS发生错误 Static_assert failed due to requirement 'sizeof (*to) == 8' HOT 1
- 3.4.2 IOS Can not use UINavigationController HOT 1
- NodeJS is not found in $PATH
- without metal support? HOT 2
- Generate cocos-version.h with package.json
- 2.4.10 issue of getBatteryLevel on iOS HOT 2
- [3.7.0] iOS crash by calling cc::StencilManager::getDepthStencilState() on Batching process HOT 2
- v2.4.10 gulp init error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engine-native.