-
Notifications
You must be signed in to change notification settings - Fork 108
Feat/compressed #84
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
Merged
Merged
Feat/compressed #84
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fanmingfei
approved these changes
Sep 15, 2021
fanmingfei
reviewed
Sep 16, 2021
| }); | ||
| }); | ||
|
|
||
| const gl = (this.application.renderer as WebGLRenderer).gl |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要改一下 后面使用gl
fanmingfei
reviewed
Sep 16, 2021
| } | ||
|
|
||
| const formats = getSuportCompressedTextureFormats(gl) ?? {}; | ||
| if (!formats) return |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多余
terrykingcha
pushed a commit
that referenced
this pull request
Oct 12, 2021
* Feat/compressed (#84) * fix: merge * compressed examples * change some format when export a type * get compressed texture extension when needed * delete tsconfig.json useless dots * change tsconfig.josn islatedModules for publish * release: v1.1.0-beta.2 * fix: avoid compress index.ts be tree shaked * add single tsconfig.json for vite * fix: vite.config.js for es5 * release: v1.1.1-beta.0 * fix: add @pixi/constants to package.json * format * fix: calculate width and height * fix: backgroundColor type * dev mipmap * feat: support pvrtc scale * fix: 不销毁img * feat: 销毁cpu内存 * feat: export resourceLoader * fix: 兼容压缩纹理不支持webglgl的情况 * feat: webgl 才使用压缩纹理 * fix: type * release: v1.2.0-alpha.0 * fix: resourceloader * release: v1.2.0-alpha.1 * fix: 处理被放在一个对象里面的类不能被继承问题,TS4020错误 * release: v1.2.0-alpha.2 * fix: update __ENV__ * fix: update extension check * fix: remove const from renderer * fix: get fomats with system * fix: update formats * fix: update cpu memory * fix: cr bug Co-authored-by: fanmingfei <az8641683@163.com> * release: v1.2.0-alpha.3 * release: v1.2.0-alpha.4 * release: v1.2.0-alpha.5 * fix: add zIndex params for A11ySystem & div insertBefore canvas * fix: add zIndex params for A11ySystem & div insertBefore canvas (#147) * fix: add zIndex params for A11ySystem & div insertBefore canvas * release: v1.2.0-alpha.6 * fix: reset dependencies for a11y * release: v1.2.0-alpha.7 * fix: spine38 clone node bug * release: v1.2.0-alpha.8 * fix: protect transtion method Co-authored-by: aspsnd <46017470+aspsnd@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: