Commit Graph

4804 Commits

Author SHA1 Message Date
CocosRobot ad4c0dd5c1 [AUTO][ci skip]: updating cocos2dx_files.json (#2321) 2020-03-23 18:23:33 +08:00
Arnold 4945e21a5e 3dgfx win32 refactor, move view-win32 to platform/win32/ (#2320)
* remove View-win32 in templates

* add View-win32.cpp/h

* fix template

* fix template, file path

* remove title
2020-03-23 18:15:54 +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
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
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
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 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
Arnold 90400c0beb [3d-gfx] GFXObject add virtual destructor (#2285)
* add virtual destructor

* remove empty row
2020-03-17 18:38:29 +08:00
coulsonwang 45ebc21ee8 add getWindow to fetch NSWindow on mac 2020-03-17 14:42:41 +08:00
coulsonwang 11371063df fix windowHander nullptr issue on mac 2020-03-17 14:10:24 +08:00
CocosRobot fd76a6999a [ci skip][AUTO]: updating jsbinding automatically (#2281) 2020-03-17 11:36:08 +08:00
coulsonwang bef04c6fc3 fix device pixel ratio (#2269)
* set device pixel ratio

* fix

* fix devicePixelRatio

* update review

* fix dpr

* remove unneeded code

* remove unneeed code

* fix

* remove getScrenScale
2020-03-17 11:29:48 +08:00
CocosRobot ef690a483b [AUTO][ci skip]: updating cocos2dx_files.json (#2277) 2020-03-16 14:34:21 +08:00
minggo 925a0a2d32 add GFXObject (#2276) 2020-03-16 14:26:55 +08:00
minggo 6ac071b6a5 convert to RGBA8 (#2274) 2020-03-13 17:40:20 +08:00
CocosRobot 00856bb2f6 [ci skip][AUTO]: updating jsbinding automatically (#2273) 2020-03-13 10:50:17 +08:00
minggo 57b11c32c3 remove auto bind property InputAssembler::vertexBuffers (#2272) 2020-03-13 10:30:29 +08:00
CocosRobot e0a89213dd [ci skip][AUTO]: updating jsbinding automatically (#2271) 2020-03-13 10:16:31 +08:00
Arnold eebc0bf051 [bugfix] use after free & fix travis (#2268)
* fix use after free

* fix travis

* fix log
2020-03-13 09:35:16 +08:00
minggo 60bcebefd6 Manual bind gfx input assember functions (#2267)
* add missing function

* manual binding some functions
2020-03-11 18:24:56 +08:00
minggo b879561220 fix typo (#2266) 2020-03-11 10:21:45 +08:00
minggo a2615f9745 use v8 for all platforms (#2265) 2020-03-11 09:54:04 +08:00
coulsonwang 5dcf10c53d fix texture mipmap width and height (#2260)
* fix texture mipmap width and height

* fix
2020-03-10 15:53:03 +08:00
minggo d694a4297a fix gles3 viewport setting (#2263) 2020-03-10 15:50:05 +08:00
minggo 90a50812f5 fix wrong logic of setting viewport (#2259) 2020-03-10 13:58:49 +08:00
minggo 292b87d4f7 Ios adapt (#2257)
* use correct OpenGL ES SDK

* make sure View is created
2020-03-09 17:39:00 +08:00
CocosRobot af9b6192b1 [ci skip][AUTO]: updating jsbinding automatically (#2254) 2020-03-09 12:13:31 +08:00
minggo 80bc6f3928 update binding generator to fix typo (#2253) 2020-03-09 12:08:47 +08:00