| content |
{"Commits":[{"Sha1":"b151797c3 {"Commits":[{"Sha1":"b151797c370c61da5b50d3bd56e88a51da0763f8","Message":"linux:bcm7251s:CCGLViewImpl-bcm7251s: change screen size to 1920x1080 for TV screen\n\nChange screen size to 1920x1080 for TV screen.\n","AuthorEmail":"udknight@gmail.com","AuthorName":"Wang YanQing","CommitterEmail":"udknight@gmail.com","CommitterName":"Wang YanQing","Timestamp":"2016-11-23T23:38:20+08:00"},{"Sha1":"a2b4319860168e3e60d4de413ff3dd5e705c2178","Message":"cocos2d-x: support display a sprite as cursor\n\nOn mobile platforms(android,IOS,etc), and on Embeded Linux platform,\nthere isn't \"native\" cursor. But we need to display a cursor sometimes,\nso I think this is a useful feature to support display a sprite as\ncursor at current mouse position automatically.\n","AuthorEmail":"udknight@gmail.com","AuthorName":"Wang YanQing","CommitterEmail":"udknight@gmail.com","CommitterName":"Wang YanQing","Timestamp":"2016-11-03T12:33:45+08:00"},{"Sha1":"9654dce31250861cf16628d0084ee1beed0f36a7","Message":"cocos2d-x: add infrastruction to support multi-windows application\n\nThis patch is based on patches in branch, multi-windows, in below\nrepository:\nhttps://github.com/DerekFromAmaya/cocos2d-x.git\n\nBelow URL has the discussion about the patch:\nhttp://discuss.cocos2d-x.org/t/multi-windows-in-a-desktop-environment/22035\n\nMulti-windows infrastruction:\nWindowKey is used as a multiplatform identifier for windows.\nFor now it's a hash of the GLFWwindow pointer on platforms\nwhich have GLFW support, it's a hash of the window number on\nothers' platforms.\n\nDirectorContext encapsulates a \"mini director\" instance for\neach window. There is still a central director which is\nresponsible for updating each window. Each window also has\nits own event manager, action manager, and scheduler.\n\nBy default the first window created becomes main window. The\nmain window is special; if it gets closed, it terminates the\napplication. There are special accessors to grab the main window's\nscheduler/eventmanager/actionmanager. For certain tasks, especially\nasync tasks, they may need to schedule their callbacks on the main\nwindow.\n\nThe infrastruction works in a similar manner as opengl. A window is\nset to be active (setContextAndLock) and then non-actve (unlock).\nDoing so changes what gets returned by the getCurrentWindow call and\nthe getCurrentScheduler/EventManager/ActionManager calls. This allows\nnodes and virtually everything to not care which window it was created\nin. Unless the node is transplanted into a new window/context, its\ngetCurrentManagers functions will always return the same. It also hides\nany window dependancy. Almost everything outside of the director doens't\nknow or care which window it was created in.\n\nCCGLViewImpl has substantial changes. The poll events function grabs all\nthe events for all windows at once. What we want to do is sort them by\nwindow and defer the execution of them until the correct context is active.\nOtherwise, we'll be switching contexts rapidly while processing the polled\nevents. Thus, the callbacks all push std::functions onto a map, keyed to the\ncorrect window.\n\nSigned-off-by: Wang YanQing \u003cudknight@gmail.com\u003e\n","AuthorEmail":"udknight@gmail.com","AuthorName":"Wang YanQing","CommitterEmail":"udknight@gmail.com","CommitterName":"Wang YanQing","Timestamp":"2016-09-24T13:04:13+08:00"}],"HeadCommit":{"Sha1":"b151797c370c61da5b50d3bd56e88a51da0763f8","Message":"linux:bcm7251s:CCGLViewImpl-bcm7251s: change screen size to 1920x1080 for TV screen\n\nChange screen size to 1920x1080 for TV screen.\n","AuthorEmail":"udknight@gmail.com","AuthorName":"Wang YanQing","CommitterEmail":"udknight@gmail.com","CommitterName":"Wang YanQing","Timestamp":"2016-11-23T23:38:20+08:00"},"CompareURL":"zhengpeizhong/cocos2d-x/compare/39d8d012ae06b5a215aa95f5c5bb55a513305e57...b151797c370c61da5b50d3bd56e88a51da0763f8","Len":3}... |