coulsonwang
4acd7ca62a
fix metal crash ( #2491 )
...
* fix metal crash
* fix review
2020-05-27 17:46:20 +08:00
CocosRobot
94d0bc4bdd
[AUTO][ci skip]: updating cocos2dx_files.json ( #2485 )
...
* [ci skip][AUTO]: updating jsbinding automatically
* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-26 09:51:49 +08:00
CocosRobot
fabdac2eaa
[ci skip][AUTO]: updating jsbinding automatically ( #2484 )
2020-05-25 18:40:55 +08:00
coulsonwang
6093b65ca2
fix metal buffer usage ( #2477 )
...
* fix metal buffer usage
* fix cmake
* synchronize the managed buffer
2020-05-25 18:28:08 +08:00
CocosRobot
bd0b835095
[ci skip][AUTO]: updating jsbinding automatically ( #2480 )
2020-05-22 09:53:34 +08:00
江战
0add0fb5d6
CI enable release builds for win32 / 3dgfx ( #2475 )
...
* enable release builds
* uppercase path for glsl/Public/ShaderLang.h
* add non quiet
* remove android debug build
* keep android debug
2020-05-22 09:45:46 +08:00
Yun Hsiao Wu
b15292ebd7
gfx-vk: all c++ test cases cleared ( #2461 )
...
* vk: switch to VMA
* vk: remove viewport hacks
* vk: JSB bindings
* minor
* API change metal sync
* device.acquire
* fix ci
2020-05-20 17:51:44 +08:00
江战
7d5dcf4281
catch exception when ScriptEngine::evalString / 3dgfx ( #2468 )
...
* - catch exception when evalString
- fix CMake resource path / win32
* remove unused variables
2020-05-20 14:08:45 +08:00
CocosRobot
8091eee5c8
[ci skip][AUTO]: updating jsbinding automatically ( #2469 )
2020-05-20 14:06:57 +08:00
coulsonwang
6e588895a7
set clear action for metal attachments ( #2451 )
...
* set clear action for metal attachments
* update review
2020-05-19 14:23:31 +08:00
江战
f0d2b6d268
update ( #2459 )
2020-05-19 14:21:14 +08:00
江战
1748a533a7
init pthread key p_key ( #2460 )
2020-05-19 14:02:12 +08:00
江战
1ab5d5ab80
3dgfx use v8 exposed GC function ( #2463 )
...
* use gc
* expose c
* reset _gcFunc
2020-05-19 14:00:18 +08:00
CocosRobot
21d53cdf0c
[AUTO][ci skip]: updating cocos2dx_files.json ( #2456 )
2020-05-15 14:31:12 +08:00
江战
725ee401e2
3dgfx update v8 to version 8.0 ( #2446 )
...
* update v8 api
* use cmake on android
* update ios target version for simulator
* keep ANativeActivity_onCreate
* update v8 on win32
* update resource dir for win32
* update external/config.json
* Update tools/travis-scripts/run-script.sh
* Update tools/travis-scripts/run-script.sh
* should not set ANDROID_PLATFORM manually
2020-05-15 14:20:47 +08:00
CocosRobot
3e7fc385ba
[AUTO][ci skip]: updating cocos2dx_files.json ( #2454 )
...
* [ci skip][AUTO]: updating jsbinding automatically
* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-14 15:21:21 +08:00
CocosRobot
39736efe79
[ci skip][AUTO]: updating jsbinding automatically ( #2453 )
2020-05-14 15:21:02 +08:00
coulsonwang
22c95720cf
revert -DANDROID_PLATFORM ( #2447 )
...
* revert -DANDROID_PLATFORM
* update external version
2020-05-14 15:10:40 +08:00
coulsonwang
dd97ee7e4b
use static build for CoreDef ( #2449 )
2020-05-14 15:10:21 +08:00
coulsonwang
6709d2894c
add error log for texture and texture view ( #2432 )
...
* add error log for texture and texture view
* add error log for VkTextureView
2020-05-14 15:08:56 +08:00
江战
c2439db94e
add v8 bytecode support ( #2434 )
...
* add bytecode
* update order & add comments
* Update cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.cpp
2020-05-14 15:08:26 +08:00
coulsonwang
39311c0cfc
fix metal compile issue ( #2429 )
2020-05-12 11:28:55 +08:00
CocosRobot
7e2d182772
[AUTO][ci skip]: updating cocos2dx_files.json ( #2437 )
...
* [ci skip][AUTO]: updating jsbinding automatically
* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-12 11:19:52 +08:00
coulsonwang
e97662e27c
uncomment device motion ( #2431 )
2020-05-12 11:11:33 +08:00
Yun Hsiao Wu
9f9f8056bf
effect: shader stages ( #2427 )
...
* vk: descriptor sets
* vk: explicit device.begin
resize now works
* vk: texture & sampler
* effect: shader stages
* vk: fence pool
* vk: cmd buffer reuse
2020-05-12 11:11:05 +08:00
coulsonwang
2a65ceef86
fix ci compile issue ( #2433 )
...
* fix CI compil issue
* fix CI compile issue
* fix ANDROID_PLATFORM
* fix macors
2020-05-11 15:15:02 +08:00
coulsonwang
08f42dd016
set bindings for msl ( #2430 )
2020-05-11 15:12:36 +08:00
coulsonwang
b0f1f3dffd
remove shaderc, use glslang and spriv-cross instead ( #2418 )
...
* remove shaderc, use glslang and spriv-cross instead
* add log info
2020-05-07 11:31:40 +08:00
CocosRobot
ec60f210da
[AUTO][ci skip]: updating cocos2dx_files.json ( #2423 )
...
* [ci skip][AUTO]: updating jsbinding automatically
* [AUTO][ci skip]: updating cocos2dx_files.json
2020-05-06 11:52:25 +08:00
CocosRobot
3d96fc880b
[ci skip][AUTO]: updating jsbinding automatically ( #2422 )
2020-05-06 11:47:21 +08:00
Yun Hsiao Wu
e5deaed8d9
GFX Vulkan backend ( #2414 )
...
* vk: init directories
* vk: context creation
* vk: swapchain draft
* vk: move swapchain to window
* vk: acquire - submit - present
* vk: begin/end render pass
* vk: clear op works!
* vk: validation errors cleared
* vk: first triangle!
...no uniform buffers though
* vk: update msvc project
2020-05-06 11:42:15 +08:00
江战
880422ad28
[bugfix] crash during global object destructuring / 3d-gfx ( #2411 )
...
* fix crash
* fix order
2020-04-28 12:03:51 +08:00
CocosRobot
7c4d3de63c
[AUTO][ci skip]: updating cocos2dx_files.json ( #2412 )
2020-04-27 18:34:17 +08:00
minggo
96cbe1e971
Android adapt ( #2410 )
...
* simplify get obb file path
* not get package name throung jni
* not get sdk version from android
* remove unneeded codes
* remove convertEncoding
* remove unneeded codes'
* remove unneeded codes
* simpify codes
* simplify codes
* remove unneeded codes
2020-04-27 17:14:06 +08:00
coulsonwang
d69858f020
update metal stencil descriptor ( #2408 )
2020-04-27 17:13:13 +08:00
coulsonwang
90dc449626
Fix metal texture ( #2386 )
...
* fix update metal texture
* fix resize metal texture
* update review
* use toMTLTextureType
* add gfx status
2020-04-27 11:37:15 +08:00
coulsonwang
9f6ec3c58d
add copyBufferToTexture and updateBuffer ( #2384 )
...
* add copyBufferToTexture and updateBuffer
* use usage and flag to update buffer
* revert TRANSFER_SRC and TRANSFER_DST modify
* fix indirects
# Conflicts:
# cocos/renderer/gfx-metal/MTLBuffer.mm
* reset buffer when malloc failed
* revert commit#a6544ec
* update review
2020-04-27 09:53:39 +08:00
coulsonwang
b78d9bf8ac
set features according to Metal feature set table ( #2383 )
...
* set features according to Metal feature set table
* remove duplicate code
* add metal feature set for iOS
* update reivew
* use String instead of const char*
2020-04-27 09:51:55 +08:00
Yun Hsiao Wu
16faa76fcf
fix depth texture view format ( #2404 )
...
* windows build gles2 too by default
* fix depth texture view format
* fix ci
2020-04-26 17:25:42 +08:00
江战
7c140824f0
[bugfix] win32/macosx add sourcemap / 3d-gfx ( #2403 )
...
* add sourcemap
* fix platform macro
2020-04-26 09:59:15 +08:00
minggo
2082c30ea4
fix crash if enter background on Android ( #2401 )
...
* fix crash if enter background on Android
* break if recreate window error
2020-04-24 16:56:35 +08:00
coulsonwang
3166eef09d
add indirect info ( #2399 )
...
* add indirect info
* add normalized MTLVertexFormat
* fix indirects
* fix vertex format
2020-04-23 17:53:57 +08:00
CocosRobot
fc206fb09b
[ci skip][AUTO]: updating jsbinding automatically ( #2387 )
2020-04-20 17:27:08 +08:00
minggo
b02ef0bac1
add minClipZ and projectionSignY for device ( #2379 )
2020-04-20 16:58:57 +08:00
coulsonwang
1e63144a48
support instancing ( #2382 )
...
* support instancing
* fix stride
* emplace_back when need
2020-04-20 11:29:58 +08:00
CocosRobot
9187f0bad8
[ci skip][AUTO]: updating jsbinding automatically ( #2381 )
2020-04-15 18:27:07 +08:00
coulsonwang
51a87d3254
revert attribute caching for jsb optimization ( #2380 )
...
* revert attribute caching for jsb optimization
* update binding generator
2020-04-15 18:17:23 +08:00
coulsonwang
f4b4301977
fix texture and sampler binding ( #2377 )
2020-04-15 13:47:41 +08:00
coulsonwang
385a97ac6e
convert RGB32F to MTLPixelFormatRGBA32Float ( #2373 )
...
* convert RGB32F to MTLPixelFormatRGBA32Float
* move format comvertor to utils
2020-04-15 10:00:49 +08:00
Arnold
9eb02818a5
add metal support ( #2375 )
2020-04-15 09:42:58 +08:00