Skip to content

Conversation

@aspsnd
Copy link
Contributor

@aspsnd aspsnd commented Aug 3, 2021

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

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:

@aspsnd aspsnd changed the base branch from dev to dev1.1 August 3, 2021 03:45
@fanmingfei fanmingfei changed the base branch from dev1.1 to dev August 3, 2021 08:58
@fanmingfei fanmingfei changed the base branch from dev to dev1.2 August 19, 2021 07:31
@fanmingfei fanmingfei linked an issue Sep 9, 2021 that may be closed by this pull request
});
});

const gl = (this.application.renderer as WebGLRenderer).gl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要改一下 后面使用gl

}

const formats = getSuportCompressedTextureFormats(gl) ?? {};
if (!formats) return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多余

@fanmingfei fanmingfei merged commit 24a4e22 into dev1.2 Sep 16, 2021
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support texture compression format.

3 participants