Commit Graph

22 Commits

Author SHA1 Message Date
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 689657391e ImGui multi-viewports Compatible with desktop GLES 2020-09-16 20:16:32 +08:00
halx99 66ebe11bb4 Add ImGuiEXT::end to end game 2020-09-10 17:53:17 +08:00
halx99 f5250f1804 Add useful resource links [skip appveyor][skip travis] 2020-09-08 18:21:41 +08:00
halx99 89620c53c5 Fix readme example [skip appveyor][skip travis] 2020-09-08 17:06:12 +08:00
halx99 dcb3fd9116 Remove TODO 2020-09-08 16:31:11 +08:00
halx99 71954dac32 Refine code style 2020-09-08 16:15:40 +08:00
halx99 7619f957b8 Update ImGuiEXT readme[skip appveyor][skip travis] 2020-09-08 15:15:25 +08:00
halx99 db972a87d3 Merge: c01b11dbb0 a824eb4050
Merge pull request #199 from halx99/imgui-hdpi

ImGuiEXT improvements
2020-09-08 00:07:16 -07:00
halx99 52973784ca Checking condition for dirty ImGui device objects [skip appveyor][skip travis] 2020-09-08 14:21:26 +08:00
halx99 7f6b6dfa90 Update CMake scripts and readme 2020-09-08 13:44:59 +08:00
halx99 ddbb6bb0b9 Add ImGuiEXT test case for PC platforms 2020-09-08 13:38:16 +08:00
halx99 45b0b3ff78 ImGUIEXT addRenderLoop support global without any target scene 2020-09-07 23:21:15 +08:00
halx99 23cdbd734d More cleary comment [skip appveyor][skip travis] 2020-09-07 21:25:22 +08:00
halx99 18b5fd0df2 Update CCImGuiEXT.h 2020-09-07 21:22:03 +08:00
halx99 885c949956 Update ImGUIEXT readme [skip appveyor][skip travis] 2020-09-07 20:52:16 +08:00
halx99 20e5733c5e ImGuiEXT: hdpi support, Add APIs: scaleAllByDPI, addFont, clearFonts for more easy to use 2020-09-07 20:31:50 +08:00
halx99 f357b7207b ImGuiEXT manage ImGui render loop more clearly 2020-09-07 19:15:53 +08:00
halx99 c722d64876 Refine code 2020-09-07 14:15:09 +08:00
halx99 d3f4b0b77a Mac currently dosn't works on multi-viewports 2020-09-05 23:29:16 +08:00
halx99 ade15f070b Refine extension ImGui, and rename director to ImGuiEXT 2020-09-05 17:10:09 +08:00