jk20012001
eb883997a1
Fix #10538 : Android+WebGL PS struct variables has mediump precision ( #9863 )
...
* Fix #10538 : Android+WebGL PS struct variables has mediump precision
* update compiled shaders
* review modification
* update compiled shaders
2021-12-24 11:01:54 +08:00
Leslie Leigh (李的序)
d5154269e2
Fix log() takes not effect if debug mode <= verbose ( #9681 )
2021-11-18 12:00:24 +08:00
PP
1abbc90c23
compability for PROPORTIONAL_TO_FRAME container strategy ( #9642 )
...
* support isProportionalToFrame field on screen-adapter
update
stash
* rename _setupContainer to _setupCanvas
* optimize view.setResolutionPolicy()
* remove TIME_OUT to handle resize event
* compability for PROPORTIONAL_TO_FRAME container strategy
comp
update
* add NOTE
* optimize 'window-resize'
resize
* deprecate game.frame && game.container
deprecate
game
* close screen.resolutionScale interface
close
* fix npm test
* fix view unit test
* space
2021-11-11 19:24:39 +08:00
PP
ab69d20027
Revert "deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )" ( #9645 )
...
This reverts commit 5ffc4482cd .
2021-11-10 11:27:51 +08:00
PP
5ffc4482cd
deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )
...
* deprecate ENABLE_WEBGL_ANTIALIAS
update
* remove deprecation usage
2021-11-05 10:40:51 +08:00
PP
51989a1b76
get exactFitScreen option from game initialization ( #9594 )
...
* get exactFitScreen option from game initialization
* set HTML5 as true by default
* optimize editor scene resize
2021-11-02 10:25:49 +08:00
PP
1ed2a9833e
optimize screen adaption on Web platform ( #9580 )
...
* optimize screen._init
* support WindowType on Web platform
* optimize fullscreen adaption
* optimize frame resize
update
* set timeout to handle screen event
* fix esLint
* fix esLint
* fix spelling
* fix number type
* EVENT_TIMEOUT
* fix esLint
* revert naming 'OrientationMap'
2021-11-01 00:01:49 +08:00
Jare Guo
00cf281cf0
switch error url to develop branch ( #9582 )
2021-10-30 22:16:01 +08:00
PP
f5511f4c87
Revert "Revert "optimize interface in screen module ( #9176 )"" ( #9490 )
...
This reverts commit b88d4845cc .
2021-10-15 10:21:04 +08:00
pandamicro
b88d4845cc
Revert "optimize interface in screen module ( #9176 )"
...
This reverts commit 4735476945 .
2021-10-14 23:07:23 +08:00
PP
4735476945
optimize interface in screen module ( #9176 )
...
* optimize interface in screen module
* remove DPR calculating
* update screen-adapter init
* set screen.resolutionScale as 1 by default
* remove pixelRatio getter in system-info
* remove sys.windowPixelRatio access
* optimize screen.windowSize
update
* convertToCocosScreenSpace
* change resolution-change to window-resize
* fix native UI
update
update UI
update UI
* optimize screen init
* fix subContextView
* fix root resize
* fix precision issue on Metal render end
* sys.windowPixelRatio
* use warnID
* remove screen.convertToCocosScreenSpace
* put private property and method together after public ones
* warnID
* fix landScape on CocosPlay
* fix DPR on vivo platform
* fix CI
2021-10-14 22:16:34 +08:00
PP
f433551d1d
support system feature query ( #9428 )
...
* support feature query in pal/system-info
* support sys.hasFeature and deprecate sys.capabilities
* remove deprecated usage
* support input feature query
update
* IMAGE_BITMAP
* INPUT_TOUCH
* WEBGL
* support WEB_VIEW, VIDEO_PLAYER, SAFE_AREA query
* rename INPUT_XXX to EVENT_XXX
* support device-manager
update
update
update
* add NOTE
* export deviceManager from gfx
* fix circular dependency
* fix wechat devtools
update
* Revert "fix circular dependency"
This reverts commit ba8a6c0e2e4fa6b2015ae438a4c9a5da94b9bf46.
* Revert "export deviceManager from gfx"
This reverts commit 14b26ca0e3f6e0dce32c37bd668c65193dbd366f.
* Revert "support device-manager"
This reverts commit 010a910e56e1ee2fe9726629fca163fc24ed5b37.
# Conflicts:
# pal/system-info/enum-type/feature.ts
* update
update
* use INPUT_TOUCH for sys.capabilities
* update
2021-10-14 10:29:36 +08:00
PP
9b7cbc8298
optimize DPR change event listener ( #9421 )
...
* optimize DPR change event listener
* cache previous DPR when resize callback
update
* support all web platform
2021-09-30 10:23:45 +08:00
Kun Lin
9b6bb5151e
Bloom ( #9413 )
...
* Bloom
* Fix for code review
2021-09-29 11:44:25 +08:00
GengineJS
b12a7ed18d
forwardpipeline supports fxaa ( #9387 )
...
* forwardpipeline initially supports fxaa
* fxaa completes the adaptation
* update effect
* update postprocess stage
* add comment
* update
* Pipelines run the Postprocess stage
* effect added anti-aliasing judgment
* modify fxaa effect
* update comment
* update native
2021-09-28 11:17:02 +08:00
santy-wang
6391b5705a
Merge branch 'v3.3.2' of github.com:cocos-creator/engine into v3.4.0-physx
2021-09-24 12:11:48 +08:00
pandamicro
99e5085532
Revert GLES_ANTIALIAS ( #9313 )
2021-09-10 11:10:33 +08:00
santy-wang
c87577b809
Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4
2021-09-09 13:33:35 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +08:00
PP
c412d3a815
support touch manager on PAL ( #9281 )
...
* support touch manager
* update inputmanager
* update event manager
* optimize code
2021-09-07 14:10:04 +08:00
PP
2435520c88
revert deprecate EventKeyboard.isPressed ( #9268 )
2021-09-01 13:35:54 +08:00
pandamicro
d059d03461
Add macro.ENABLE_GLES_ANTIALIAS ( #9243 )
...
* Rename macro.ENABLE_WEBGL_ANTIALIAS to macro.ENABLE_ANTIALIAS
* Upgrade game
* Rename to ENABLE_GL_ANTIALIAS
* Improve api doc
* Revert scheduler
* Add ENABLE_GLES_ANTIALIAS
* Set default gles antialias to false
2021-08-31 13:51:55 +08:00
PP
6bf458920c
add enableAutoFullScreen deprecate info ( #9251 )
2021-08-30 10:25:10 +08:00
Santy-Wang
c80722cd8f
Revert "Match Creator's universal module resolution algorithm ( #9174 )"
...
This reverts commit ebf2754bc3 .
2021-08-19 14:08:52 +08:00
Leslie Leigh (李的序)
ebf2754bc3
Match Creator's universal module resolution algorithm ( #9174 )
2021-08-18 10:08:46 +08:00
PP
b2bed360ca
optimize system event type ( #9130 )
...
* support event callback type
update
* optimize eventKeyboard.keyCode type
* update
* update
2021-08-05 10:48:50 +08:00
Leslie Leigh (李的序)
dbcc52cf1e
Fix cc.debug ( #9081 )
2021-07-27 17:51:38 +08:00
PP
2ec06d5524
close screen.windowSize interface ( #9047 )
2021-07-23 14:40:44 +08:00
PP
c8c74c351b
[CHERRY-PICK] fix touch event not working after touch end on an inactive node ( #8997 )
2021-07-18 17:25:46 +08:00
PP
5b230d70c5
fix sys coding auto completion ( #8995 )
...
* fix sys coding auto completion
* fix ci
2021-07-16 19:05:33 +08:00
PP
5a4bed2379
support inputManager.frameDispatchEvents() in main loop ( #8954 )
...
* support pollEvent() API on pal/input
update
update pal
* support inputManager.frameDispatchEvents() in main loop
* remove event-manager module
* fix CI
* fix _glView
* fix CI
* fix director pause
* update for
2021-07-16 13:45:01 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +08:00
pandamicro
09a2eb2d2e
Move director delta time to game and remove deprecated APIs ( #8913 )
...
* Move director delta time to game and remove deprecated APIs
* Small ts fixes
* Fix ci
* Fix module import
* Adaptation
* Improve usage
* Improve deprecation
* Fixes and improve setFrameRate logic
* Move game's time control functions to timer class
* Fix frame time counter
* Tweaks
* Tweaks
* Revert timer
2021-07-09 17:27:52 +08:00
PP
6487e67b36
optimize enum type in SystemEvent module ( #8912 )
...
* export KeyCode
* rename to SystemEvent.EventType
remove legacy import
update pal
* systemEventType =value type, SystemEvent.EventType =enum type
* support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event
* add back Event.NO_TYPE
* update pal/input interface
* fix ci
* Revert "support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event"
This reverts commit 623385e5f8e6c133f287753654b21a5bb7adafee.
# Conflicts:
# pal/input/minigame/keyboard.ts
* remove KEY_PRESS event
* remove legacy usage of macro.KEY
* fix KeyCode spell
2021-07-08 16:39:03 +08:00
PP
fc1700e9ad
optimize system event interface ( #8883 )
2021-06-25 11:32:50 +08:00
PP
d85cee16df
remove legacy adapter in Wechat PC game ( #8626 )
...
* support keyboardEvent on wx pc game
update
update
# Conflicts:
# pal/input/minigame/keyboard.ts
* support mouse event
* move in gl.useProgram adapting
* remove legacy adapter
update
* update
update
update
update
* rename interface
* bind method
2021-06-24 11:37:16 +08:00
santy-wang
e58499bb3f
Merge branch 'v3.2.0' of https://gitlab.cocos.net/publics/engine into v3.3-merge
2021-06-22 16:59:04 +08:00
PP
4ffef31968
fix MouseEvent.MOUSE_UP ( #8837 )
2021-06-17 15:35:56 +08:00
PP
7e55ddf133
support SystemEvent.Keyboard enum type ( #8785 )
...
* support SystemEvent.Keyboard enum type
update
update
update
update
# Conflicts:
# cocos/core/platform/event-manager/system-event.ts
update pal
mark macro.KEY as warning
mark
update
update
* support right shift, alt and ctrl enum
* support web keyCode map
# Conflicts:
# pal/input/web/keyboard.ts
* support num enter key enum
* rename num_slash to num_divide
* support native keyCode map
# Conflicts:
# pal/input/native/keyboard.ts
* update enum
* rename Keyboard to KeyCode
* update deprecated
* update
2021-06-09 15:12:51 +08:00
PP
4914116834
optimize SystemEventType and NodeEventType ( #8678 )
...
* remove recomendation for usage of string type of event
* deprecate KEY_DOWN KEY_UP event
* support SystemEventType.KEYBOARD_DOWN && SystemEventType.KEYBOARD_UP
* deprecate some useless properties
* implement keyboard pal
* remove SystemEventType toString()
update
* fix instantiating EventTouch
* optimize deprecated info
* support native keyboard KEYBOARD_DOWN event
* remove usage of event code
* fix deprecating pure value properties
* optimize deprecating Event type
* optimize deprecating getEventCode()
update
* optimize deprecating eventType
* optimize deprecating isPressed
* optimize deprecating keybaord event
* optimize deprecating rawEvent
* Revert "fix deprecating pure value properties"
This reverts commit 60d586532496fa1f422f05c54a922b86d1dc96ee.
* fix deprecate pure value properties
* Revert "fix deprecate pure value properties"
This reverts commit a83f1725fedfbd7af445892912aacab8e8502147.
* fix deprecating pure value property
* update
updaate
* deprecate some EventType enum in SystemEventType and NodeEventType
* optimize
* update
update
* update
* update
* fix CI
* fix CI
* fix Circular dependency
* fix Circular dependency
2021-06-07 19:06:29 +08:00
Santy-Wang
68896f6cfa
Merge pull request #8700 from cocos-creator/v3.1.1
...
merge V3.1.1
2021-05-21 15:48:53 +08:00
江战
2a2719a79c
HarmonyOS support ( #8679 )
2021-05-21 15:42:37 +08:00
Santy-Wang
871b7afbdf
Merge pull request #8695 from cocos-creator/v3.1.1
...
merge V3.1.1
2021-05-20 13:37:13 +08:00
PP
420c9f59d4
support system.getSafeAreaEdge() ( #8654 )
...
* support system.getSafeAreaEdge()
* remove legacy adapter
* remove code
* update
2021-05-17 18:12:13 +08:00
PP
cfb260692f
deprecate 'sys.IPHONE' and 'sys.IPAD', not remove it ( #8640 )
2021-05-07 11:26:09 +08:00
Jare Guo
18e0d6d72d
Merge pull request #8623 from cocos-creator/v3.1-release
...
sync branch
2021-04-30 21:34:01 +08:00
PP
83176d4330
optimize deprecation ( #8602 )
...
* optimize audio deprecated
* optimize sys deprecated
* optimize MouseEvent TouchEvent deprecated
* update
* use `SystemEvent.EventType`
2021-04-30 00:15:45 +08:00
PP
1742562456
optimize deprecated 360 browserType ( #8594 )
2021-04-29 16:15:38 +08:00
santy-wang
aa4a55aab5
Merge branch 'v3.1-release' of github.com:cocos-creator/engine into dev
2021-04-29 15:59:25 +08:00
PP
c89fe8bfdd
compatible movement data in MouseEvent on Web && fix keyCode in keydown event ( #8578 )
...
* compatible movement data in MouseEvent on Web
* revert keypress Event to keydown
2021-04-28 17:28:50 +08:00