halx99
b751d0e3fb
Use std::string_view directly
2021-12-16 18:54:16 +08:00
halx99
e042449393
Add utils::computeDigest for support more hash algorithm
2021-12-16 11:14:39 +08:00
halx99
1ee106007a
Remove all unnecessary nothrow
2021-12-08 00:11:53 +08:00
halx99
52e4d8571b
Improve code quality
2021-12-06 15:02:53 +08:00
halx99
7926f99655
Improve code style
2021-12-06 13:00:44 +08:00
halx99
554412f4fd
Use struct `Vec2` instead `Size`
2021-10-23 23:27:14 +08:00
姒嗘煶鏉?
35b658c90e
Merge: f5663f279c
d73d937894
...
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉?
0aff165959
[fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout.
2021-09-05 20:44:14 +08:00
rh101
4e7db23d38
Remove getLong() method
...
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
姒嗘煶鏉?
64e2cdd8d9
[fix]The problem of inaccurate maximum width limit when using system fonts.
2021-09-02 17:15:03 +08:00
rh101
d8fd94db8a
Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate.
2021-09-02 15:39:28 +10:00
halx99
42fdfe5565
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00
rh101
95cf5b5c2b
Merge: 2aa2d69151
b7506fed0c
...
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101
54ffa13dff
Move PosixFileStream class to its own files
...
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH
1e15ed4839
Merge: 2cef9f2e76
844119d162
...
Merge pull request #3 from c4games/master
Sync with master
2021-04-22 21:48:49 +10:00
rh101
7540c06fd3
Use FileStream to write JPG images to disk
2021-04-22 21:36:26 +10:00
halx99
8ed6d34234
Explicit set cmake minimum version at app/build.gradle [ci build]
2021-04-22 11:40:53 +08:00
rh101
2bf12b2226
Add support for virtual file system via custom FileStream and FileUtils implementations.
2021-04-22 03:15:49 +10:00
halx99
6904b9f3f3
Fix depth stencil state/desc ( #321 )
...
* Fix ds state
* fix 3d object not render
* Update DepthStencilStateGL.cpp
* fix ds, not complete
* fix image ref incorrect
* Fix metal captureScreen
* Share ds desc
needs restore properly after non-default render target destroy.
* fix gl compile
* Sync ds desc
* Only set vertex & index buffer once for batch draw
* Add set/get ds desc for renderer
* Refine code style
* Fix RenderTextureTest
a. should restore stencil desc properly
* Sync gl captureNode
* Sync GL
2021-01-31 22:22:52 +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
e91b7240e6
captureScreen compatible, saveFile at offthread
2020-09-15 14:12:00 +08:00
halx99
b956637c74
Fixup
...
OpenGL: read screen pixels only works: AFTER_DRAW and BEFORE_END_FRAME
2020-09-14 17:43:44 +08:00
halx99
c542037e7c
Needs readPixels at CallbackCommand
...
Avoid read dirty pixels
2020-09-14 17:20:07 +08:00
halx99
81e78573e6
Refine code
2020-09-13 19:16:59 +08:00
halx99
d4887b8584
No need CaptureCommand for capture screen or node
2020-09-13 13:27:50 +08:00
halx99
0365122f4a
v4 captureScreen API compatiable, gl needs flip always for capture
2020-09-11 11:57:55 +08:00
halx99
d2acbe176e
finish gl backend
2020-09-11 01:19:10 +08:00
halx99
671b6b4ca9
Tidy code
2020-09-11 00:10:44 +08:00
halx99
dc3796d746
Refine code
2020-09-10 21:38:24 +08:00
halx99
e283a4fca0
Refactor capture, fix data race for apple metal reanderer backend
2020-09-10 21:14:28 +08:00
halx99
09cedf60b2
Improve images decoder
2020-08-31 21:04:47 +08:00
halx99
e96ae229dd
Merge: 5ddc84bbee
539e5ca42c
...
Merge pull request #189 from aismann/patch-8
Update README.md
2020-08-31 04:27:33 -07:00
halx99
a87c0bba78
More clearly data owner when decode images.
2020-08-31 19:24:23 +08:00
halx99
d0c01ea688
Merge: 6be52c29e7
9d7d1e40fb
...
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-26 12:46:51 +08:00
halx99
6df5f91142
Sync LayoutHelper APIs
2020-08-26 12:46:41 +08:00
halx99
8d7a5ab3c6
finish killCurrentProcess implementation on windows
2020-08-26 10:36:33 +08:00
halx99
6fe10e8809
Add utils::killCurrentProcess API to kill game immidiately
2020-08-25 23:12:26 +08:00
halx99
d4f6ac6482
Optimize downloader
2020-01-04 22:25:01 +08:00
halx99
8df3d5e274
Init Commit
2019-11-23 20:27:39 +08:00