Commit Graph

4804 Commits

Author SHA1 Message Date
coulsonwang 1564c5b948 revert some files in [Gfx binding] (#2088) 2020-01-16 10:56:24 +08:00
coulsonwang dea136cf87 fix incorrect info about GFX_FORMAT_INFOS (#2085) 2020-01-16 10:03:34 +08:00
coulsonwang 1a369f3b99 fix compile issue and remove unused files (#2082) 2020-01-15 11:55:35 +08:00
coulsonwang 0c473393e6 update when window size is change (#2080) 2020-01-14 16:18:56 +08:00
coulsonwang 1a074feb99 fix blend and mipmap issue (#2078) 2020-01-14 13:58:22 +08:00
minggo 61b722b9a8 Gfx binding (#2079)
* remove unneeded files

* add missing files

* mac template refactor
2020-01-14 13:38:36 +08:00
CocosRobot e53dec5315 [AUTO][ci skip]: updating cocos2dx_files.json (#2076) 2020-01-13 17:24:35 +08:00
minggo 2448fc74b2 refactor iOS codes (#2075) 2020-01-13 15:29:27 +08:00
minggo 1f0019b76c ios integrate gfx (#2072) 2020-01-13 09:57:50 +08:00
Yun Hsiao Wu 2531a1bd9a gfx-gles2 js binding (#2066) 2020-01-10 09:18:48 +08:00
CocosRobot 88cfb9bcf6 [AUTO][ci skip]: updating cocos2dx_files.json (#2064) 2020-01-09 18:45:32 +08:00
coulsonwang 8f5601b0c9 fix stencil issue (#2065) 2020-01-09 18:45:12 +08:00
coulsonwang b74e7187e8 fix compile error on ios (#2063) 2020-01-09 17:35:25 +08:00
minggo e457a3e6d9 Metal texture (#2061)
* set default color pixel format

* add inputassember gpu info

* add texture support

* can show texture with metal
2020-01-09 16:20:08 +08:00
ChiaNing 860d9c229e fixed the usesCleartextTraffic not work bug (#2058) 2020-01-08 18:34:05 +08:00
Arnold 34d26eb27f [bugfix] incorrect libuv link order (#2057)
libwebsockets -> libuv
2020-01-08 17:14:29 +08:00
Yun Hsiao Wu 83e4eb9903 pointer lock API support (#2054) 2020-01-07 15:56:14 +08:00
Yun Hsiao Wu aa4b516e6c scale mouse wheel delta to match web interface (#2052) 2020-01-07 12:09:30 +08:00
CocosRobot 12fb16bf0a [AUTO][ci skip]: updating cocos2dx_files.json (#2044) 2020-01-06 09:52:50 +08:00
minggo 3981eb5f95 shader works with metal (#2043) 2020-01-06 09:43:45 +08:00
Yun Hsiao Wu 841b73939f fix platform-specific GL constant (#2042) 2020-01-05 16:40:51 +08:00
Yun Hsiao Wu de79eb538f fix texImage2D binding (#2041)
* fix texImage2D binding

* fix depth bits query
2020-01-04 08:38:41 +08:00
coulsonwang 7bcd1b05ab fix depth issue (#2037)
* fix index buffer issue

* fix depth issue
2019-12-31 16:37:51 +08:00
Yun Hsiao Wu ac66ee2e58 restore vs platform version (#2034) 2019-12-30 18:02:39 +08:00
Yun Hsiao Wu 5c797d64c1 fix text positioning (#2031)
* fix android text positioning

* fix windows text positioning

* fix Mac/iOS text positioning
2019-12-30 17:48:09 +08:00
minggo 6bb3ea86ce Float texture (#2032)
* convert internal format for float texture

* define some gl enum for windows and macOS

* make android/windows support float texture
2019-12-30 17:28:51 +08:00
CocosRobot ff7802c170 [AUTO][ci skip]: updating cocos2dx_files.json (#2030) 2019-12-29 20:10:30 +08:00
pandamicro 41682c3b07 Update external version for 3d (#2029) 2019-12-29 19:57:07 +08:00
pandamicro ceefb6ffa6 Some gl extension improvements (#2028) 2019-12-28 18:56:44 +08:00
Yun Hsiao Wu ff7103f94b don't specify shader version on PC (#2027) 2019-12-28 18:51:19 +08:00
Yun Hsiao Wu b125d210b4 fix shader version process (#2025) 2019-12-27 18:49:19 +08:00
coulsonwang 74fc447d85 fix index buffer issue (#2024) 2019-12-27 18:22:47 +08:00
Yun Hsiao Wu 61d2b7e932 fix float texture detection (#2023) 2019-12-27 12:51:20 +08:00
Yun Hsiao Wu 40d3ce67ff android port (#2019) 2019-12-26 10:41:39 +08:00
CocosRobot 24412dc6f7 [AUTO][ci skip]: updating cocos2dx_files.json (#2018) 2019-12-25 17:25:36 +08:00
minggo e5b4ffcfd7 Metal (#2017)
* add some files for metal

* uniform command pool

* use GFXCmd and GFXCmdType instead

* add codes for metal
2019-12-25 16:54:14 +08:00
minggo 1a0f0dff3e Revert "external use cmake (#2014)" (#2015)
This reverts commit 6750cf1c3b.
2019-12-25 09:57:30 +08:00
coulsonwang 6750cf1c3b external use cmake (#2014) 2019-12-25 09:56:12 +08:00
Yun Hsiao Wu 0938822620 windows port (#2013) 2019-12-24 20:30:53 +08:00
coulsonwang f6e5402779 fix compile issue on windows (#2012) 2019-12-24 17:59:27 +08:00
pandamicro 398b975390 Fix iOS compilation issues (#2011)
* Fix iOS compilation issues

* Improve parameter name
2019-12-24 16:44:33 +08:00
CocosRobot ca383b500c [AUTO][ci skip]: updating cocos2dx_files.json (#2007)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2019-12-24 16:43:49 +08:00
CocosRobot 2c3d093b96 [ci skip][AUTO]: updating jsbinding automatically (#2009) 2019-12-24 16:43:19 +08:00
pandamicro 412e69c73f Fix float texture usage (#2008)
* Fix float texture usage

* Add float texture support check for float texture submission
2019-12-24 15:46:08 +08:00
coulsonwang 1e5249a4aa Add basic texture test (#2004)
* fix texture

* fix texture issue

* fix some texture binding issue

* add CopyBuffersToTexture
2019-12-24 10:06:39 +08:00
Yun Hsiao Wu 349814ca79 android port (#2001) 2019-12-20 17:51:36 +08:00
pandamicro 025b2e11bf Fix Blob request and support mac compilation (#1999)
* Support BLOB in XMLHttpRequest::ResponseType

* Remove useless mac sources
2019-12-20 14:46:18 +08:00
minggo cb541e7412 Metal (#1997)
* add some files for metal

* uniform command pool

* use GFXCmd and GFXCmdType instead
2019-12-20 10:58:31 +08:00
Yun Hsiao Wu 7421c098ea windows port (#1996) 2019-12-19 19:19:01 +08:00
coulsonwang 62d6660f3f fix ios black screen after adding depth/stencil renderbuffer (#1991)
* fix ios black screen after adding depth/stencil renderbuffer

* release opengl resource when custom framebuffer status checked fial
2019-12-17 10:41:13 +08:00