Commit Graph

3655 Commits

Author SHA1 Message Date
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
minggo 52f3d75321 fix some compiling error on macos (#1990) 2019-12-13 18:18:03 +08:00
coulsonwang c5f15ca63a fix uniform memory issue (#1983) 2019-12-13 10:10:04 +08:00
coulsonwang 3ead460677 fix memory leak (#1984) 2019-12-12 11:51:48 +08:00
minggo f50f08ed29 Refactor codes (#1982)
* refactor codes

* modify gles3 too
2019-12-11 16:01:34 +08:00
CocosRobot aad5c6eea8 [ci skip][AUTO]: updating jsbinding automatically (#1965) 2019-12-11 10:25:52 +08:00
CocosRobot 5b02eb6b9e [ci skip][AUTO]: updating jsbinding automatically (#1981) 2019-12-11 10:15:48 +08:00
minggo bcc71049bf fix error that depth/stencil buffer is not cleared (#1980) 2019-12-10 18:02:22 +08:00
minggo dedc3b9c90 fix compling error on android (#1978) 2019-12-10 14:10:06 +08:00
coulsonwang 4a6419745c fix getting uniform location (#1974) 2019-12-06 18:08:57 +08:00
coulsonwang 8253e55f7e make GFXGLES3 works on iOS (#1972) 2019-12-06 15:20:46 +08:00
coulsonwang 87e8886d48 fix some gl related error (#1970)
1. set front face to default CCW
2. use program correctly
3. wrongly disable attribute location
2019-12-06 14:09:21 +08:00
minggo 406490232a make it work on iOS (#1968) 2019-12-06 10:26:37 +08:00
minggo bcbd8afdc6 fix compiling error (#1964) 2019-12-04 14:33:07 +08:00
coulsonwang 4eae48fe4e fix basic triangle test (#1962) 2019-12-03 13:56:25 +08:00
coulsonwang 4247f41b17 Use cmake (#1955)
* rebase and fix compile error

* fix link issue

* fix compile issue

* fix

* update review
2019-11-27 18:11:21 +08:00
CocosRobot 9a1c937a8c [AUTO][ci skip]: updating cocos2dx_files.json (#1950) 2019-11-27 14:53:43 +08:00
minggo 5dee5e5b35 add cmake support back (#1949) 2019-11-26 14:03:47 +08:00