Commit Graph

17466 Commits

Author SHA1 Message Date
SijieWang c322e7e414 GPU instancing (#6394)
* GPU instancing

* 删除 async await 写法

* review code

* review code
2020-03-23 16:48:08 +08:00
Yun Hsiao Wu 31715a725a fix quat.rotate (#6396) 2020-03-23 16:47:19 +08:00
CocosRobot d04561cbe5 [AUTO][ci skip]: updating cocos2dx_files.json (#2319) 2020-03-23 16:28:44 +08:00
minggo 9be1356d67 System adapter (#2318)
* move View to engine on mac

* move View to engine on iOS

* add CC prefix for file names

* handle input events in engine on Android
2020-03-23 16:22:54 +08:00
Leslie Leigh (李的序) 74e6eb02a2 Bump @babel/preset-env to 7.9.0; Bump @cocos/build-engine from 1.0.7 to 1.0.8 (#6392) 2020-03-23 15:42:58 +08:00
ChiaNing 70bb6da2ac spriteframe slicedUV bug fix (#6393) 2020-03-23 15:41:41 +08:00
pandamicro 4f4cd91d51 Refactor game init process & make splash screen internal (#6391)
* Refactor game init process & make splash screen internal

* Fix ci
2020-03-23 12:59:40 +08:00
Yun Hsiao Wu 85da544205 fix joint texture ref count (#6389) 2020-03-23 11:28:40 +08:00
jiaxin.lai d5b0e387a8 mark render-scene raycast as deprecated (#6385)
* mark render-scene raycast as deprecated

* fix ci
2020-03-23 10:44:19 +08:00
Yun Hsiao Wu 1025336e71 fix texture multiple upload (#2315) 2020-03-23 09:58:34 +08:00
coulsonwang 28780c7305 fix glClear issue (#2317) 2020-03-23 09:51:16 +08:00
ChiaNing 644218fd09 Sprite Frame change (#6336)
* sprite-frame change

* spriteframe update

* set texture fix

* can render fix

* spriteframe textureLoaded fix

* update

* update

* texture loaded update

* refresh texture add

* format fix
2020-03-20 19:37:50 +08:00
jiaxin.lai 216cb739b4 fix set of color & clear color (#6383)
* fix set of color & clear color

* add protect

* tweaks
2020-03-20 19:16:42 +08:00
Yun Hsiao Wu df6b7b5e60 better joint texture layout (#6372)
* better joint texture layout

* still need to update world matrix when batching

* shouldn't update instancing attributes for implant psos

* fix copy framebuffer to buffer

* fix texture multiple upload

* wording
2020-03-20 18:26:29 +08:00
cary cefa760123 Optimize the serialization size of particle resources. (#6264)
* Optimize the serialization size of particle resources.

* fix ci

* add multiplier

* refine code

* fix ci

* modify serialize data

* fix culling
2020-03-20 18:21:45 +08:00
Myway 54388eb600 Separation of LightingMapInfo (#6381)
* lightingmap info单独存储

* 修改数组清空问题
2020-03-20 18:08:26 +08:00
coulsonwang b98bc92070 no need to create mesh without vertex data (#6380)
* no need to create mesh without vertex data

* fix
2020-03-20 17:28:54 +08:00
Yun Hsiao Wu a735120294 more consistent gfx format (#6376)
* enable profiler

* more consistent gfx format
2020-03-20 11:39:47 +08:00
Yun Hsiao Wu 6cba0e85a5 more consistent gfx format (#2314)
* minor

* more consistent gfx format
2020-03-20 11:37:12 +08:00
CocosRobot 747a54b138 [ci skip][AUTO]: updating jsbinding automatically (#2310) 2020-03-19 18:39:07 +08:00
coulsonwang fab59fdff0 fix particle issue (#2308)
* fix particle issue

* keep GFXIndirectBuffer

* revert GFXIndirectBuffer
2020-03-19 18:28:04 +08:00
minggo dc2d278383 Fix comment (#2307)
* fix wrong effect on some mac devices

* add comment in correct place
2020-03-19 17:26:45 +08:00
Arnold c5ab459e4c [win32] fix keyboard key codes (#2306) 2020-03-19 17:04:27 +08:00
minggo 03a89e27f8 fix wrong effect on some mac devices (#2305) 2020-03-19 16:33:41 +08:00
Leslie Leigh (李的序) 35c86df584 Turns on isolatedModules (#6368) 2020-03-19 15:58:52 +08:00
ChiaNing 0c8ad4527e font loader update (#6370) 2020-03-19 15:57:29 +08:00
Myway 458111b77c Support Lightmap options in light and model and small tweeks (#6366)
* 增加修改lightmap接口

* light-component增加bake参数

* 修改LightBakeType名字

* 新增lightmap属性设置
2020-03-19 15:46:50 +08:00
ChiaNing 5b5183b2a6 mat4 translate bug fix (#6371) 2020-03-19 15:43:26 +08:00
minggo 62f994ba85 simplify codes (#2304) 2020-03-19 15:00:41 +08:00
CocosRobot dfa1634907 [ci skip][AUTO]: updating jsbinding automatically (#2303) 2020-03-19 14:51:00 +08:00
Arnold d3cf38e609 [3d-gfx] win32 fix editbox (#2302) 2020-03-19 14:42:46 +08:00
coulsonwang 32fd98017e Fix vector conversion (#2264)
* fix vector_to_seval

* fix

* remove some manual conversion, make it auto generate

* update bindingGenerator
2020-03-19 14:19:01 +08:00
CocosRobot dbb4e06b44 [AUTO][ci skip]: updating cocos2dx_files.json (#2300) 2020-03-19 13:56:15 +08:00
Arnold 4743bfd379 3dgfx websocket add const fields for instance (#2299)
* websocket add const properties for instances

* fix macro
2020-03-19 13:55:20 +08:00
minggo 2d3010f546 Editbox (#2294)
* mac support editbox

* fix compiling/runtime issue for iOS/Android

* prevent handling touch event if it is prevented

* make editbox work

* fix effect of editbox on android
2020-03-19 13:46:31 +08:00
CocosRobot 09fe61bb9a [ci skip][AUTO]: updating jsbinding automatically (#2295) 2020-03-19 13:45:36 +08:00
Yun Hsiao Wu 43123e664c remove bakup buffer usage (#6364) 2020-03-18 17:33:16 +08:00
Leslie Leigh (李的序) 5dd09918f6 Bug fix (#6363) 2020-03-18 17:27:36 +08:00
Yun Hsiao Wu 366f76acec should update cache when binding array buffer (#2284)
* fix tri/dc count

* fix array buffer cache

* fix VAO routine

* fix windows pointer lock

* gfx instance count

* fix SDL window event handler

* fix profiler interface

* fix GL resource deletion

* fix state cache
2020-03-18 17:25:35 +08:00
coulsonwang 5e1a0fb4cb fix ios compile issue (#2293) 2020-03-18 16:43:25 +08:00
CocosRobot d359bfcebc [AUTO][ci skip]: updating cocos2dx_files.json (#2291) 2020-03-18 15:26:32 +08:00
coulsonwang 3e69292f25 fix stencil cache issue (#2290) 2020-03-18 15:19:04 +08:00
minggo 5262853ccd Merge pull request #2286 from CocosRobot/update_js_bindings_1584502702
[ci skip][AUTO]: updating jsbinding automatically
2020-03-18 11:41:38 +08:00
CocosRobot 0ec364f30c [ci skip][AUTO]: updating jsbinding automatically 2020-03-18 03:38:40 +00:00
minggo 2f5584d4dc fix windowHander nullptr issue on mac (#2282)
* fix windowHander nullptr issue on mac

* add getWindow to fetch NSWindow on mac

* fix windowHandler
2020-03-18 11:37:20 +08:00
Arnold ce1cd53386 [gfx] win32 adaptation (#2270)
* update for windows

* update ref location

* update external

* revert debug info

* fix include order

* fix template

* fix buffer

* remove CCStdC-win32*
2020-03-18 11:35:40 +08:00
coulsonwang cf4751098b fix windowHandler 2020-03-18 10:36:56 +08:00
Leslie Leigh (李的序) 06b0315e10 Remove deprecated Animation.curveDatas (#6348) 2020-03-17 18:40:19 +08:00
Arnold 90400c0beb [3d-gfx] GFXObject add virtual destructor (#2285)
* add virtual destructor

* remove empty row
2020-03-17 18:38:29 +08:00
jiaxin.lai 4aac1be3f6 add ray_mesh to intersect (#6317)
* stash

* add ray_mesh

* stash

* ceche geometric info at runtime

* add ray_mesh & ray_model

* remove redundant data

* tweaks

* renaming
2020-03-17 16:54:57 +08:00