From 4c623f1f5ec6269a197689257307cc59015d6aea Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Fri, 9 May 2014 15:14:50 -0700 Subject: [PATCH] compiles and runs on Windows Phone 8 What's missing is to have the pre-compiled shaders from MS to test the the ShaderTest --- cocos/2d/cocos2d_wp8.vcxproj | 42 ++++-- cocos/2d/cocos2d_wp8.vcxproj.filters | 132 ++++++++++++++---- .../platform/winrt/CCPrecompiledShaders.cpp | 2 +- 3 files changed, 140 insertions(+), 36 deletions(-) diff --git a/cocos/2d/cocos2d_wp8.vcxproj b/cocos/2d/cocos2d_wp8.vcxproj index 0168beeb97..62c951f214 100644 --- a/cocos/2d/cocos2d_wp8.vcxproj +++ b/cocos/2d/cocos2d_wp8.vcxproj @@ -270,10 +270,16 @@ + + + + + + @@ -320,8 +326,6 @@ - - @@ -345,8 +349,6 @@ - - @@ -494,11 +496,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -530,8 +560,6 @@ - - @@ -558,8 +586,6 @@ - - diff --git a/cocos/2d/cocos2d_wp8.vcxproj.filters b/cocos/2d/cocos2d_wp8.vcxproj.filters index 2fe7279e70..58d4bf9436 100644 --- a/cocos/2d/cocos2d_wp8.vcxproj.filters +++ b/cocos/2d/cocos2d_wp8.vcxproj.filters @@ -58,9 +58,6 @@ {5b082c5c-d396-43ca-b3b1-997d0f6247d0} - - {163895ae-8a8e-46bf-bdf2-98bb2c1347fc} - {1179d205-d065-49f0-8457-bc4c3f1d0cb3} @@ -103,6 +100,9 @@ {9bbf7050-757b-41b1-ab15-418db52c2023} + + {3237780d-1154-4049-bf53-151c421f26e9} + @@ -276,18 +276,6 @@ platform - - shaders - - - shaders - - - shaders - - - shaders - sprite_nodes @@ -600,6 +588,24 @@ base + + renderer + + + renderer + + + renderer + + + renderer + + + renderer + + + renderer + @@ -809,18 +815,6 @@ platform - - shaders - - - shaders - - - shaders - - - shaders - sprite_nodes @@ -1186,6 +1180,90 @@ base + + renderer + + + renderer + + + renderer + + + renderer + + + renderer + + + renderer + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + + + renderer\Shaders + diff --git a/cocos/2d/platform/winrt/CCPrecompiledShaders.cpp b/cocos/2d/platform/winrt/CCPrecompiledShaders.cpp index a1d82a0c01..3ec3131651 100644 --- a/cocos/2d/platform/winrt/CCPrecompiledShaders.cpp +++ b/cocos/2d/platform/winrt/CCPrecompiledShaders.cpp @@ -24,7 +24,7 @@ THE SOFTWARE. ****************************************************************************/ #include "CCPrecompiledShaders.h" #include "CCWinRTUtils.h" -#include "CCGLProgram.h" +#include "renderer/CCGLProgram.h" #include "sha1.h" #if (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)