2013-07-05 10:31:20 +08:00
|
|
|
// !$*UTF8*$!
|
|
|
|
{
|
|
|
|
archiveVersion = 1;
|
|
|
|
classes = {
|
|
|
|
};
|
|
|
|
objectVersion = 46;
|
|
|
|
objects = {
|
|
|
|
|
|
|
|
/* Begin PBXBuildFile section */
|
2017-11-21 15:31:29 +08:00
|
|
|
1A88B2641FC3D9C9005C14AE /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1A88B2631FC3D9C9005C14AE /* Images.xcassets */; };
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FB21180E996B004C840B /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */; };
|
|
|
|
1AC6FB30180E99EB004C840B /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2d iOS.a */; };
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B781F6F77F7007BE51C /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B481F6F77D6007BE51C /* AppController.mm */; };
|
|
|
|
1AF87B881F6F781D007BE51C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */; };
|
|
|
|
1AF87B891F6F781D007BE51C /* LaunchScreenBackground.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */; };
|
|
|
|
1AF87B8A1F6F7822007BE51C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B5B1F6F77D6007BE51C /* main.m */; };
|
|
|
|
1AF87B8B1F6F782A007BE51C /* RootViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */; };
|
2013-07-05 10:31:20 +08:00
|
|
|
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
|
|
|
|
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
|
|
|
|
288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };
|
2016-06-15 10:43:15 +08:00
|
|
|
294D0D641D0D56D500F7F5D4 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 294D0D631D0D56D500F7F5D4 /* CoreText.framework */; };
|
2014-10-16 13:56:03 +08:00
|
|
|
3EACC98F19EE6D4300EB3C5E /* res in Resources */ = {isa = PBXBuildFile; fileRef = 3EACC98E19EE6D4300EB3C5E /* res */; };
|
|
|
|
3EACC99019EE6D4300EB3C5E /* res in Resources */ = {isa = PBXBuildFile; fileRef = 3EACC98E19EE6D4300EB3C5E /* res */; };
|
metal support for cocos2d-x (#19305)
* remove deprecated files
* remove some deprecated codes
* remove more deprecated codes
* remove ui deprecated codes
* remove more deprecated codes
* remove deprecated codes in ccmenuitem
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes
* remove more deprecated codes
* remove more deprecated codes
* remove vr related codes and ignore some modules
* remove allocator
* remove some config
* 【Feature】add back-end project file
* [Feature] add back-end file
* add pipeline descriptor and shader cache
* [Feature] support sprite for backend
* [Feature] remove unneeded code
* [Feature] according to es2.0 spec, you must use clamp-to-edge as texture wrap mode, and no mipmapping for non-power-of-two texture
* [Feature] set texture wrap mode to clamp-to-edge, and no mipmapping for non-power-of-two texture
* [Feature] remove macro define to .cpp file
* [Feature] add log info
* [Feature] add PipelineDescriptor for TriangleCommand
* [Feature] add PipelineDescriptor object as member of TriangleCommand
* [Feature] add getPipelineDescriptor method
* add renderbackend
* complete pipeline descriptor
* [Feature] add viewport in RenderCommand
* set viewport when rendrering
* [Feature] occur error when using RendererBackend, to be fixed.
* a workaround to fix black screen on macOS 10.14 (#19090)
* add rendererbackend init function
* fix typo
* [Feature] modify testFile
* [BugFix] modify shader path
* [Feature] set default viewport
* fix projection
* [Feature] modify log info
* [BugFix] change viewport data type to int
* [BugFix] add BindGroup to PipelienDescriptor
* [BugFix] change a_position to vec3 in sprite.vert
* [BugFix] set vertexLayout according to V3F_C4B_T2F structure
* [Feature] revert a_position to vec4
* [Feature] renderer should not use gl codes directly
* [Feature] it's better not use default value parameter
* fix depth test setting
* rendererbackend -> renderer
* clear color and depth at begin
* add metal backend
* metal support normalized attribute
* simplify codes
* update external
* add render pass desctriptor in pipeline descriptor
* fix warnings
* fix crash and memeory leak
* refactor Texture2D
* put pipeline descriptor into render command
* simplify codes
* [Feature] update Sprite
* fix crash when closing app
* [Feature] update SpriteBatchNode and TextureAtlas
* support render texture(not finish)
* [Feature] remove unused code
* make tests work on mac
* fix download-deps path error
* make tests work on iOS
* [Feature] support ttf under normal label effect
* refactor triangle command processing
* let renderer handle more common commands
* refactor backend
* make render texture work
* [Feature] refactor backend for GL
* [Feature]Renaming to make it easy to understand
* [Feature] change warp mode to CLAMP_TO_EDGE
* fix ghost
* simplify visit render queue logic
* support progress timer without rial mode
* support partcile system
* Feature/update label (#149)
* [BugFix] fix compile error
* [Feature] support outline effect in ios
* [Feature] add shader file
* [BugFix] fix begin and end RenderPass
* [Feature] update CustomCommand
* [Feature] revert project.pbxproj
* [Feature] simplify codes
* [BugFix] pack AI88 to RGBA8888 only when outline enable
* [Feature] support shadow effect in Label
* [Feature] support BMFont
* [Feature] support glow effect
* [Feature] simplify shader files
* LabelAtlas work
* handle blend function correctly
* support tile map
* don't share buffer in metal
* alloc buffer size as needed
* support more tilemap
* Merge branch 'minggo/metal-support' into feature/updateLabel
* minggo/metal-support:
support tile map
handle blend function correctly
LabelAtlas work
Feature/update label (#149)
support partcile system
# Conflicts:
# cocos/2d/CCLabel.cpp
# cocos/2d/CCSprite.cpp
# cocos/2d/CCSpriteBatchNode.cpp
# cocos/renderer/CCQuadCommand.cpp
# cocos/renderer/CCQuadCommand.h
* render texture work without saving file
* use global viewport
* grid3d works
* remove grabber
* tiled3d works
* [BugFix] fix label bug
* [Feature] add updateSubData for buffer
* [Feature] remove setVertexCount
* support depth test
* add callback command
* [Feature] add UITest
* [Feature] update UITest
* [Feature] remove unneeded codes
* fix custom command issue
* fix layer color blend issue
* [BugFix] fix iOS compile error
* [Feature] remove unneeded codes
* [Feature] fix updateVertexBuffer
* layerradial works
* add draw test back
* fix batch issue
* fix compiling error
* [BugFix] support ETC1
* [BugFix] get the correct pipelineDescriptor
* [BugFix] skip draw when backendTexture nullptr
* clipping node support
* [Feature] add shader files
* fix stencil issue in metal
* [Feature] update UILayoutTest
* [BugFix] skip drawing when vertexCount is zero
* refactor renderer
* add set global z order for stencil manager commands
* fix warnings caused by type
* remove viewport in render command
* [Feature] fix warnings caused by type
* [BugFix] clear vertexCount and indexCount for CustomComand when needed
* [Feature] update clear for CustomCommand
* ios use metal
* fix viewport issue
* fix LayerColorGradient crash
* [cmake] transport to android and windows (#160)
* save point 1
* compile on windows
* run on android
* revert useless change
* android set CC_ENABLE_CACHE_TEXTURE_DATA to 1
* add initGlew
* fix android crash
* add TODO new-renderer
* review update
* revert onGLFWWindowPosCallback
* fix android compiling error
* Impl progress radial (#162)
* progresstimer add radial impl
* default drawType to element
* dec invoke times of createVertexBuffer (#163)
* support depth/stencil format for gl backend
* simplify progress timer codes
* support motionstreak, effect is wrong
* fix motionstreak issue
* [Feature] update Scissor Test (#161)
* [Feature] update Scissor Test
* [Feature] update ScissorTest
* [Feature] rename function
* [Feature] get constant reference if needed
* [Feature] show render status (#164)
* improve performance
* fix depth state
* fill error that triangle vertex/index number bigger than buffer
* fix compiline error in release mode
* fix buffer conflict between CPU and GPU on iOS/macOS
* Renderer refactor (#165)
* use one vertes/index buffer with opengl
* fix error on windows
* custom command support index format config
* CCLayer: compact vertex data structure
* update comment
* fix doc
* support fast tilemap
* pass index format instead
* fix some wrong effect
* fix render texture error
* fix texture per-element size
* fix texture format error
* BlendFunc type refactor, GLenum -> backend::BlendFactor (#167)
* BlendFunc use backend::BlendFactor as inner field
* update comments
* use int to replace GLenum
* update xcode project fiel
* rename to GLBlendConst
* add ccConstants.h
* update xcode project file
* update copyright
* remove primitive command
* remove CCPrimitive.cpp/.h
* remove deprecated files
* remove unneeded files
* remove multiple view support
* remove multiple view support
* remove the usage of frame buffer in camera
* director don't use frame buffer
* remove FrameBuffer
* remove BatchCommand
* add some api reference
* add physics2d back
* fix crash when close app on mac
* improve render texture
* fix rendertexture issue
* fix rendertexture issue
* simplify codes
* CMake support for mac & ios (#169)
* update cmake
* fix compile error
* update 3rd libs version
* remove CCThread.h/.cpp
* remove ccthread
* use audio engine to implement simple audio engine
* remove unneeded codes
* remove deprecated codes
* remove winrt macro
* remove CC_USE_WIC
* set partcile blend function in more elegant way
* remove unneeded codes
* remove unneeded codes
* cmake works on windows
* update project setting
* improve performance
* GLFloat -> float
* sync v3 cmake improvements into metal-support (#172)
* pick: modern cmake, compile definitions improvement (#19139)
* modern cmake, use target_compile_definitions partly
* simplify macro define, remove USE_*
* modern cmake, macro define
* add physics 2d macro define into ccConfig.h
* remove USE_CHIPMUNK macro in build.gradle
* remove CocosSelectModule.cmake
* shrink useless define
* simplify compile options config, re-add if necessary
* update external for tmp CI test
* un-quote target_compile_options value
* add "-g" parameter only when debug mode
* keep single build type when generator Xcode & VS projecy
* update external for tmp CI tes
* add static_cast<char>(-1), fix -Wc++11-narrowing
* simplify win32 compile define
* not modify code, only improve compile options
# Conflicts:
# .gitignore
# cmake/Modules/CocosConfigDepend.cmake
# cocos/CMakeLists.txt
# external/config.json
# tests/cpp-tests/CMakeLists.txt
* modern cmake, improve cmake_compiler_flags (#19145)
* cmake_compiler_flags
* Fix typo
* Fix typo2
* Remove chanages from Android.mk
* correct lua template cmake build (#19149)
* don't add -Wno-deprecated into jsb target
* correct lua template cmake build
* fix win32 lua template compile error
* prevent cmake in-source-build friendly (#19151)
* pick: Copy resources to "Resources/" on win32 like in linux configuration
* add "/Z7" for cpp-tests on windows
* [cmake] fix iOS xcode property setting failed (#19208)
* fix iOS xcode property setting failed
* use search_depend_libs_recursive at dlls collect
* fix typo
* [cmake] add find_host_library into iOS toolchain file (#19230)
* pick: [lua android] use luajit & template cmake update (#19239)
* increase cmake stability , remove tests/CMakeLists.txt (#19261)
* cmake win32 Precompiled header (#19273)
* Precompiled header
* Fix
* Precompiled header for cocos
* Precompiled header jscocos2d
* Fix for COCOS2D_DEBUG is always 1 on Android (#19291)
Related #19289
* little build fix, tests cpp-tests works on mac
* sync v3 build related codes into metal-support (#173)
* strict initialization for std::array
* remove proj.win32 project configs
* modern cmake, cmake_cleanup_remove_unused_variables (#19146)
* Switch travis CI to xenial (#19207)
* Switch travis CI to xenial
* Remove language: android
* Set language: cpp
* Fix java problem
* Update sdkmanager
* Fix sdkmanger
* next sdkmanager fix
* Remove xenial from android
* revert to sdk-tools-{system}-3859397
* Remove linux cmake install
* Update before-install.sh
* Update .travis.yml
* Simplify install-deps-linux.sh, tested on Ubuntu 16.04 (#19212)
* Simplify install-deps-linux.sh
* Cleanup
* pick: install ninja
* update cocos2d-console submodule
* for metal-support alpha release, we only test cpp
* add HelloCpp into project(Cocos2d-x) for tmp test
* update extenal metal-support-4
* update uniform setting
* [Feature] update BindGroup
* [Feature] empty-test
* [Feature] cpp-test
* [Feature] fix GL compiler error
* [Feature] fix GL crash
* [Feature] empty-test
* [Feature] cpp-tests
* [feature] improve frameRate
* [feature] fix opengl compile error
* [feature] fix opengl compile error
* [BugFix] fix compute maxLocation error
* [Feature] update setting unifrom
* [Feature] fix namespace
* [Feature] remove unneeded code
* [Bugfix] fix project file
* [Feature] update review
* [texture2d] impl texture format support (#175)
* texture update
* update
* update texture
* commit
* compile on windows
* ddd
* rename
* rename methods
* no crash
* save gl
* save
* save
* rename
* move out pixel format convert functions
* metal crash
* update
* update android
* support gles compressed texture format
* support more compress format
* add more conversion methods
* ss
* save
* update conversion methods
* add PVRTC format support
* reformat
* add marco linux
* fix GL marcro
* pvrtc supported only by ios 8.0+
* remove unused cmake
* revert change
* refactor Texture2D::initWithData
* fix conversion log
* refactor Texture2D::initWithData
* remove some OpenGL constants for PVRTC
* add todo
* fix typo
* AutoTest works on mac/iOS by disable part cases, sync v3 bug fix (#174)
* review cpp-tests, and fix part issues on start auto test
* sync png format fix: Node:Particle3D abnormal texture effects #19204
* fix cpp-tests SpritePolygon crash, wrong png format (#19170)
* fix wrong png convert format from sRGB to Gray
* erase plist index if all frames was erased
* test_A8.png have I8 format, fix it
* [CCSpriteCache] allow re-add plist & add testcase (#19175)
* allow re-add plist & add testcase
* remove comments/rename method/update testcase
* fix isSpriteFramesWithFileLoaded & add testcase
* remove used variable
* remove unused variable
* fix double free issues when js/lua-tests exit on iOS (#19236)
* disable part cases, AutoTest works without crash on mac
* update cocos2dx files json, to test cocos new next
* fix spritecache plist parsing issue (#19269)
* [linux] Fix FileUtils::getContents with folder (#19157)
* fix FileUtils::getContents on linux/mac
* use stat.st_mode
* simplify
* [CCFileUtils] win32 getFileSize (#19176)
* win32 getFileSize
* fix stat
* [cpp test-Android]20:FileUtils/2 change title (#19197)
* sync #19200
* sync #19231
* [android lua] improve performance of lua loader (#19234)
* [lua] improve performance of lua loader
* remove cache fix
* Revert "fix spritecache plist parsing issue (#19269)"
This reverts commit f3a85ece4307a7b90816c34489d1ed2c8fd11baf.
* remove win32 project files ref in template.json
* add metal framework lnk ref into cpp template
* test on iOS, and disable part cases
* alBufferData instead of alBufferDataStatic for small audio file on Apple (#19227)
* changes AudioCache to use alBufferData instead of alBufferDataStatic
(also makes test 19 faster to trigger openal bugs faster)
The original problem: CrashIfClientProvidedBogusAudioBufferList
https://github.com/cocos2d/cocos2d-x/issues/18948
is not happening anymore, but there's still a not very frequent issue
that makes OpenAL crash with a call stack like this.
AudioCache::readDataTask > alBufferData > CleanUpDeadBufferList
It happes more frequently when the device is "cold", which means after
half an hour of not using the device (locked).
I could not find the actual source code for iOS OpenAL, so I used the
macOS versions:
https://opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/oalImp.cpp.auto.html
They seem to use CAGuard.h to make sure the dead buffer list
has no threading issues. I'm worried because the CAGuard code I found
has macos and win32 define but no iOS, so I'm not sure. I guess the
iOS version is different and has the guard.
I could not find a place in the code that's unprotected by the locks
except the InitializeBufferMap() which should not be called more than
once from cocos, and there's a workaround in AudioEngine-impl for it.
I reduced the occurence of the CleanUpDeadBufferList crash by moving
the guard in ~AudioCache to cover the alDeleteBuffers call.
* remove hack method "setTimeout" on audio
* AutoTest works on iOS
* support set ios deployment target for root project
* enable all texture2d cases, since Jiang have fixed
* add CCTextureUtils to xcode project file (#176)
* add leak cases for SpriteFrameCache (#177)
* re-add SpriteFrameCache cases
* update template file json
* Update SpriteFrameCacheTest.cpp
* fix compiling error
2019-01-18 15:08:25 +08:00
|
|
|
406B584721F06D6E000624D6 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 406B584621F06D6E000624D6 /* Metal.framework */; };
|
|
|
|
406B584921F06D78000624D6 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 406B584821F06D78000624D6 /* Metal.framework */; };
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7B19C43A67006E1F66 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7619C43A67006E1F66 /* CloseNormal.png */; };
|
|
|
|
46880B7C19C43A67006E1F66 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7619C43A67006E1F66 /* CloseNormal.png */; };
|
|
|
|
46880B7D19C43A67006E1F66 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7719C43A67006E1F66 /* CloseSelected.png */; };
|
|
|
|
46880B7E19C43A67006E1F66 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7719C43A67006E1F66 /* CloseSelected.png */; };
|
|
|
|
46880B8119C43A67006E1F66 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7A19C43A67006E1F66 /* HelloWorld.png */; };
|
|
|
|
46880B8219C43A67006E1F66 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 46880B7A19C43A67006E1F66 /* HelloWorld.png */; };
|
|
|
|
46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; };
|
|
|
|
46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; };
|
|
|
|
46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; };
|
|
|
|
46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; };
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 503AE0F617EB97AB00D1A890 /* Icon.icns */; };
|
|
|
|
503AE10517EB98FF00D1A890 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 503AE10317EB98FF00D1A890 /* main.cpp */; };
|
|
|
|
503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; };
|
|
|
|
5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
|
|
|
|
5087E76717EB910900C73F5D /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; };
|
|
|
|
5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; };
|
|
|
|
5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; };
|
|
|
|
5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; };
|
|
|
|
5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; };
|
|
|
|
5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78817EB974C00C73F5D /* AppKit.framework */; };
|
|
|
|
5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78A17EB975400C73F5D /* OpenGL.framework */; };
|
2014-10-17 18:22:25 +08:00
|
|
|
521A8EA919F11F5000D177D7 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 521A8EA819F11F5000D177D7 /* fonts */; };
|
|
|
|
521A8EAA19F11F5000D177D7 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 521A8EA819F11F5000D177D7 /* fonts */; };
|
2014-12-31 14:46:34 +08:00
|
|
|
52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52B47A461A53D09B004E4C60 /* Security.framework */; };
|
2015-03-10 18:57:21 +08:00
|
|
|
8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8262943D1AAF051F00CB7CF7 /* Security.framework */; };
|
2013-07-05 10:31:20 +08:00
|
|
|
BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB012928DE900B8313A /* OpenGLES.framework */; };
|
|
|
|
BF1712471292920000B8313A /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; };
|
|
|
|
BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; };
|
|
|
|
D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; };
|
|
|
|
D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; };
|
|
|
|
D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; };
|
2013-10-08 11:08:45 +08:00
|
|
|
D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B0611A1803AB670077942B /* CoreMotion.framework */; };
|
2015-07-29 13:59:58 +08:00
|
|
|
ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7B1B68A1F400C3958E /* libiconv.dylib */; };
|
|
|
|
ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7D1B68A1FA00C3958E /* libiconv.dylib */; };
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXBuildFile section */
|
|
|
|
|
|
|
|
/* Begin PBXContainerItemProxy section */
|
2017-09-19 15:01:19 +08:00
|
|
|
1A7533E21F6F75F6007E8E6F /* PBXContainerItemProxy */ = {
|
|
|
|
isa = PBXContainerItemProxy;
|
|
|
|
containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
|
|
|
proxyType = 2;
|
|
|
|
remoteGlobalIDString = 507B40FD1C31BDD30067B53E;
|
|
|
|
remoteInfo = "libcocos2d tvOS";
|
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXContainerItemProxy;
|
2013-10-16 22:54:55 +08:00
|
|
|
containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
2013-07-05 10:31:20 +08:00
|
|
|
proxyType = 2;
|
|
|
|
remoteGlobalIDString = 1551A33F158F2AB200E66CFE;
|
|
|
|
remoteInfo = "cocos2dx Mac";
|
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXContainerItemProxy;
|
2013-10-16 22:54:55 +08:00
|
|
|
containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
2013-07-05 10:31:20 +08:00
|
|
|
proxyType = 2;
|
|
|
|
remoteGlobalIDString = A07A4D641783777C0073F6A7;
|
|
|
|
remoteInfo = "cocos2dx iOS";
|
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXContainerItemProxy;
|
2013-10-16 22:54:55 +08:00
|
|
|
containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
2013-07-05 10:31:20 +08:00
|
|
|
proxyType = 1;
|
2013-10-16 22:54:55 +08:00
|
|
|
remoteGlobalIDString = 1551A33E158F2AB200E66CFE;
|
|
|
|
remoteInfo = "cocos2dx Mac";
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = {
|
2013-09-20 05:59:44 +08:00
|
|
|
isa = PBXContainerItemProxy;
|
2013-10-16 22:54:55 +08:00
|
|
|
containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
2013-09-20 05:59:44 +08:00
|
|
|
proxyType = 1;
|
2013-10-16 22:54:55 +08:00
|
|
|
remoteGlobalIDString = A07A4C241783777C0073F6A7;
|
|
|
|
remoteInfo = "cocos2dx iOS";
|
2013-09-20 05:59:44 +08:00
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXContainerItemProxy section */
|
|
|
|
|
|
|
|
/* Begin PBXFileReference section */
|
2017-11-21 15:31:29 +08:00
|
|
|
1A88B2631FC3D9C9005C14AE /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
|
2013-12-24 09:42:37 +08:00
|
|
|
1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
|
2013-07-05 10:31:20 +08:00
|
|
|
1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B471F6F77D6007BE51C /* AppController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; };
|
|
|
|
1AF87B481F6F77D6007BE51C /* AppController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = "<group>"; };
|
|
|
|
1AF87B581F6F77D6007BE51C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
|
|
1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
|
|
1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = LaunchScreenBackground.png; sourceTree = "<group>"; };
|
|
|
|
1AF87B5B1F6F77D6007BE51C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
|
|
|
1AF87B5C1F6F77D6007BE51C /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = "<group>"; };
|
|
|
|
1AF87B5D1F6F77D6007BE51C /* RootViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RootViewController.h; sourceTree = "<group>"; };
|
|
|
|
1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RootViewController.mm; sourceTree = "<group>"; };
|
2013-07-05 10:31:20 +08:00
|
|
|
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
2015-04-30 15:20:47 +08:00
|
|
|
1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloCpp-mobile.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
2013-07-05 10:31:20 +08:00
|
|
|
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
|
|
|
288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
2017-06-15 09:53:32 +08:00
|
|
|
294D0D631D0D56D500F7F5D4 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework; sourceTree = DEVELOPER_DIR; };
|
2014-12-31 14:22:18 +08:00
|
|
|
3EACC98E19EE6D4300EB3C5E /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; path = res; sourceTree = "<group>"; };
|
metal support for cocos2d-x (#19305)
* remove deprecated files
* remove some deprecated codes
* remove more deprecated codes
* remove ui deprecated codes
* remove more deprecated codes
* remove deprecated codes in ccmenuitem
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes
* remove more deprecated codes
* remove more deprecated codes
* remove vr related codes and ignore some modules
* remove allocator
* remove some config
* 【Feature】add back-end project file
* [Feature] add back-end file
* add pipeline descriptor and shader cache
* [Feature] support sprite for backend
* [Feature] remove unneeded code
* [Feature] according to es2.0 spec, you must use clamp-to-edge as texture wrap mode, and no mipmapping for non-power-of-two texture
* [Feature] set texture wrap mode to clamp-to-edge, and no mipmapping for non-power-of-two texture
* [Feature] remove macro define to .cpp file
* [Feature] add log info
* [Feature] add PipelineDescriptor for TriangleCommand
* [Feature] add PipelineDescriptor object as member of TriangleCommand
* [Feature] add getPipelineDescriptor method
* add renderbackend
* complete pipeline descriptor
* [Feature] add viewport in RenderCommand
* set viewport when rendrering
* [Feature] occur error when using RendererBackend, to be fixed.
* a workaround to fix black screen on macOS 10.14 (#19090)
* add rendererbackend init function
* fix typo
* [Feature] modify testFile
* [BugFix] modify shader path
* [Feature] set default viewport
* fix projection
* [Feature] modify log info
* [BugFix] change viewport data type to int
* [BugFix] add BindGroup to PipelienDescriptor
* [BugFix] change a_position to vec3 in sprite.vert
* [BugFix] set vertexLayout according to V3F_C4B_T2F structure
* [Feature] revert a_position to vec4
* [Feature] renderer should not use gl codes directly
* [Feature] it's better not use default value parameter
* fix depth test setting
* rendererbackend -> renderer
* clear color and depth at begin
* add metal backend
* metal support normalized attribute
* simplify codes
* update external
* add render pass desctriptor in pipeline descriptor
* fix warnings
* fix crash and memeory leak
* refactor Texture2D
* put pipeline descriptor into render command
* simplify codes
* [Feature] update Sprite
* fix crash when closing app
* [Feature] update SpriteBatchNode and TextureAtlas
* support render texture(not finish)
* [Feature] remove unused code
* make tests work on mac
* fix download-deps path error
* make tests work on iOS
* [Feature] support ttf under normal label effect
* refactor triangle command processing
* let renderer handle more common commands
* refactor backend
* make render texture work
* [Feature] refactor backend for GL
* [Feature]Renaming to make it easy to understand
* [Feature] change warp mode to CLAMP_TO_EDGE
* fix ghost
* simplify visit render queue logic
* support progress timer without rial mode
* support partcile system
* Feature/update label (#149)
* [BugFix] fix compile error
* [Feature] support outline effect in ios
* [Feature] add shader file
* [BugFix] fix begin and end RenderPass
* [Feature] update CustomCommand
* [Feature] revert project.pbxproj
* [Feature] simplify codes
* [BugFix] pack AI88 to RGBA8888 only when outline enable
* [Feature] support shadow effect in Label
* [Feature] support BMFont
* [Feature] support glow effect
* [Feature] simplify shader files
* LabelAtlas work
* handle blend function correctly
* support tile map
* don't share buffer in metal
* alloc buffer size as needed
* support more tilemap
* Merge branch 'minggo/metal-support' into feature/updateLabel
* minggo/metal-support:
support tile map
handle blend function correctly
LabelAtlas work
Feature/update label (#149)
support partcile system
# Conflicts:
# cocos/2d/CCLabel.cpp
# cocos/2d/CCSprite.cpp
# cocos/2d/CCSpriteBatchNode.cpp
# cocos/renderer/CCQuadCommand.cpp
# cocos/renderer/CCQuadCommand.h
* render texture work without saving file
* use global viewport
* grid3d works
* remove grabber
* tiled3d works
* [BugFix] fix label bug
* [Feature] add updateSubData for buffer
* [Feature] remove setVertexCount
* support depth test
* add callback command
* [Feature] add UITest
* [Feature] update UITest
* [Feature] remove unneeded codes
* fix custom command issue
* fix layer color blend issue
* [BugFix] fix iOS compile error
* [Feature] remove unneeded codes
* [Feature] fix updateVertexBuffer
* layerradial works
* add draw test back
* fix batch issue
* fix compiling error
* [BugFix] support ETC1
* [BugFix] get the correct pipelineDescriptor
* [BugFix] skip draw when backendTexture nullptr
* clipping node support
* [Feature] add shader files
* fix stencil issue in metal
* [Feature] update UILayoutTest
* [BugFix] skip drawing when vertexCount is zero
* refactor renderer
* add set global z order for stencil manager commands
* fix warnings caused by type
* remove viewport in render command
* [Feature] fix warnings caused by type
* [BugFix] clear vertexCount and indexCount for CustomComand when needed
* [Feature] update clear for CustomCommand
* ios use metal
* fix viewport issue
* fix LayerColorGradient crash
* [cmake] transport to android and windows (#160)
* save point 1
* compile on windows
* run on android
* revert useless change
* android set CC_ENABLE_CACHE_TEXTURE_DATA to 1
* add initGlew
* fix android crash
* add TODO new-renderer
* review update
* revert onGLFWWindowPosCallback
* fix android compiling error
* Impl progress radial (#162)
* progresstimer add radial impl
* default drawType to element
* dec invoke times of createVertexBuffer (#163)
* support depth/stencil format for gl backend
* simplify progress timer codes
* support motionstreak, effect is wrong
* fix motionstreak issue
* [Feature] update Scissor Test (#161)
* [Feature] update Scissor Test
* [Feature] update ScissorTest
* [Feature] rename function
* [Feature] get constant reference if needed
* [Feature] show render status (#164)
* improve performance
* fix depth state
* fill error that triangle vertex/index number bigger than buffer
* fix compiline error in release mode
* fix buffer conflict between CPU and GPU on iOS/macOS
* Renderer refactor (#165)
* use one vertes/index buffer with opengl
* fix error on windows
* custom command support index format config
* CCLayer: compact vertex data structure
* update comment
* fix doc
* support fast tilemap
* pass index format instead
* fix some wrong effect
* fix render texture error
* fix texture per-element size
* fix texture format error
* BlendFunc type refactor, GLenum -> backend::BlendFactor (#167)
* BlendFunc use backend::BlendFactor as inner field
* update comments
* use int to replace GLenum
* update xcode project fiel
* rename to GLBlendConst
* add ccConstants.h
* update xcode project file
* update copyright
* remove primitive command
* remove CCPrimitive.cpp/.h
* remove deprecated files
* remove unneeded files
* remove multiple view support
* remove multiple view support
* remove the usage of frame buffer in camera
* director don't use frame buffer
* remove FrameBuffer
* remove BatchCommand
* add some api reference
* add physics2d back
* fix crash when close app on mac
* improve render texture
* fix rendertexture issue
* fix rendertexture issue
* simplify codes
* CMake support for mac & ios (#169)
* update cmake
* fix compile error
* update 3rd libs version
* remove CCThread.h/.cpp
* remove ccthread
* use audio engine to implement simple audio engine
* remove unneeded codes
* remove deprecated codes
* remove winrt macro
* remove CC_USE_WIC
* set partcile blend function in more elegant way
* remove unneeded codes
* remove unneeded codes
* cmake works on windows
* update project setting
* improve performance
* GLFloat -> float
* sync v3 cmake improvements into metal-support (#172)
* pick: modern cmake, compile definitions improvement (#19139)
* modern cmake, use target_compile_definitions partly
* simplify macro define, remove USE_*
* modern cmake, macro define
* add physics 2d macro define into ccConfig.h
* remove USE_CHIPMUNK macro in build.gradle
* remove CocosSelectModule.cmake
* shrink useless define
* simplify compile options config, re-add if necessary
* update external for tmp CI test
* un-quote target_compile_options value
* add "-g" parameter only when debug mode
* keep single build type when generator Xcode & VS projecy
* update external for tmp CI tes
* add static_cast<char>(-1), fix -Wc++11-narrowing
* simplify win32 compile define
* not modify code, only improve compile options
# Conflicts:
# .gitignore
# cmake/Modules/CocosConfigDepend.cmake
# cocos/CMakeLists.txt
# external/config.json
# tests/cpp-tests/CMakeLists.txt
* modern cmake, improve cmake_compiler_flags (#19145)
* cmake_compiler_flags
* Fix typo
* Fix typo2
* Remove chanages from Android.mk
* correct lua template cmake build (#19149)
* don't add -Wno-deprecated into jsb target
* correct lua template cmake build
* fix win32 lua template compile error
* prevent cmake in-source-build friendly (#19151)
* pick: Copy resources to "Resources/" on win32 like in linux configuration
* add "/Z7" for cpp-tests on windows
* [cmake] fix iOS xcode property setting failed (#19208)
* fix iOS xcode property setting failed
* use search_depend_libs_recursive at dlls collect
* fix typo
* [cmake] add find_host_library into iOS toolchain file (#19230)
* pick: [lua android] use luajit & template cmake update (#19239)
* increase cmake stability , remove tests/CMakeLists.txt (#19261)
* cmake win32 Precompiled header (#19273)
* Precompiled header
* Fix
* Precompiled header for cocos
* Precompiled header jscocos2d
* Fix for COCOS2D_DEBUG is always 1 on Android (#19291)
Related #19289
* little build fix, tests cpp-tests works on mac
* sync v3 build related codes into metal-support (#173)
* strict initialization for std::array
* remove proj.win32 project configs
* modern cmake, cmake_cleanup_remove_unused_variables (#19146)
* Switch travis CI to xenial (#19207)
* Switch travis CI to xenial
* Remove language: android
* Set language: cpp
* Fix java problem
* Update sdkmanager
* Fix sdkmanger
* next sdkmanager fix
* Remove xenial from android
* revert to sdk-tools-{system}-3859397
* Remove linux cmake install
* Update before-install.sh
* Update .travis.yml
* Simplify install-deps-linux.sh, tested on Ubuntu 16.04 (#19212)
* Simplify install-deps-linux.sh
* Cleanup
* pick: install ninja
* update cocos2d-console submodule
* for metal-support alpha release, we only test cpp
* add HelloCpp into project(Cocos2d-x) for tmp test
* update extenal metal-support-4
* update uniform setting
* [Feature] update BindGroup
* [Feature] empty-test
* [Feature] cpp-test
* [Feature] fix GL compiler error
* [Feature] fix GL crash
* [Feature] empty-test
* [Feature] cpp-tests
* [feature] improve frameRate
* [feature] fix opengl compile error
* [feature] fix opengl compile error
* [BugFix] fix compute maxLocation error
* [Feature] update setting unifrom
* [Feature] fix namespace
* [Feature] remove unneeded code
* [Bugfix] fix project file
* [Feature] update review
* [texture2d] impl texture format support (#175)
* texture update
* update
* update texture
* commit
* compile on windows
* ddd
* rename
* rename methods
* no crash
* save gl
* save
* save
* rename
* move out pixel format convert functions
* metal crash
* update
* update android
* support gles compressed texture format
* support more compress format
* add more conversion methods
* ss
* save
* update conversion methods
* add PVRTC format support
* reformat
* add marco linux
* fix GL marcro
* pvrtc supported only by ios 8.0+
* remove unused cmake
* revert change
* refactor Texture2D::initWithData
* fix conversion log
* refactor Texture2D::initWithData
* remove some OpenGL constants for PVRTC
* add todo
* fix typo
* AutoTest works on mac/iOS by disable part cases, sync v3 bug fix (#174)
* review cpp-tests, and fix part issues on start auto test
* sync png format fix: Node:Particle3D abnormal texture effects #19204
* fix cpp-tests SpritePolygon crash, wrong png format (#19170)
* fix wrong png convert format from sRGB to Gray
* erase plist index if all frames was erased
* test_A8.png have I8 format, fix it
* [CCSpriteCache] allow re-add plist & add testcase (#19175)
* allow re-add plist & add testcase
* remove comments/rename method/update testcase
* fix isSpriteFramesWithFileLoaded & add testcase
* remove used variable
* remove unused variable
* fix double free issues when js/lua-tests exit on iOS (#19236)
* disable part cases, AutoTest works without crash on mac
* update cocos2dx files json, to test cocos new next
* fix spritecache plist parsing issue (#19269)
* [linux] Fix FileUtils::getContents with folder (#19157)
* fix FileUtils::getContents on linux/mac
* use stat.st_mode
* simplify
* [CCFileUtils] win32 getFileSize (#19176)
* win32 getFileSize
* fix stat
* [cpp test-Android]20:FileUtils/2 change title (#19197)
* sync #19200
* sync #19231
* [android lua] improve performance of lua loader (#19234)
* [lua] improve performance of lua loader
* remove cache fix
* Revert "fix spritecache plist parsing issue (#19269)"
This reverts commit f3a85ece4307a7b90816c34489d1ed2c8fd11baf.
* remove win32 project files ref in template.json
* add metal framework lnk ref into cpp template
* test on iOS, and disable part cases
* alBufferData instead of alBufferDataStatic for small audio file on Apple (#19227)
* changes AudioCache to use alBufferData instead of alBufferDataStatic
(also makes test 19 faster to trigger openal bugs faster)
The original problem: CrashIfClientProvidedBogusAudioBufferList
https://github.com/cocos2d/cocos2d-x/issues/18948
is not happening anymore, but there's still a not very frequent issue
that makes OpenAL crash with a call stack like this.
AudioCache::readDataTask > alBufferData > CleanUpDeadBufferList
It happes more frequently when the device is "cold", which means after
half an hour of not using the device (locked).
I could not find the actual source code for iOS OpenAL, so I used the
macOS versions:
https://opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/oalImp.cpp.auto.html
They seem to use CAGuard.h to make sure the dead buffer list
has no threading issues. I'm worried because the CAGuard code I found
has macos and win32 define but no iOS, so I'm not sure. I guess the
iOS version is different and has the guard.
I could not find a place in the code that's unprotected by the locks
except the InitializeBufferMap() which should not be called more than
once from cocos, and there's a workaround in AudioEngine-impl for it.
I reduced the occurence of the CleanUpDeadBufferList crash by moving
the guard in ~AudioCache to cover the alDeleteBuffers call.
* remove hack method "setTimeout" on audio
* AutoTest works on iOS
* support set ios deployment target for root project
* enable all texture2d cases, since Jiang have fixed
* add CCTextureUtils to xcode project file (#176)
* add leak cases for SpriteFrameCache (#177)
* re-add SpriteFrameCache cases
* update template file json
* Update SpriteFrameCacheTest.cpp
* fix compiling error
2019-01-18 15:08:25 +08:00
|
|
|
406B584621F06D6E000624D6 /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
|
|
|
|
406B584821F06D78000624D6 /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; };
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7619C43A67006E1F66 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = "<group>"; };
|
|
|
|
46880B7719C43A67006E1F66 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = "<group>"; };
|
|
|
|
46880B7A19C43A67006E1F66 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = "<group>"; };
|
|
|
|
46880B8419C43A87006E1F66 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AppDelegate.cpp; sourceTree = "<group>"; };
|
|
|
|
46880B8519C43A87006E1F66 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
|
|
|
46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HelloWorldScene.cpp; sourceTree = "<group>"; };
|
|
|
|
46880B8719C43A87006E1F66 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelloWorldScene.h; sourceTree = "<group>"; };
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE0F617EB97AB00D1A890 /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = "<group>"; };
|
|
|
|
503AE0F717EB97AB00D1A890 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
|
|
503AE10317EB98FF00D1A890 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = mac/main.cpp; sourceTree = "<group>"; };
|
|
|
|
503AE10417EB98FF00D1A890 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Prefix.pch; path = mac/Prefix.pch; sourceTree = "<group>"; };
|
|
|
|
503AE11117EB99EE00D1A890 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; };
|
|
|
|
503AE11A17EB9C5A00D1A890 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
|
2015-04-30 15:20:47 +08:00
|
|
|
5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloCpp-desktop.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
2013-09-20 05:59:44 +08:00
|
|
|
5087E78817EB974C00C73F5D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
|
|
|
|
5087E78A17EB975400C73F5D /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; };
|
2014-10-17 18:22:25 +08:00
|
|
|
521A8EA819F11F5000D177D7 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = "<group>"; };
|
2017-06-15 09:53:32 +08:00
|
|
|
52B47A461A53D09B004E4C60 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
|
2015-03-10 18:57:21 +08:00
|
|
|
8262943D1AAF051F00CB7CF7 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
|
2013-07-05 10:31:20 +08:00
|
|
|
BF170DB012928DE900B8313A /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
|
|
|
|
BF170DB412928DE900B8313A /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
|
|
|
|
BF1C47EA1293683800B63C5D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
|
|
|
D44C620B132DFF330009C878 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; };
|
|
|
|
D44C620D132DFF430009C878 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
|
|
|
|
D44C620F132DFF4E0009C878 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
2017-06-15 09:53:32 +08:00
|
|
|
D6B0611A1803AB670077942B /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework; sourceTree = DEVELOPER_DIR; };
|
|
|
|
ED545A7B1B68A1F400C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libiconv.dylib; sourceTree = DEVELOPER_DIR; };
|
2015-07-29 13:59:58 +08:00
|
|
|
ED545A7D1B68A1FA00C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; };
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXFileReference section */
|
|
|
|
|
|
|
|
/* Begin PBXFrameworksBuildPhase section */
|
|
|
|
1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
|
|
|
|
isa = PBXFrameworksBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
metal support for cocos2d-x (#19305)
* remove deprecated files
* remove some deprecated codes
* remove more deprecated codes
* remove ui deprecated codes
* remove more deprecated codes
* remove deprecated codes in ccmenuitem
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes
* remove more deprecated codes
* remove more deprecated codes
* remove vr related codes and ignore some modules
* remove allocator
* remove some config
* 【Feature】add back-end project file
* [Feature] add back-end file
* add pipeline descriptor and shader cache
* [Feature] support sprite for backend
* [Feature] remove unneeded code
* [Feature] according to es2.0 spec, you must use clamp-to-edge as texture wrap mode, and no mipmapping for non-power-of-two texture
* [Feature] set texture wrap mode to clamp-to-edge, and no mipmapping for non-power-of-two texture
* [Feature] remove macro define to .cpp file
* [Feature] add log info
* [Feature] add PipelineDescriptor for TriangleCommand
* [Feature] add PipelineDescriptor object as member of TriangleCommand
* [Feature] add getPipelineDescriptor method
* add renderbackend
* complete pipeline descriptor
* [Feature] add viewport in RenderCommand
* set viewport when rendrering
* [Feature] occur error when using RendererBackend, to be fixed.
* a workaround to fix black screen on macOS 10.14 (#19090)
* add rendererbackend init function
* fix typo
* [Feature] modify testFile
* [BugFix] modify shader path
* [Feature] set default viewport
* fix projection
* [Feature] modify log info
* [BugFix] change viewport data type to int
* [BugFix] add BindGroup to PipelienDescriptor
* [BugFix] change a_position to vec3 in sprite.vert
* [BugFix] set vertexLayout according to V3F_C4B_T2F structure
* [Feature] revert a_position to vec4
* [Feature] renderer should not use gl codes directly
* [Feature] it's better not use default value parameter
* fix depth test setting
* rendererbackend -> renderer
* clear color and depth at begin
* add metal backend
* metal support normalized attribute
* simplify codes
* update external
* add render pass desctriptor in pipeline descriptor
* fix warnings
* fix crash and memeory leak
* refactor Texture2D
* put pipeline descriptor into render command
* simplify codes
* [Feature] update Sprite
* fix crash when closing app
* [Feature] update SpriteBatchNode and TextureAtlas
* support render texture(not finish)
* [Feature] remove unused code
* make tests work on mac
* fix download-deps path error
* make tests work on iOS
* [Feature] support ttf under normal label effect
* refactor triangle command processing
* let renderer handle more common commands
* refactor backend
* make render texture work
* [Feature] refactor backend for GL
* [Feature]Renaming to make it easy to understand
* [Feature] change warp mode to CLAMP_TO_EDGE
* fix ghost
* simplify visit render queue logic
* support progress timer without rial mode
* support partcile system
* Feature/update label (#149)
* [BugFix] fix compile error
* [Feature] support outline effect in ios
* [Feature] add shader file
* [BugFix] fix begin and end RenderPass
* [Feature] update CustomCommand
* [Feature] revert project.pbxproj
* [Feature] simplify codes
* [BugFix] pack AI88 to RGBA8888 only when outline enable
* [Feature] support shadow effect in Label
* [Feature] support BMFont
* [Feature] support glow effect
* [Feature] simplify shader files
* LabelAtlas work
* handle blend function correctly
* support tile map
* don't share buffer in metal
* alloc buffer size as needed
* support more tilemap
* Merge branch 'minggo/metal-support' into feature/updateLabel
* minggo/metal-support:
support tile map
handle blend function correctly
LabelAtlas work
Feature/update label (#149)
support partcile system
# Conflicts:
# cocos/2d/CCLabel.cpp
# cocos/2d/CCSprite.cpp
# cocos/2d/CCSpriteBatchNode.cpp
# cocos/renderer/CCQuadCommand.cpp
# cocos/renderer/CCQuadCommand.h
* render texture work without saving file
* use global viewport
* grid3d works
* remove grabber
* tiled3d works
* [BugFix] fix label bug
* [Feature] add updateSubData for buffer
* [Feature] remove setVertexCount
* support depth test
* add callback command
* [Feature] add UITest
* [Feature] update UITest
* [Feature] remove unneeded codes
* fix custom command issue
* fix layer color blend issue
* [BugFix] fix iOS compile error
* [Feature] remove unneeded codes
* [Feature] fix updateVertexBuffer
* layerradial works
* add draw test back
* fix batch issue
* fix compiling error
* [BugFix] support ETC1
* [BugFix] get the correct pipelineDescriptor
* [BugFix] skip draw when backendTexture nullptr
* clipping node support
* [Feature] add shader files
* fix stencil issue in metal
* [Feature] update UILayoutTest
* [BugFix] skip drawing when vertexCount is zero
* refactor renderer
* add set global z order for stencil manager commands
* fix warnings caused by type
* remove viewport in render command
* [Feature] fix warnings caused by type
* [BugFix] clear vertexCount and indexCount for CustomComand when needed
* [Feature] update clear for CustomCommand
* ios use metal
* fix viewport issue
* fix LayerColorGradient crash
* [cmake] transport to android and windows (#160)
* save point 1
* compile on windows
* run on android
* revert useless change
* android set CC_ENABLE_CACHE_TEXTURE_DATA to 1
* add initGlew
* fix android crash
* add TODO new-renderer
* review update
* revert onGLFWWindowPosCallback
* fix android compiling error
* Impl progress radial (#162)
* progresstimer add radial impl
* default drawType to element
* dec invoke times of createVertexBuffer (#163)
* support depth/stencil format for gl backend
* simplify progress timer codes
* support motionstreak, effect is wrong
* fix motionstreak issue
* [Feature] update Scissor Test (#161)
* [Feature] update Scissor Test
* [Feature] update ScissorTest
* [Feature] rename function
* [Feature] get constant reference if needed
* [Feature] show render status (#164)
* improve performance
* fix depth state
* fill error that triangle vertex/index number bigger than buffer
* fix compiline error in release mode
* fix buffer conflict between CPU and GPU on iOS/macOS
* Renderer refactor (#165)
* use one vertes/index buffer with opengl
* fix error on windows
* custom command support index format config
* CCLayer: compact vertex data structure
* update comment
* fix doc
* support fast tilemap
* pass index format instead
* fix some wrong effect
* fix render texture error
* fix texture per-element size
* fix texture format error
* BlendFunc type refactor, GLenum -> backend::BlendFactor (#167)
* BlendFunc use backend::BlendFactor as inner field
* update comments
* use int to replace GLenum
* update xcode project fiel
* rename to GLBlendConst
* add ccConstants.h
* update xcode project file
* update copyright
* remove primitive command
* remove CCPrimitive.cpp/.h
* remove deprecated files
* remove unneeded files
* remove multiple view support
* remove multiple view support
* remove the usage of frame buffer in camera
* director don't use frame buffer
* remove FrameBuffer
* remove BatchCommand
* add some api reference
* add physics2d back
* fix crash when close app on mac
* improve render texture
* fix rendertexture issue
* fix rendertexture issue
* simplify codes
* CMake support for mac & ios (#169)
* update cmake
* fix compile error
* update 3rd libs version
* remove CCThread.h/.cpp
* remove ccthread
* use audio engine to implement simple audio engine
* remove unneeded codes
* remove deprecated codes
* remove winrt macro
* remove CC_USE_WIC
* set partcile blend function in more elegant way
* remove unneeded codes
* remove unneeded codes
* cmake works on windows
* update project setting
* improve performance
* GLFloat -> float
* sync v3 cmake improvements into metal-support (#172)
* pick: modern cmake, compile definitions improvement (#19139)
* modern cmake, use target_compile_definitions partly
* simplify macro define, remove USE_*
* modern cmake, macro define
* add physics 2d macro define into ccConfig.h
* remove USE_CHIPMUNK macro in build.gradle
* remove CocosSelectModule.cmake
* shrink useless define
* simplify compile options config, re-add if necessary
* update external for tmp CI test
* un-quote target_compile_options value
* add "-g" parameter only when debug mode
* keep single build type when generator Xcode & VS projecy
* update external for tmp CI tes
* add static_cast<char>(-1), fix -Wc++11-narrowing
* simplify win32 compile define
* not modify code, only improve compile options
# Conflicts:
# .gitignore
# cmake/Modules/CocosConfigDepend.cmake
# cocos/CMakeLists.txt
# external/config.json
# tests/cpp-tests/CMakeLists.txt
* modern cmake, improve cmake_compiler_flags (#19145)
* cmake_compiler_flags
* Fix typo
* Fix typo2
* Remove chanages from Android.mk
* correct lua template cmake build (#19149)
* don't add -Wno-deprecated into jsb target
* correct lua template cmake build
* fix win32 lua template compile error
* prevent cmake in-source-build friendly (#19151)
* pick: Copy resources to "Resources/" on win32 like in linux configuration
* add "/Z7" for cpp-tests on windows
* [cmake] fix iOS xcode property setting failed (#19208)
* fix iOS xcode property setting failed
* use search_depend_libs_recursive at dlls collect
* fix typo
* [cmake] add find_host_library into iOS toolchain file (#19230)
* pick: [lua android] use luajit & template cmake update (#19239)
* increase cmake stability , remove tests/CMakeLists.txt (#19261)
* cmake win32 Precompiled header (#19273)
* Precompiled header
* Fix
* Precompiled header for cocos
* Precompiled header jscocos2d
* Fix for COCOS2D_DEBUG is always 1 on Android (#19291)
Related #19289
* little build fix, tests cpp-tests works on mac
* sync v3 build related codes into metal-support (#173)
* strict initialization for std::array
* remove proj.win32 project configs
* modern cmake, cmake_cleanup_remove_unused_variables (#19146)
* Switch travis CI to xenial (#19207)
* Switch travis CI to xenial
* Remove language: android
* Set language: cpp
* Fix java problem
* Update sdkmanager
* Fix sdkmanger
* next sdkmanager fix
* Remove xenial from android
* revert to sdk-tools-{system}-3859397
* Remove linux cmake install
* Update before-install.sh
* Update .travis.yml
* Simplify install-deps-linux.sh, tested on Ubuntu 16.04 (#19212)
* Simplify install-deps-linux.sh
* Cleanup
* pick: install ninja
* update cocos2d-console submodule
* for metal-support alpha release, we only test cpp
* add HelloCpp into project(Cocos2d-x) for tmp test
* update extenal metal-support-4
* update uniform setting
* [Feature] update BindGroup
* [Feature] empty-test
* [Feature] cpp-test
* [Feature] fix GL compiler error
* [Feature] fix GL crash
* [Feature] empty-test
* [Feature] cpp-tests
* [feature] improve frameRate
* [feature] fix opengl compile error
* [feature] fix opengl compile error
* [BugFix] fix compute maxLocation error
* [Feature] update setting unifrom
* [Feature] fix namespace
* [Feature] remove unneeded code
* [Bugfix] fix project file
* [Feature] update review
* [texture2d] impl texture format support (#175)
* texture update
* update
* update texture
* commit
* compile on windows
* ddd
* rename
* rename methods
* no crash
* save gl
* save
* save
* rename
* move out pixel format convert functions
* metal crash
* update
* update android
* support gles compressed texture format
* support more compress format
* add more conversion methods
* ss
* save
* update conversion methods
* add PVRTC format support
* reformat
* add marco linux
* fix GL marcro
* pvrtc supported only by ios 8.0+
* remove unused cmake
* revert change
* refactor Texture2D::initWithData
* fix conversion log
* refactor Texture2D::initWithData
* remove some OpenGL constants for PVRTC
* add todo
* fix typo
* AutoTest works on mac/iOS by disable part cases, sync v3 bug fix (#174)
* review cpp-tests, and fix part issues on start auto test
* sync png format fix: Node:Particle3D abnormal texture effects #19204
* fix cpp-tests SpritePolygon crash, wrong png format (#19170)
* fix wrong png convert format from sRGB to Gray
* erase plist index if all frames was erased
* test_A8.png have I8 format, fix it
* [CCSpriteCache] allow re-add plist & add testcase (#19175)
* allow re-add plist & add testcase
* remove comments/rename method/update testcase
* fix isSpriteFramesWithFileLoaded & add testcase
* remove used variable
* remove unused variable
* fix double free issues when js/lua-tests exit on iOS (#19236)
* disable part cases, AutoTest works without crash on mac
* update cocos2dx files json, to test cocos new next
* fix spritecache plist parsing issue (#19269)
* [linux] Fix FileUtils::getContents with folder (#19157)
* fix FileUtils::getContents on linux/mac
* use stat.st_mode
* simplify
* [CCFileUtils] win32 getFileSize (#19176)
* win32 getFileSize
* fix stat
* [cpp test-Android]20:FileUtils/2 change title (#19197)
* sync #19200
* sync #19231
* [android lua] improve performance of lua loader (#19234)
* [lua] improve performance of lua loader
* remove cache fix
* Revert "fix spritecache plist parsing issue (#19269)"
This reverts commit f3a85ece4307a7b90816c34489d1ed2c8fd11baf.
* remove win32 project files ref in template.json
* add metal framework lnk ref into cpp template
* test on iOS, and disable part cases
* alBufferData instead of alBufferDataStatic for small audio file on Apple (#19227)
* changes AudioCache to use alBufferData instead of alBufferDataStatic
(also makes test 19 faster to trigger openal bugs faster)
The original problem: CrashIfClientProvidedBogusAudioBufferList
https://github.com/cocos2d/cocos2d-x/issues/18948
is not happening anymore, but there's still a not very frequent issue
that makes OpenAL crash with a call stack like this.
AudioCache::readDataTask > alBufferData > CleanUpDeadBufferList
It happes more frequently when the device is "cold", which means after
half an hour of not using the device (locked).
I could not find the actual source code for iOS OpenAL, so I used the
macOS versions:
https://opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/oalImp.cpp.auto.html
They seem to use CAGuard.h to make sure the dead buffer list
has no threading issues. I'm worried because the CAGuard code I found
has macos and win32 define but no iOS, so I'm not sure. I guess the
iOS version is different and has the guard.
I could not find a place in the code that's unprotected by the locks
except the InitializeBufferMap() which should not be called more than
once from cocos, and there's a workaround in AudioEngine-impl for it.
I reduced the occurence of the CleanUpDeadBufferList crash by moving
the guard in ~AudioCache to cover the alDeleteBuffers call.
* remove hack method "setTimeout" on audio
* AutoTest works on iOS
* support set ios deployment target for root project
* enable all texture2d cases, since Jiang have fixed
* add CCTextureUtils to xcode project file (#176)
* add leak cases for SpriteFrameCache (#177)
* re-add SpriteFrameCache cases
* update template file json
* Update SpriteFrameCacheTest.cpp
* fix compiling error
2019-01-18 15:08:25 +08:00
|
|
|
406B584921F06D78000624D6 /* Metal.framework in Frameworks */,
|
2016-06-15 10:43:15 +08:00
|
|
|
294D0D641D0D56D500F7F5D4 /* CoreText.framework in Frameworks */,
|
2015-07-29 13:59:58 +08:00
|
|
|
ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */,
|
2014-12-31 14:46:34 +08:00
|
|
|
52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */,
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FB30180E99EB004C840B /* libcocos2d iOS.a in Frameworks */,
|
2013-10-08 11:08:45 +08:00
|
|
|
D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */,
|
2013-07-05 10:31:20 +08:00
|
|
|
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
|
|
|
|
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
|
|
|
|
288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */,
|
|
|
|
BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */,
|
|
|
|
BF1712471292920000B8313A /* libz.dylib in Frameworks */,
|
|
|
|
BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */,
|
|
|
|
D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */,
|
|
|
|
D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */,
|
|
|
|
D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */,
|
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
2013-09-20 05:59:44 +08:00
|
|
|
5087E75C17EB910900C73F5D /* Frameworks */ = {
|
|
|
|
isa = PBXFrameworksBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
metal support for cocos2d-x (#19305)
* remove deprecated files
* remove some deprecated codes
* remove more deprecated codes
* remove ui deprecated codes
* remove more deprecated codes
* remove deprecated codes in ccmenuitem
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes
* remove more deprecated codes
* remove more deprecated codes
* remove vr related codes and ignore some modules
* remove allocator
* remove some config
* 【Feature】add back-end project file
* [Feature] add back-end file
* add pipeline descriptor and shader cache
* [Feature] support sprite for backend
* [Feature] remove unneeded code
* [Feature] according to es2.0 spec, you must use clamp-to-edge as texture wrap mode, and no mipmapping for non-power-of-two texture
* [Feature] set texture wrap mode to clamp-to-edge, and no mipmapping for non-power-of-two texture
* [Feature] remove macro define to .cpp file
* [Feature] add log info
* [Feature] add PipelineDescriptor for TriangleCommand
* [Feature] add PipelineDescriptor object as member of TriangleCommand
* [Feature] add getPipelineDescriptor method
* add renderbackend
* complete pipeline descriptor
* [Feature] add viewport in RenderCommand
* set viewport when rendrering
* [Feature] occur error when using RendererBackend, to be fixed.
* a workaround to fix black screen on macOS 10.14 (#19090)
* add rendererbackend init function
* fix typo
* [Feature] modify testFile
* [BugFix] modify shader path
* [Feature] set default viewport
* fix projection
* [Feature] modify log info
* [BugFix] change viewport data type to int
* [BugFix] add BindGroup to PipelienDescriptor
* [BugFix] change a_position to vec3 in sprite.vert
* [BugFix] set vertexLayout according to V3F_C4B_T2F structure
* [Feature] revert a_position to vec4
* [Feature] renderer should not use gl codes directly
* [Feature] it's better not use default value parameter
* fix depth test setting
* rendererbackend -> renderer
* clear color and depth at begin
* add metal backend
* metal support normalized attribute
* simplify codes
* update external
* add render pass desctriptor in pipeline descriptor
* fix warnings
* fix crash and memeory leak
* refactor Texture2D
* put pipeline descriptor into render command
* simplify codes
* [Feature] update Sprite
* fix crash when closing app
* [Feature] update SpriteBatchNode and TextureAtlas
* support render texture(not finish)
* [Feature] remove unused code
* make tests work on mac
* fix download-deps path error
* make tests work on iOS
* [Feature] support ttf under normal label effect
* refactor triangle command processing
* let renderer handle more common commands
* refactor backend
* make render texture work
* [Feature] refactor backend for GL
* [Feature]Renaming to make it easy to understand
* [Feature] change warp mode to CLAMP_TO_EDGE
* fix ghost
* simplify visit render queue logic
* support progress timer without rial mode
* support partcile system
* Feature/update label (#149)
* [BugFix] fix compile error
* [Feature] support outline effect in ios
* [Feature] add shader file
* [BugFix] fix begin and end RenderPass
* [Feature] update CustomCommand
* [Feature] revert project.pbxproj
* [Feature] simplify codes
* [BugFix] pack AI88 to RGBA8888 only when outline enable
* [Feature] support shadow effect in Label
* [Feature] support BMFont
* [Feature] support glow effect
* [Feature] simplify shader files
* LabelAtlas work
* handle blend function correctly
* support tile map
* don't share buffer in metal
* alloc buffer size as needed
* support more tilemap
* Merge branch 'minggo/metal-support' into feature/updateLabel
* minggo/metal-support:
support tile map
handle blend function correctly
LabelAtlas work
Feature/update label (#149)
support partcile system
# Conflicts:
# cocos/2d/CCLabel.cpp
# cocos/2d/CCSprite.cpp
# cocos/2d/CCSpriteBatchNode.cpp
# cocos/renderer/CCQuadCommand.cpp
# cocos/renderer/CCQuadCommand.h
* render texture work without saving file
* use global viewport
* grid3d works
* remove grabber
* tiled3d works
* [BugFix] fix label bug
* [Feature] add updateSubData for buffer
* [Feature] remove setVertexCount
* support depth test
* add callback command
* [Feature] add UITest
* [Feature] update UITest
* [Feature] remove unneeded codes
* fix custom command issue
* fix layer color blend issue
* [BugFix] fix iOS compile error
* [Feature] remove unneeded codes
* [Feature] fix updateVertexBuffer
* layerradial works
* add draw test back
* fix batch issue
* fix compiling error
* [BugFix] support ETC1
* [BugFix] get the correct pipelineDescriptor
* [BugFix] skip draw when backendTexture nullptr
* clipping node support
* [Feature] add shader files
* fix stencil issue in metal
* [Feature] update UILayoutTest
* [BugFix] skip drawing when vertexCount is zero
* refactor renderer
* add set global z order for stencil manager commands
* fix warnings caused by type
* remove viewport in render command
* [Feature] fix warnings caused by type
* [BugFix] clear vertexCount and indexCount for CustomComand when needed
* [Feature] update clear for CustomCommand
* ios use metal
* fix viewport issue
* fix LayerColorGradient crash
* [cmake] transport to android and windows (#160)
* save point 1
* compile on windows
* run on android
* revert useless change
* android set CC_ENABLE_CACHE_TEXTURE_DATA to 1
* add initGlew
* fix android crash
* add TODO new-renderer
* review update
* revert onGLFWWindowPosCallback
* fix android compiling error
* Impl progress radial (#162)
* progresstimer add radial impl
* default drawType to element
* dec invoke times of createVertexBuffer (#163)
* support depth/stencil format for gl backend
* simplify progress timer codes
* support motionstreak, effect is wrong
* fix motionstreak issue
* [Feature] update Scissor Test (#161)
* [Feature] update Scissor Test
* [Feature] update ScissorTest
* [Feature] rename function
* [Feature] get constant reference if needed
* [Feature] show render status (#164)
* improve performance
* fix depth state
* fill error that triangle vertex/index number bigger than buffer
* fix compiline error in release mode
* fix buffer conflict between CPU and GPU on iOS/macOS
* Renderer refactor (#165)
* use one vertes/index buffer with opengl
* fix error on windows
* custom command support index format config
* CCLayer: compact vertex data structure
* update comment
* fix doc
* support fast tilemap
* pass index format instead
* fix some wrong effect
* fix render texture error
* fix texture per-element size
* fix texture format error
* BlendFunc type refactor, GLenum -> backend::BlendFactor (#167)
* BlendFunc use backend::BlendFactor as inner field
* update comments
* use int to replace GLenum
* update xcode project fiel
* rename to GLBlendConst
* add ccConstants.h
* update xcode project file
* update copyright
* remove primitive command
* remove CCPrimitive.cpp/.h
* remove deprecated files
* remove unneeded files
* remove multiple view support
* remove multiple view support
* remove the usage of frame buffer in camera
* director don't use frame buffer
* remove FrameBuffer
* remove BatchCommand
* add some api reference
* add physics2d back
* fix crash when close app on mac
* improve render texture
* fix rendertexture issue
* fix rendertexture issue
* simplify codes
* CMake support for mac & ios (#169)
* update cmake
* fix compile error
* update 3rd libs version
* remove CCThread.h/.cpp
* remove ccthread
* use audio engine to implement simple audio engine
* remove unneeded codes
* remove deprecated codes
* remove winrt macro
* remove CC_USE_WIC
* set partcile blend function in more elegant way
* remove unneeded codes
* remove unneeded codes
* cmake works on windows
* update project setting
* improve performance
* GLFloat -> float
* sync v3 cmake improvements into metal-support (#172)
* pick: modern cmake, compile definitions improvement (#19139)
* modern cmake, use target_compile_definitions partly
* simplify macro define, remove USE_*
* modern cmake, macro define
* add physics 2d macro define into ccConfig.h
* remove USE_CHIPMUNK macro in build.gradle
* remove CocosSelectModule.cmake
* shrink useless define
* simplify compile options config, re-add if necessary
* update external for tmp CI test
* un-quote target_compile_options value
* add "-g" parameter only when debug mode
* keep single build type when generator Xcode & VS projecy
* update external for tmp CI tes
* add static_cast<char>(-1), fix -Wc++11-narrowing
* simplify win32 compile define
* not modify code, only improve compile options
# Conflicts:
# .gitignore
# cmake/Modules/CocosConfigDepend.cmake
# cocos/CMakeLists.txt
# external/config.json
# tests/cpp-tests/CMakeLists.txt
* modern cmake, improve cmake_compiler_flags (#19145)
* cmake_compiler_flags
* Fix typo
* Fix typo2
* Remove chanages from Android.mk
* correct lua template cmake build (#19149)
* don't add -Wno-deprecated into jsb target
* correct lua template cmake build
* fix win32 lua template compile error
* prevent cmake in-source-build friendly (#19151)
* pick: Copy resources to "Resources/" on win32 like in linux configuration
* add "/Z7" for cpp-tests on windows
* [cmake] fix iOS xcode property setting failed (#19208)
* fix iOS xcode property setting failed
* use search_depend_libs_recursive at dlls collect
* fix typo
* [cmake] add find_host_library into iOS toolchain file (#19230)
* pick: [lua android] use luajit & template cmake update (#19239)
* increase cmake stability , remove tests/CMakeLists.txt (#19261)
* cmake win32 Precompiled header (#19273)
* Precompiled header
* Fix
* Precompiled header for cocos
* Precompiled header jscocos2d
* Fix for COCOS2D_DEBUG is always 1 on Android (#19291)
Related #19289
* little build fix, tests cpp-tests works on mac
* sync v3 build related codes into metal-support (#173)
* strict initialization for std::array
* remove proj.win32 project configs
* modern cmake, cmake_cleanup_remove_unused_variables (#19146)
* Switch travis CI to xenial (#19207)
* Switch travis CI to xenial
* Remove language: android
* Set language: cpp
* Fix java problem
* Update sdkmanager
* Fix sdkmanger
* next sdkmanager fix
* Remove xenial from android
* revert to sdk-tools-{system}-3859397
* Remove linux cmake install
* Update before-install.sh
* Update .travis.yml
* Simplify install-deps-linux.sh, tested on Ubuntu 16.04 (#19212)
* Simplify install-deps-linux.sh
* Cleanup
* pick: install ninja
* update cocos2d-console submodule
* for metal-support alpha release, we only test cpp
* add HelloCpp into project(Cocos2d-x) for tmp test
* update extenal metal-support-4
* update uniform setting
* [Feature] update BindGroup
* [Feature] empty-test
* [Feature] cpp-test
* [Feature] fix GL compiler error
* [Feature] fix GL crash
* [Feature] empty-test
* [Feature] cpp-tests
* [feature] improve frameRate
* [feature] fix opengl compile error
* [feature] fix opengl compile error
* [BugFix] fix compute maxLocation error
* [Feature] update setting unifrom
* [Feature] fix namespace
* [Feature] remove unneeded code
* [Bugfix] fix project file
* [Feature] update review
* [texture2d] impl texture format support (#175)
* texture update
* update
* update texture
* commit
* compile on windows
* ddd
* rename
* rename methods
* no crash
* save gl
* save
* save
* rename
* move out pixel format convert functions
* metal crash
* update
* update android
* support gles compressed texture format
* support more compress format
* add more conversion methods
* ss
* save
* update conversion methods
* add PVRTC format support
* reformat
* add marco linux
* fix GL marcro
* pvrtc supported only by ios 8.0+
* remove unused cmake
* revert change
* refactor Texture2D::initWithData
* fix conversion log
* refactor Texture2D::initWithData
* remove some OpenGL constants for PVRTC
* add todo
* fix typo
* AutoTest works on mac/iOS by disable part cases, sync v3 bug fix (#174)
* review cpp-tests, and fix part issues on start auto test
* sync png format fix: Node:Particle3D abnormal texture effects #19204
* fix cpp-tests SpritePolygon crash, wrong png format (#19170)
* fix wrong png convert format from sRGB to Gray
* erase plist index if all frames was erased
* test_A8.png have I8 format, fix it
* [CCSpriteCache] allow re-add plist & add testcase (#19175)
* allow re-add plist & add testcase
* remove comments/rename method/update testcase
* fix isSpriteFramesWithFileLoaded & add testcase
* remove used variable
* remove unused variable
* fix double free issues when js/lua-tests exit on iOS (#19236)
* disable part cases, AutoTest works without crash on mac
* update cocos2dx files json, to test cocos new next
* fix spritecache plist parsing issue (#19269)
* [linux] Fix FileUtils::getContents with folder (#19157)
* fix FileUtils::getContents on linux/mac
* use stat.st_mode
* simplify
* [CCFileUtils] win32 getFileSize (#19176)
* win32 getFileSize
* fix stat
* [cpp test-Android]20:FileUtils/2 change title (#19197)
* sync #19200
* sync #19231
* [android lua] improve performance of lua loader (#19234)
* [lua] improve performance of lua loader
* remove cache fix
* Revert "fix spritecache plist parsing issue (#19269)"
This reverts commit f3a85ece4307a7b90816c34489d1ed2c8fd11baf.
* remove win32 project files ref in template.json
* add metal framework lnk ref into cpp template
* test on iOS, and disable part cases
* alBufferData instead of alBufferDataStatic for small audio file on Apple (#19227)
* changes AudioCache to use alBufferData instead of alBufferDataStatic
(also makes test 19 faster to trigger openal bugs faster)
The original problem: CrashIfClientProvidedBogusAudioBufferList
https://github.com/cocos2d/cocos2d-x/issues/18948
is not happening anymore, but there's still a not very frequent issue
that makes OpenAL crash with a call stack like this.
AudioCache::readDataTask > alBufferData > CleanUpDeadBufferList
It happes more frequently when the device is "cold", which means after
half an hour of not using the device (locked).
I could not find the actual source code for iOS OpenAL, so I used the
macOS versions:
https://opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/oalImp.cpp.auto.html
They seem to use CAGuard.h to make sure the dead buffer list
has no threading issues. I'm worried because the CAGuard code I found
has macos and win32 define but no iOS, so I'm not sure. I guess the
iOS version is different and has the guard.
I could not find a place in the code that's unprotected by the locks
except the InitializeBufferMap() which should not be called more than
once from cocos, and there's a workaround in AudioEngine-impl for it.
I reduced the occurence of the CleanUpDeadBufferList crash by moving
the guard in ~AudioCache to cover the alDeleteBuffers call.
* remove hack method "setTimeout" on audio
* AutoTest works on iOS
* support set ios deployment target for root project
* enable all texture2d cases, since Jiang have fixed
* add CCTextureUtils to xcode project file (#176)
* add leak cases for SpriteFrameCache (#177)
* re-add SpriteFrameCache cases
* update template file json
* Update SpriteFrameCacheTest.cpp
* fix compiling error
2019-01-18 15:08:25 +08:00
|
|
|
406B584721F06D6E000624D6 /* Metal.framework in Frameworks */,
|
2015-07-29 13:59:58 +08:00
|
|
|
ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */,
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FB21180E996B004C840B /* libcocos2d Mac.a in Frameworks */,
|
2013-09-20 05:59:44 +08:00
|
|
|
5087E76717EB910900C73F5D /* libz.dylib in Frameworks */,
|
2015-03-10 18:57:21 +08:00
|
|
|
8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */,
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */,
|
|
|
|
5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */,
|
|
|
|
5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */,
|
|
|
|
5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */,
|
|
|
|
5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */,
|
|
|
|
5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */,
|
|
|
|
5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */,
|
|
|
|
5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */,
|
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXFrameworksBuildPhase section */
|
|
|
|
|
|
|
|
/* Begin PBXGroup section */
|
|
|
|
19C28FACFE9D520D11CA2CBB /* Products */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
2015-04-30 15:20:47 +08:00
|
|
|
1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */,
|
|
|
|
5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
name = Products;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FAE6180E9839004C840B /* Products */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */,
|
|
|
|
1AC6FB07180E9839004C840B /* libcocos2d iOS.a */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1A7533E31F6F75F6007E8E6F /* libcocos2d tvOS.a */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
name = Products;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B461F6F77D6007BE51C /* ios */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
2017-11-21 15:31:29 +08:00
|
|
|
1A88B2631FC3D9C9005C14AE /* Images.xcassets */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B471F6F77D6007BE51C /* AppController.h */,
|
|
|
|
1AF87B481F6F77D6007BE51C /* AppController.mm */,
|
|
|
|
1AF87B581F6F77D6007BE51C /* Info.plist */,
|
|
|
|
1AF87B591F6F77D6007BE51C /* LaunchScreen.storyboard */,
|
|
|
|
1AF87B5A1F6F77D6007BE51C /* LaunchScreenBackground.png */,
|
|
|
|
1AF87B5B1F6F77D6007BE51C /* main.m */,
|
|
|
|
1AF87B5C1F6F77D6007BE51C /* Prefix.pch */,
|
|
|
|
1AF87B5D1F6F77D6007BE51C /* RootViewController.h */,
|
|
|
|
1AF87B5E1F6F77D6007BE51C /* RootViewController.mm */,
|
|
|
|
);
|
|
|
|
path = ios;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8319C43A87006E1F66 /* Classes */,
|
|
|
|
46880B7519C43A67006E1F66 /* Resources */,
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */,
|
2013-07-05 10:31:20 +08:00
|
|
|
29B97323FDCFA39411CA2CEA /* Frameworks */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B461F6F77D6007BE51C /* ios */,
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE10617EB990700D1A890 /* mac */,
|
2013-07-05 10:31:20 +08:00
|
|
|
19C28FACFE9D520D11CA2CBB /* Products */,
|
|
|
|
);
|
|
|
|
name = CustomTemplate;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
|
|
|
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
metal support for cocos2d-x (#19305)
* remove deprecated files
* remove some deprecated codes
* remove more deprecated codes
* remove ui deprecated codes
* remove more deprecated codes
* remove deprecated codes in ccmenuitem
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes in ui
* remove more deprecated codes
* remove more deprecated codes
* remove more deprecated codes
* remove vr related codes and ignore some modules
* remove allocator
* remove some config
* 【Feature】add back-end project file
* [Feature] add back-end file
* add pipeline descriptor and shader cache
* [Feature] support sprite for backend
* [Feature] remove unneeded code
* [Feature] according to es2.0 spec, you must use clamp-to-edge as texture wrap mode, and no mipmapping for non-power-of-two texture
* [Feature] set texture wrap mode to clamp-to-edge, and no mipmapping for non-power-of-two texture
* [Feature] remove macro define to .cpp file
* [Feature] add log info
* [Feature] add PipelineDescriptor for TriangleCommand
* [Feature] add PipelineDescriptor object as member of TriangleCommand
* [Feature] add getPipelineDescriptor method
* add renderbackend
* complete pipeline descriptor
* [Feature] add viewport in RenderCommand
* set viewport when rendrering
* [Feature] occur error when using RendererBackend, to be fixed.
* a workaround to fix black screen on macOS 10.14 (#19090)
* add rendererbackend init function
* fix typo
* [Feature] modify testFile
* [BugFix] modify shader path
* [Feature] set default viewport
* fix projection
* [Feature] modify log info
* [BugFix] change viewport data type to int
* [BugFix] add BindGroup to PipelienDescriptor
* [BugFix] change a_position to vec3 in sprite.vert
* [BugFix] set vertexLayout according to V3F_C4B_T2F structure
* [Feature] revert a_position to vec4
* [Feature] renderer should not use gl codes directly
* [Feature] it's better not use default value parameter
* fix depth test setting
* rendererbackend -> renderer
* clear color and depth at begin
* add metal backend
* metal support normalized attribute
* simplify codes
* update external
* add render pass desctriptor in pipeline descriptor
* fix warnings
* fix crash and memeory leak
* refactor Texture2D
* put pipeline descriptor into render command
* simplify codes
* [Feature] update Sprite
* fix crash when closing app
* [Feature] update SpriteBatchNode and TextureAtlas
* support render texture(not finish)
* [Feature] remove unused code
* make tests work on mac
* fix download-deps path error
* make tests work on iOS
* [Feature] support ttf under normal label effect
* refactor triangle command processing
* let renderer handle more common commands
* refactor backend
* make render texture work
* [Feature] refactor backend for GL
* [Feature]Renaming to make it easy to understand
* [Feature] change warp mode to CLAMP_TO_EDGE
* fix ghost
* simplify visit render queue logic
* support progress timer without rial mode
* support partcile system
* Feature/update label (#149)
* [BugFix] fix compile error
* [Feature] support outline effect in ios
* [Feature] add shader file
* [BugFix] fix begin and end RenderPass
* [Feature] update CustomCommand
* [Feature] revert project.pbxproj
* [Feature] simplify codes
* [BugFix] pack AI88 to RGBA8888 only when outline enable
* [Feature] support shadow effect in Label
* [Feature] support BMFont
* [Feature] support glow effect
* [Feature] simplify shader files
* LabelAtlas work
* handle blend function correctly
* support tile map
* don't share buffer in metal
* alloc buffer size as needed
* support more tilemap
* Merge branch 'minggo/metal-support' into feature/updateLabel
* minggo/metal-support:
support tile map
handle blend function correctly
LabelAtlas work
Feature/update label (#149)
support partcile system
# Conflicts:
# cocos/2d/CCLabel.cpp
# cocos/2d/CCSprite.cpp
# cocos/2d/CCSpriteBatchNode.cpp
# cocos/renderer/CCQuadCommand.cpp
# cocos/renderer/CCQuadCommand.h
* render texture work without saving file
* use global viewport
* grid3d works
* remove grabber
* tiled3d works
* [BugFix] fix label bug
* [Feature] add updateSubData for buffer
* [Feature] remove setVertexCount
* support depth test
* add callback command
* [Feature] add UITest
* [Feature] update UITest
* [Feature] remove unneeded codes
* fix custom command issue
* fix layer color blend issue
* [BugFix] fix iOS compile error
* [Feature] remove unneeded codes
* [Feature] fix updateVertexBuffer
* layerradial works
* add draw test back
* fix batch issue
* fix compiling error
* [BugFix] support ETC1
* [BugFix] get the correct pipelineDescriptor
* [BugFix] skip draw when backendTexture nullptr
* clipping node support
* [Feature] add shader files
* fix stencil issue in metal
* [Feature] update UILayoutTest
* [BugFix] skip drawing when vertexCount is zero
* refactor renderer
* add set global z order for stencil manager commands
* fix warnings caused by type
* remove viewport in render command
* [Feature] fix warnings caused by type
* [BugFix] clear vertexCount and indexCount for CustomComand when needed
* [Feature] update clear for CustomCommand
* ios use metal
* fix viewport issue
* fix LayerColorGradient crash
* [cmake] transport to android and windows (#160)
* save point 1
* compile on windows
* run on android
* revert useless change
* android set CC_ENABLE_CACHE_TEXTURE_DATA to 1
* add initGlew
* fix android crash
* add TODO new-renderer
* review update
* revert onGLFWWindowPosCallback
* fix android compiling error
* Impl progress radial (#162)
* progresstimer add radial impl
* default drawType to element
* dec invoke times of createVertexBuffer (#163)
* support depth/stencil format for gl backend
* simplify progress timer codes
* support motionstreak, effect is wrong
* fix motionstreak issue
* [Feature] update Scissor Test (#161)
* [Feature] update Scissor Test
* [Feature] update ScissorTest
* [Feature] rename function
* [Feature] get constant reference if needed
* [Feature] show render status (#164)
* improve performance
* fix depth state
* fill error that triangle vertex/index number bigger than buffer
* fix compiline error in release mode
* fix buffer conflict between CPU and GPU on iOS/macOS
* Renderer refactor (#165)
* use one vertes/index buffer with opengl
* fix error on windows
* custom command support index format config
* CCLayer: compact vertex data structure
* update comment
* fix doc
* support fast tilemap
* pass index format instead
* fix some wrong effect
* fix render texture error
* fix texture per-element size
* fix texture format error
* BlendFunc type refactor, GLenum -> backend::BlendFactor (#167)
* BlendFunc use backend::BlendFactor as inner field
* update comments
* use int to replace GLenum
* update xcode project fiel
* rename to GLBlendConst
* add ccConstants.h
* update xcode project file
* update copyright
* remove primitive command
* remove CCPrimitive.cpp/.h
* remove deprecated files
* remove unneeded files
* remove multiple view support
* remove multiple view support
* remove the usage of frame buffer in camera
* director don't use frame buffer
* remove FrameBuffer
* remove BatchCommand
* add some api reference
* add physics2d back
* fix crash when close app on mac
* improve render texture
* fix rendertexture issue
* fix rendertexture issue
* simplify codes
* CMake support for mac & ios (#169)
* update cmake
* fix compile error
* update 3rd libs version
* remove CCThread.h/.cpp
* remove ccthread
* use audio engine to implement simple audio engine
* remove unneeded codes
* remove deprecated codes
* remove winrt macro
* remove CC_USE_WIC
* set partcile blend function in more elegant way
* remove unneeded codes
* remove unneeded codes
* cmake works on windows
* update project setting
* improve performance
* GLFloat -> float
* sync v3 cmake improvements into metal-support (#172)
* pick: modern cmake, compile definitions improvement (#19139)
* modern cmake, use target_compile_definitions partly
* simplify macro define, remove USE_*
* modern cmake, macro define
* add physics 2d macro define into ccConfig.h
* remove USE_CHIPMUNK macro in build.gradle
* remove CocosSelectModule.cmake
* shrink useless define
* simplify compile options config, re-add if necessary
* update external for tmp CI test
* un-quote target_compile_options value
* add "-g" parameter only when debug mode
* keep single build type when generator Xcode & VS projecy
* update external for tmp CI tes
* add static_cast<char>(-1), fix -Wc++11-narrowing
* simplify win32 compile define
* not modify code, only improve compile options
# Conflicts:
# .gitignore
# cmake/Modules/CocosConfigDepend.cmake
# cocos/CMakeLists.txt
# external/config.json
# tests/cpp-tests/CMakeLists.txt
* modern cmake, improve cmake_compiler_flags (#19145)
* cmake_compiler_flags
* Fix typo
* Fix typo2
* Remove chanages from Android.mk
* correct lua template cmake build (#19149)
* don't add -Wno-deprecated into jsb target
* correct lua template cmake build
* fix win32 lua template compile error
* prevent cmake in-source-build friendly (#19151)
* pick: Copy resources to "Resources/" on win32 like in linux configuration
* add "/Z7" for cpp-tests on windows
* [cmake] fix iOS xcode property setting failed (#19208)
* fix iOS xcode property setting failed
* use search_depend_libs_recursive at dlls collect
* fix typo
* [cmake] add find_host_library into iOS toolchain file (#19230)
* pick: [lua android] use luajit & template cmake update (#19239)
* increase cmake stability , remove tests/CMakeLists.txt (#19261)
* cmake win32 Precompiled header (#19273)
* Precompiled header
* Fix
* Precompiled header for cocos
* Precompiled header jscocos2d
* Fix for COCOS2D_DEBUG is always 1 on Android (#19291)
Related #19289
* little build fix, tests cpp-tests works on mac
* sync v3 build related codes into metal-support (#173)
* strict initialization for std::array
* remove proj.win32 project configs
* modern cmake, cmake_cleanup_remove_unused_variables (#19146)
* Switch travis CI to xenial (#19207)
* Switch travis CI to xenial
* Remove language: android
* Set language: cpp
* Fix java problem
* Update sdkmanager
* Fix sdkmanger
* next sdkmanager fix
* Remove xenial from android
* revert to sdk-tools-{system}-3859397
* Remove linux cmake install
* Update before-install.sh
* Update .travis.yml
* Simplify install-deps-linux.sh, tested on Ubuntu 16.04 (#19212)
* Simplify install-deps-linux.sh
* Cleanup
* pick: install ninja
* update cocos2d-console submodule
* for metal-support alpha release, we only test cpp
* add HelloCpp into project(Cocos2d-x) for tmp test
* update extenal metal-support-4
* update uniform setting
* [Feature] update BindGroup
* [Feature] empty-test
* [Feature] cpp-test
* [Feature] fix GL compiler error
* [Feature] fix GL crash
* [Feature] empty-test
* [Feature] cpp-tests
* [feature] improve frameRate
* [feature] fix opengl compile error
* [feature] fix opengl compile error
* [BugFix] fix compute maxLocation error
* [Feature] update setting unifrom
* [Feature] fix namespace
* [Feature] remove unneeded code
* [Bugfix] fix project file
* [Feature] update review
* [texture2d] impl texture format support (#175)
* texture update
* update
* update texture
* commit
* compile on windows
* ddd
* rename
* rename methods
* no crash
* save gl
* save
* save
* rename
* move out pixel format convert functions
* metal crash
* update
* update android
* support gles compressed texture format
* support more compress format
* add more conversion methods
* ss
* save
* update conversion methods
* add PVRTC format support
* reformat
* add marco linux
* fix GL marcro
* pvrtc supported only by ios 8.0+
* remove unused cmake
* revert change
* refactor Texture2D::initWithData
* fix conversion log
* refactor Texture2D::initWithData
* remove some OpenGL constants for PVRTC
* add todo
* fix typo
* AutoTest works on mac/iOS by disable part cases, sync v3 bug fix (#174)
* review cpp-tests, and fix part issues on start auto test
* sync png format fix: Node:Particle3D abnormal texture effects #19204
* fix cpp-tests SpritePolygon crash, wrong png format (#19170)
* fix wrong png convert format from sRGB to Gray
* erase plist index if all frames was erased
* test_A8.png have I8 format, fix it
* [CCSpriteCache] allow re-add plist & add testcase (#19175)
* allow re-add plist & add testcase
* remove comments/rename method/update testcase
* fix isSpriteFramesWithFileLoaded & add testcase
* remove used variable
* remove unused variable
* fix double free issues when js/lua-tests exit on iOS (#19236)
* disable part cases, AutoTest works without crash on mac
* update cocos2dx files json, to test cocos new next
* fix spritecache plist parsing issue (#19269)
* [linux] Fix FileUtils::getContents with folder (#19157)
* fix FileUtils::getContents on linux/mac
* use stat.st_mode
* simplify
* [CCFileUtils] win32 getFileSize (#19176)
* win32 getFileSize
* fix stat
* [cpp test-Android]20:FileUtils/2 change title (#19197)
* sync #19200
* sync #19231
* [android lua] improve performance of lua loader (#19234)
* [lua] improve performance of lua loader
* remove cache fix
* Revert "fix spritecache plist parsing issue (#19269)"
This reverts commit f3a85ece4307a7b90816c34489d1ed2c8fd11baf.
* remove win32 project files ref in template.json
* add metal framework lnk ref into cpp template
* test on iOS, and disable part cases
* alBufferData instead of alBufferDataStatic for small audio file on Apple (#19227)
* changes AudioCache to use alBufferData instead of alBufferDataStatic
(also makes test 19 faster to trigger openal bugs faster)
The original problem: CrashIfClientProvidedBogusAudioBufferList
https://github.com/cocos2d/cocos2d-x/issues/18948
is not happening anymore, but there's still a not very frequent issue
that makes OpenAL crash with a call stack like this.
AudioCache::readDataTask > alBufferData > CleanUpDeadBufferList
It happes more frequently when the device is "cold", which means after
half an hour of not using the device (locked).
I could not find the actual source code for iOS OpenAL, so I used the
macOS versions:
https://opensource.apple.com/source/OpenAL/OpenAL-48.7/Source/OpenAL/oalImp.cpp.auto.html
They seem to use CAGuard.h to make sure the dead buffer list
has no threading issues. I'm worried because the CAGuard code I found
has macos and win32 define but no iOS, so I'm not sure. I guess the
iOS version is different and has the guard.
I could not find a place in the code that's unprotected by the locks
except the InitializeBufferMap() which should not be called more than
once from cocos, and there's a workaround in AudioEngine-impl for it.
I reduced the occurence of the CleanUpDeadBufferList crash by moving
the guard in ~AudioCache to cover the alDeleteBuffers call.
* remove hack method "setTimeout" on audio
* AutoTest works on iOS
* support set ios deployment target for root project
* enable all texture2d cases, since Jiang have fixed
* add CCTextureUtils to xcode project file (#176)
* add leak cases for SpriteFrameCache (#177)
* re-add SpriteFrameCache cases
* update template file json
* Update SpriteFrameCacheTest.cpp
* fix compiling error
2019-01-18 15:08:25 +08:00
|
|
|
406B584621F06D6E000624D6 /* Metal.framework */,
|
|
|
|
406B584821F06D78000624D6 /* Metal.framework */,
|
2016-06-15 10:43:15 +08:00
|
|
|
294D0D631D0D56D500F7F5D4 /* CoreText.framework */,
|
2015-07-29 13:59:58 +08:00
|
|
|
ED545A7D1B68A1FA00C3958E /* libiconv.dylib */,
|
|
|
|
ED545A7B1B68A1F400C3958E /* libiconv.dylib */,
|
2015-03-10 18:57:21 +08:00
|
|
|
8262943D1AAF051F00CB7CF7 /* Security.framework */,
|
2014-12-31 14:46:34 +08:00
|
|
|
52B47A461A53D09B004E4C60 /* Security.framework */,
|
2013-10-08 11:08:45 +08:00
|
|
|
D6B0611A1803AB670077942B /* CoreMotion.framework */,
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE11A17EB9C5A00D1A890 /* IOKit.framework */,
|
|
|
|
503AE11117EB99EE00D1A890 /* libcurl.dylib */,
|
|
|
|
5087E78A17EB975400C73F5D /* OpenGL.framework */,
|
|
|
|
5087E78817EB974C00C73F5D /* AppKit.framework */,
|
2013-07-05 10:31:20 +08:00
|
|
|
1ACB3243164770DE00914215 /* libcurl.a */,
|
|
|
|
BF170DB412928DE900B8313A /* libz.dylib */,
|
|
|
|
D44C620F132DFF4E0009C878 /* AudioToolbox.framework */,
|
|
|
|
D44C620D132DFF430009C878 /* AVFoundation.framework */,
|
|
|
|
288765A40DF7441C002DB57D /* CoreGraphics.framework */,
|
|
|
|
1D30AB110D05D00D00671497 /* Foundation.framework */,
|
|
|
|
D44C620B132DFF330009C878 /* OpenAL.framework */,
|
|
|
|
BF170DB012928DE900B8313A /* OpenGLES.framework */,
|
|
|
|
BF1C47EA1293683800B63C5D /* QuartzCore.framework */,
|
|
|
|
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
|
|
|
|
);
|
|
|
|
name = Frameworks;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7519C43A67006E1F66 /* Resources */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
2014-10-17 18:22:25 +08:00
|
|
|
521A8EA819F11F5000D177D7 /* fonts */,
|
2014-10-16 13:56:03 +08:00
|
|
|
3EACC98E19EE6D4300EB3C5E /* res */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7619C43A67006E1F66 /* CloseNormal.png */,
|
|
|
|
46880B7719C43A67006E1F66 /* CloseSelected.png */,
|
|
|
|
46880B7A19C43A67006E1F66 /* HelloWorld.png */,
|
|
|
|
);
|
|
|
|
name = Resources;
|
|
|
|
path = ../Resources;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
|
|
|
46880B8319C43A87006E1F66 /* Classes */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
|
|
|
46880B8419C43A87006E1F66 /* AppDelegate.cpp */,
|
|
|
|
46880B8519C43A87006E1F66 /* AppDelegate.h */,
|
|
|
|
46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */,
|
|
|
|
46880B8719C43A87006E1F66 /* HelloWorldScene.h */,
|
|
|
|
);
|
|
|
|
name = Classes;
|
|
|
|
path = ../Classes;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE0F517EB97AB00D1A890 /* Icons */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
|
|
|
503AE0F617EB97AB00D1A890 /* Icon.icns */,
|
|
|
|
503AE0F717EB97AB00D1A890 /* Info.plist */,
|
|
|
|
);
|
|
|
|
name = Icons;
|
|
|
|
path = mac;
|
|
|
|
sourceTree = SOURCE_ROOT;
|
|
|
|
};
|
|
|
|
503AE10617EB990700D1A890 /* mac */ = {
|
|
|
|
isa = PBXGroup;
|
|
|
|
children = (
|
|
|
|
503AE0F517EB97AB00D1A890 /* Icons */,
|
|
|
|
503AE10317EB98FF00D1A890 /* main.cpp */,
|
|
|
|
503AE10417EB98FF00D1A890 /* Prefix.pch */,
|
|
|
|
);
|
|
|
|
name = mac;
|
|
|
|
sourceTree = "<group>";
|
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXGroup section */
|
|
|
|
|
|
|
|
/* Begin PBXNativeTarget section */
|
2015-04-30 15:20:47 +08:00
|
|
|
1D6058900D05DD3D006BFB54 /* HelloCpp-mobile */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXNativeTarget;
|
2015-04-30 15:20:47 +08:00
|
|
|
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloCpp-mobile" */;
|
2013-07-05 10:31:20 +08:00
|
|
|
buildPhases = (
|
|
|
|
1D60588D0D05DD3D006BFB54 /* Resources */,
|
|
|
|
1D60588E0D05DD3D006BFB54 /* Sources */,
|
|
|
|
1D60588F0D05DD3D006BFB54 /* Frameworks */,
|
|
|
|
);
|
|
|
|
buildRules = (
|
|
|
|
);
|
|
|
|
dependencies = (
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB25180E99E1004C840B /* PBXTargetDependency */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
2015-04-30 15:20:47 +08:00
|
|
|
name = "HelloCpp-mobile";
|
2013-07-05 10:31:20 +08:00
|
|
|
productName = iphone;
|
2015-04-30 15:20:47 +08:00
|
|
|
productReference = 1D6058910D05DD3D006BFB54 /* HelloCpp-mobile.app */;
|
2013-07-05 10:31:20 +08:00
|
|
|
productType = "com.apple.product-type.application";
|
|
|
|
};
|
2015-04-30 15:20:47 +08:00
|
|
|
5087E73D17EB910900C73F5D /* HelloCpp-desktop */ = {
|
2013-09-20 05:59:44 +08:00
|
|
|
isa = PBXNativeTarget;
|
2015-04-30 15:20:47 +08:00
|
|
|
buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "HelloCpp-desktop" */;
|
2013-09-20 05:59:44 +08:00
|
|
|
buildPhases = (
|
|
|
|
5087E74817EB910900C73F5D /* Resources */,
|
|
|
|
5087E75617EB910900C73F5D /* Sources */,
|
|
|
|
5087E75C17EB910900C73F5D /* Frameworks */,
|
|
|
|
);
|
|
|
|
buildRules = (
|
|
|
|
);
|
|
|
|
dependencies = (
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB16180E9959004C840B /* PBXTargetDependency */,
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
2015-04-30 15:20:47 +08:00
|
|
|
name = "HelloCpp-desktop";
|
2013-09-20 05:59:44 +08:00
|
|
|
productName = iphone;
|
2015-04-30 15:20:47 +08:00
|
|
|
productReference = 5087E76F17EB910900C73F5D /* HelloCpp-desktop.app */;
|
2013-09-20 05:59:44 +08:00
|
|
|
productType = "com.apple.product-type.application";
|
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXNativeTarget section */
|
|
|
|
|
|
|
|
/* Begin PBXProject section */
|
|
|
|
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
|
|
|
isa = PBXProject;
|
|
|
|
attributes = {
|
2013-09-19 07:50:26 +08:00
|
|
|
LastUpgradeCheck = 0500;
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
|
|
|
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloCpp" */;
|
|
|
|
compatibilityVersion = "Xcode 3.2";
|
|
|
|
developmentRegion = English;
|
|
|
|
hasScannedForEncodings = 1;
|
|
|
|
knownRegions = (
|
|
|
|
English,
|
|
|
|
Japanese,
|
|
|
|
French,
|
|
|
|
German,
|
|
|
|
);
|
|
|
|
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
|
|
|
|
projectDirPath = "";
|
|
|
|
projectReferences = (
|
|
|
|
{
|
2013-10-16 22:54:55 +08:00
|
|
|
ProductGroup = 1AC6FAE6180E9839004C840B /* Products */;
|
|
|
|
ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */;
|
2013-07-05 10:31:20 +08:00
|
|
|
},
|
|
|
|
);
|
|
|
|
projectRoot = "";
|
|
|
|
targets = (
|
2015-04-30 15:20:47 +08:00
|
|
|
1D6058900D05DD3D006BFB54 /* HelloCpp-mobile */,
|
|
|
|
5087E73D17EB910900C73F5D /* HelloCpp-desktop */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
};
|
|
|
|
/* End PBXProject section */
|
|
|
|
|
|
|
|
/* Begin PBXReferenceProxy section */
|
2017-09-19 15:01:19 +08:00
|
|
|
1A7533E31F6F75F6007E8E6F /* libcocos2d tvOS.a */ = {
|
|
|
|
isa = PBXReferenceProxy;
|
|
|
|
fileType = archive.ar;
|
|
|
|
path = "libcocos2d tvOS.a";
|
|
|
|
remoteRef = 1A7533E21F6F75F6007E8E6F /* PBXContainerItemProxy */;
|
|
|
|
sourceTree = BUILT_PRODUCTS_DIR;
|
|
|
|
};
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FAF9180E9839004C840B /* libcocos2d Mac.a */ = {
|
|
|
|
isa = PBXReferenceProxy;
|
|
|
|
fileType = archive.ar;
|
|
|
|
path = "libcocos2d Mac.a";
|
2013-10-16 22:54:55 +08:00
|
|
|
remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */;
|
2013-07-05 10:31:20 +08:00
|
|
|
sourceTree = BUILT_PRODUCTS_DIR;
|
|
|
|
};
|
2014-08-15 00:08:15 +08:00
|
|
|
1AC6FB07180E9839004C840B /* libcocos2d iOS.a */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXReferenceProxy;
|
|
|
|
fileType = archive.ar;
|
2014-08-15 00:08:15 +08:00
|
|
|
path = "libcocos2d iOS.a";
|
2013-10-16 22:54:55 +08:00
|
|
|
remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */;
|
2013-07-05 10:31:20 +08:00
|
|
|
sourceTree = BUILT_PRODUCTS_DIR;
|
|
|
|
};
|
|
|
|
/* End PBXReferenceProxy section */
|
|
|
|
|
|
|
|
/* Begin PBXResourcesBuildPhase section */
|
|
|
|
1D60588D0D05DD3D006BFB54 /* Resources */ = {
|
|
|
|
isa = PBXResourcesBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8119C43A67006E1F66 /* HelloWorld.png in Resources */,
|
2017-11-21 15:31:29 +08:00
|
|
|
1A88B2641FC3D9C9005C14AE /* Images.xcassets in Resources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7D19C43A67006E1F66 /* CloseSelected.png in Resources */,
|
2014-10-17 18:22:25 +08:00
|
|
|
521A8EA919F11F5000D177D7 /* fonts in Resources */,
|
2014-10-16 13:56:03 +08:00
|
|
|
3EACC98F19EE6D4300EB3C5E /* res in Resources */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B891F6F781D007BE51C /* LaunchScreenBackground.png in Resources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7B19C43A67006E1F66 /* CloseNormal.png in Resources */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B881F6F781D007BE51C /* LaunchScreen.storyboard in Resources */,
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
|
|
|
5087E74817EB910900C73F5D /* Resources */ = {
|
|
|
|
isa = PBXResourcesBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8219C43A67006E1F66 /* HelloWorld.png in Resources */,
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */,
|
2014-10-16 13:56:03 +08:00
|
|
|
3EACC99019EE6D4300EB3C5E /* res in Resources */,
|
2014-10-17 18:22:25 +08:00
|
|
|
521A8EAA19F11F5000D177D7 /* fonts in Resources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B7C19C43A67006E1F66 /* CloseNormal.png in Resources */,
|
|
|
|
46880B7E19C43A67006E1F66 /* CloseSelected.png in Resources */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
|
|
|
/* End PBXResourcesBuildPhase section */
|
|
|
|
|
|
|
|
/* Begin PBXSourcesBuildPhase section */
|
|
|
|
1D60588E0D05DD3D006BFB54 /* Sources */ = {
|
|
|
|
isa = PBXSourcesBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B781F6F77F7007BE51C /* AppController.mm in Sources */,
|
|
|
|
1AF87B8B1F6F782A007BE51C /* RootViewController.mm in Sources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */,
|
2017-09-19 15:01:19 +08:00
|
|
|
1AF87B8A1F6F7822007BE51C /* main.m in Sources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */,
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
|
|
|
5087E75617EB910900C73F5D /* Sources */ = {
|
|
|
|
isa = PBXSourcesBuildPhase;
|
|
|
|
buildActionMask = 2147483647;
|
|
|
|
files = (
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */,
|
2013-09-20 05:59:44 +08:00
|
|
|
503AE10517EB98FF00D1A890 /* main.cpp in Sources */,
|
2014-09-13 17:50:02 +08:00
|
|
|
46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
|
|
};
|
|
|
|
/* End PBXSourcesBuildPhase section */
|
|
|
|
|
|
|
|
/* Begin PBXTargetDependency section */
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB16180E9959004C840B /* PBXTargetDependency */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = PBXTargetDependency;
|
2013-10-16 22:54:55 +08:00
|
|
|
name = "cocos2dx Mac";
|
|
|
|
targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */;
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
2013-10-16 22:54:55 +08:00
|
|
|
1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = {
|
2013-09-20 05:59:44 +08:00
|
|
|
isa = PBXTargetDependency;
|
2013-10-16 22:54:55 +08:00
|
|
|
name = "cocos2dx iOS";
|
|
|
|
targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */;
|
2013-09-20 05:59:44 +08:00
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
/* End PBXTargetDependency section */
|
|
|
|
|
|
|
|
/* Begin XCBuildConfiguration section */
|
|
|
|
1D6058940D05DD3E006BFB54 /* Debug */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-10-16 22:54:55 +08:00
|
|
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
2017-11-21 15:31:29 +08:00
|
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
2013-07-05 10:31:20 +08:00
|
|
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
2013-09-21 05:06:35 +08:00
|
|
|
COMPRESS_PNG_FILES = NO;
|
2015-10-22 12:18:51 +08:00
|
|
|
ENABLE_BITCODE = NO;
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
|
|
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
|
|
|
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
2013-09-20 05:59:44 +08:00
|
|
|
GCC_PREFIX_HEADER = ios/Prefix.pch;
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
|
|
USE_FILE32API,
|
|
|
|
"COCOS2D_DEBUG=1",
|
|
|
|
"CC_ENABLE_CHIPMUNK_INTEGRATION=1",
|
|
|
|
);
|
|
|
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
2016-03-28 14:35:59 +08:00
|
|
|
HEADER_SEARCH_PATHS = "$(inherited)";
|
2013-09-20 05:59:44 +08:00
|
|
|
INFOPLIST_FILE = ios/Info.plist;
|
2015-10-22 12:18:51 +08:00
|
|
|
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
|
2015-01-06 08:31:43 +08:00
|
|
|
LIBRARY_SEARCH_PATHS = "";
|
|
|
|
OTHER_LDFLAGS = (
|
2015-01-05 17:56:34 +08:00
|
|
|
"$(_COCOS_LIB_IOS_BEGIN)",
|
|
|
|
"$(_COCOS_LIB_IOS_END)",
|
|
|
|
);
|
2013-07-05 10:31:20 +08:00
|
|
|
SDKROOT = iphoneos;
|
2016-05-24 10:06:28 +08:00
|
|
|
STRIP_PNG_TEXT = NO;
|
2013-07-05 10:31:20 +08:00
|
|
|
TARGETED_DEVICE_FAMILY = "1,2";
|
2015-01-05 17:56:34 +08:00
|
|
|
USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)";
|
2014-09-26 10:35:50 +08:00
|
|
|
VALID_ARCHS = "arm64 armv7";
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
|
|
|
name = Debug;
|
|
|
|
};
|
|
|
|
1D6058950D05DD3E006BFB54 /* Release */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-10-16 22:54:55 +08:00
|
|
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
2017-11-21 15:31:29 +08:00
|
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
2013-07-05 10:31:20 +08:00
|
|
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
2013-09-21 05:06:35 +08:00
|
|
|
COMPRESS_PNG_FILES = NO;
|
2015-10-22 12:18:51 +08:00
|
|
|
ENABLE_BITCODE = NO;
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
|
|
|
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
2013-09-20 05:59:44 +08:00
|
|
|
GCC_PREFIX_HEADER = ios/Prefix.pch;
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
|
|
USE_FILE32API,
|
|
|
|
"CC_ENABLE_CHIPMUNK_INTEGRATION=1",
|
2016-11-09 11:26:28 +08:00
|
|
|
NDEBUG,
|
2013-07-05 10:31:20 +08:00
|
|
|
);
|
|
|
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
2016-03-28 14:35:59 +08:00
|
|
|
HEADER_SEARCH_PATHS = "$(inherited)";
|
2013-09-20 05:59:44 +08:00
|
|
|
INFOPLIST_FILE = ios/Info.plist;
|
2015-10-22 12:18:51 +08:00
|
|
|
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
|
2015-01-06 08:31:43 +08:00
|
|
|
LIBRARY_SEARCH_PATHS = "";
|
|
|
|
OTHER_LDFLAGS = (
|
2015-01-05 17:56:34 +08:00
|
|
|
"$(_COCOS_LIB_IOS_BEGIN)",
|
|
|
|
"$(_COCOS_LIB_IOS_END)",
|
|
|
|
);
|
2013-07-05 10:31:20 +08:00
|
|
|
SDKROOT = iphoneos;
|
2016-05-24 10:06:28 +08:00
|
|
|
STRIP_PNG_TEXT = NO;
|
2013-07-05 10:31:20 +08:00
|
|
|
TARGETED_DEVICE_FAMILY = "1,2";
|
2015-01-05 17:56:34 +08:00
|
|
|
USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)";
|
2014-09-26 10:35:50 +08:00
|
|
|
VALID_ARCHS = "arm64 armv7";
|
2013-09-20 05:59:44 +08:00
|
|
|
};
|
|
|
|
name = Release;
|
|
|
|
};
|
|
|
|
5087E76D17EB910900C73F5D /* Debug */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-10-16 22:54:55 +08:00
|
|
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
2013-09-20 05:59:44 +08:00
|
|
|
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
|
|
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
|
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
|
|
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
|
|
|
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
|
|
|
GCC_PREFIX_HEADER = mac/Prefix.pch;
|
|
|
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
|
|
USE_FILE32API,
|
|
|
|
"COCOS2D_DEBUG=1",
|
|
|
|
"CC_ENABLE_CHIPMUNK_INTEGRATION=1",
|
|
|
|
);
|
|
|
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
|
|
HEADER_SEARCH_PATHS = (
|
2013-10-16 22:54:55 +08:00
|
|
|
"$(inherited)",
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
|
|
|
INFOPLIST_FILE = mac/Info.plist;
|
2015-01-06 08:31:43 +08:00
|
|
|
LIBRARY_SEARCH_PATHS = "";
|
|
|
|
OTHER_LDFLAGS = (
|
2015-01-05 17:56:34 +08:00
|
|
|
"$(_COCOS_LIB_MAC_BEGIN)",
|
|
|
|
"$(_COCOS_LIB_MAC_END)",
|
|
|
|
);
|
|
|
|
USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)";
|
2013-09-20 05:59:44 +08:00
|
|
|
};
|
|
|
|
name = Debug;
|
|
|
|
};
|
|
|
|
5087E76E17EB910900C73F5D /* Release */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-10-16 22:54:55 +08:00
|
|
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
2013-09-20 05:59:44 +08:00
|
|
|
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
|
|
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
|
|
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
|
|
|
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
|
|
|
GCC_PREFIX_HEADER = mac/Prefix.pch;
|
|
|
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
|
|
USE_FILE32API,
|
|
|
|
"CC_ENABLE_CHIPMUNK_INTEGRATION=1",
|
2016-11-09 11:26:28 +08:00
|
|
|
NDEBUG,
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
|
|
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
|
|
HEADER_SEARCH_PATHS = (
|
2013-10-16 22:54:55 +08:00
|
|
|
"$(inherited)",
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/external/glfw3/include/mac",
|
2013-09-20 05:59:44 +08:00
|
|
|
);
|
|
|
|
INFOPLIST_FILE = mac/Info.plist;
|
2015-01-06 08:31:43 +08:00
|
|
|
LIBRARY_SEARCH_PATHS = "";
|
|
|
|
OTHER_LDFLAGS = (
|
2015-01-05 17:56:34 +08:00
|
|
|
"$(_COCOS_LIB_MAC_BEGIN)",
|
|
|
|
"$(_COCOS_LIB_MAC_END)",
|
|
|
|
);
|
|
|
|
USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)";
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
|
|
|
name = Release;
|
|
|
|
};
|
|
|
|
C01FCF4F08A954540054247B /* Debug */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-09-20 05:59:44 +08:00
|
|
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
|
|
COPY_PHASE_STRIP = NO;
|
|
|
|
GCC_OPTIMIZATION_LEVEL = 0;
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
|
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
2013-10-16 22:54:55 +08:00
|
|
|
HEADER_SEARCH_PATHS = (
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d",
|
2016-03-28 14:35:59 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos",
|
|
|
|
"$(SRCROOT)/../cocos2d/extensions",
|
|
|
|
"$(SRCROOT)/../cocos2d/external",
|
|
|
|
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
2017-01-10 11:57:01 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
2013-10-16 22:54:55 +08:00
|
|
|
);
|
2015-10-22 12:18:51 +08:00
|
|
|
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
|
2014-07-15 09:39:36 +08:00
|
|
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
2013-09-19 07:50:26 +08:00
|
|
|
ONLY_ACTIVE_ARCH = YES;
|
2013-09-20 09:12:02 +08:00
|
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
2013-09-20 05:59:44 +08:00
|
|
|
SDKROOT = macosx;
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
|
|
|
name = Debug;
|
|
|
|
};
|
|
|
|
C01FCF5008A954540054247B /* Release */ = {
|
|
|
|
isa = XCBuildConfiguration;
|
|
|
|
buildSettings = {
|
2013-09-20 05:59:44 +08:00
|
|
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
|
|
CLANG_CXX_LIBRARY = "libc++";
|
2013-07-05 10:31:20 +08:00
|
|
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
|
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
2013-10-16 22:54:55 +08:00
|
|
|
HEADER_SEARCH_PATHS = (
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d",
|
2016-03-28 14:35:59 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos/audio/include",
|
2013-12-24 09:42:37 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos",
|
|
|
|
"$(SRCROOT)/../cocos2d/extensions",
|
|
|
|
"$(SRCROOT)/../cocos2d/external",
|
|
|
|
"$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk",
|
2017-01-10 11:57:01 +08:00
|
|
|
"$(SRCROOT)/../cocos2d/cocos/editor-support",
|
2013-10-16 22:54:55 +08:00
|
|
|
);
|
2015-10-22 12:18:51 +08:00
|
|
|
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
|
2014-07-15 09:39:36 +08:00
|
|
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
2013-07-05 10:31:20 +08:00
|
|
|
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
2013-09-20 09:12:02 +08:00
|
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
2013-09-20 05:59:44 +08:00
|
|
|
SDKROOT = macosx;
|
|
|
|
VALIDATE_PRODUCT = YES;
|
2013-07-05 10:31:20 +08:00
|
|
|
};
|
|
|
|
name = Release;
|
|
|
|
};
|
|
|
|
/* End XCBuildConfiguration section */
|
|
|
|
|
|
|
|
/* Begin XCConfigurationList section */
|
2015-04-30 15:20:47 +08:00
|
|
|
1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloCpp-mobile" */ = {
|
2013-07-05 10:31:20 +08:00
|
|
|
isa = XCConfigurationList;
|
|
|
|
buildConfigurations = (
|
|
|
|
1D6058940D05DD3E006BFB54 /* Debug */,
|
|
|
|
1D6058950D05DD3E006BFB54 /* Release */,
|
|
|
|
);
|
|
|
|
defaultConfigurationIsVisible = 0;
|
|
|
|
defaultConfigurationName = Debug;
|
|
|
|
};
|
2015-04-30 15:20:47 +08:00
|
|
|
5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "HelloCpp-desktop" */ = {
|
2013-09-20 05:59:44 +08:00
|
|
|
isa = XCConfigurationList;
|
|
|
|
buildConfigurations = (
|
|
|
|
5087E76D17EB910900C73F5D /* Debug */,
|
|
|
|
5087E76E17EB910900C73F5D /* Release */,
|
|
|
|
);
|
|
|
|
defaultConfigurationIsVisible = 0;
|
|
|
|
defaultConfigurationName = Debug;
|
|
|
|
};
|
2013-07-05 10:31:20 +08:00
|
|
|
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloCpp" */ = {
|
|
|
|
isa = XCConfigurationList;
|
|
|
|
buildConfigurations = (
|
|
|
|
C01FCF4F08A954540054247B /* Debug */,
|
|
|
|
C01FCF5008A954540054247B /* Release */,
|
|
|
|
);
|
|
|
|
defaultConfigurationIsVisible = 0;
|
|
|
|
defaultConfigurationName = Debug;
|
|
|
|
};
|
|
|
|
/* End XCConfigurationList section */
|
|
|
|
};
|
|
|
|
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
|
|
|
|
}
|