Commit Graph

21 Commits

Author SHA1 Message Date
halx99 2b6cb88167 Clearly texture usage and TextureGL initWithZeros usage (#219)
* Clearly texture usage and TextureGL initWithZeros usage

* More properly function name
2020-09-25 15:04:55 +08:00
halx99 cca0739793 Refactor pixel format manipulate (#217)
* PixelFormat use table

* Correct PixelFormat name to match 'GL_LUMINANCE'

* Up

* fix cube update texture enum

* linux build

* Refine ci

* fix linux build

* Remove unused function, match mtl framebuffer pixel format

* readPixels always RGBA format

* fix ci for linux

* fix linux build

* Remove unused functions

* fix travis

* fix android ci

* Update config.json

* linux glad

* Update CCGLViewImpl-desktop.cpp

* fix linux build

* Fix linux build

* Link issue [skip appveyor][skip travis]

* Update CMakeLists.txt

* Refine GL enums use

* Update test case name [skip appveyor][skip travis]

* fix linux link issue

* for mtl

* fix ci

* Tidy pixelformat enums

* fix ci

* fix rgba8 to abgr4 error

* fix ci

* fix ci for GLES

* Fix linux build, require glibc-2.27+

* Use properly dist for travis [skip appveyor]

* fix linux build [skip appveyor]

* Update install-deps-linux.sh

* Remove unused members for pixel block info, update external to v73

* Sync from compile linux warnings

* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format

* metal doesn't support rgb8 (#3)

* Update CCTexture2D.cpp

* Refine code

* Pixel Format Descriptor Table

* fix ci

* BGR5A1

* Simplfy texture format convert function name

* Update

* rgba4 match mtl render format

* Add note about RGBA4

* Remove unused function

* fix osx

* Already converted at texture2d

* Clearly comment

* fixup
2020-09-25 11:07:56 +08:00
halx99 6e7e117a0d RenderTarget abstract, in-progress (#210)
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99 66161f982a Remove unused comment 2020-09-11 12:14:40 +08:00
halx99 e53fa3560b Prepare 2020-09-11 00:14:03 +08:00
halx99 4bb44288a5 Fix GL renderer backend API updateCompressedSubData will cause OpenGL 502 error 2020-09-03 18:03:43 +08:00
halx99 32549195cf fix multi-texture2d support 2020-08-29 16:56:48 +08:00
halx99 cccb66f1ae fix memory leak & correct indent 2020-03-30 14:54:13 +08:00
halx99 82808a321d Remove duplicated code 2020-02-17 20:21:43 +08:00
halx99 584ee96a89 Fix adjust issue at Texture2DGL::initWithZeros 2020-02-17 00:13:56 +08:00
halx99 bc343072ce Call initWithZeros at constructor once is works 2020-02-15 17:35:44 +08:00
halx99 8d0d83b2ee fix ci error 2020-02-15 03:10:01 +08:00
halx99 e065f94aa4 Remove unnecessary constructors. 2020-02-15 02:58:41 +08:00
halx99 3ebacd33e9 Refine STMGT 2020-02-15 02:36:02 +08:00
halx99 f1df405e82 fix #53 2020-02-14 15:18:56 +08:00
halx99 aaddb886c7 multi texture GPU handler for compressed image 2019-12-01 23:26:11 +08:00
halx99 0ab49ddf22 Merge: 98a3bd35f0 f332ae77c1
Merge branch 'master' of https://github.com/simdsoft/engine-v5
2019-11-24 23:16:11 +08:00
halx99 441e1f1283 Remove tinyxml, integrate dragonbones. 2019-11-24 23:15:56 +08:00
halx99 8706af9878 Remove unused log. 2019-11-24 21:02:41 +08:00
halx99 b9d52cc264 fix ci error 2019-11-23 21:25:17 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00