summaryrefslogtreecommitdiff
path: root/VisualC
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-02-03 00:19:40 -0800
committerSam Lantinga <slouken@libsdl.org>2011-02-03 00:19:40 -0800
commitd2b54f7d241c40061409c3fca412f4bb1a9fd90a (patch)
tree6f8e3de3bf3919f443033586996a2da929e3efb6 /VisualC
parent613d92a8328dc905399e837c890a49ee91023ed3 (diff)
Made it possible to create a texture of any format, even if not supported by the renderer.
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost. --HG-- rename : src/video/SDL_yuv_mmx.c => src/render/SDL_yuv_mmx.c rename : src/video/SDL_yuv_sw.c => src/render/SDL_yuv_sw.c rename : src/video/SDL_yuv_sw_c.h => src/render/SDL_yuv_sw_c.h rename : src/video/mmx.h => src/render/mmx.h
Diffstat (limited to 'VisualC')
-rw-r--r--VisualC/SDL/SDL_VS2008.vcproj8
-rw-r--r--VisualC/SDL/SDL_VS2010.vcxproj8
2 files changed, 8 insertions, 8 deletions
diff --git a/VisualC/SDL/SDL_VS2008.vcproj b/VisualC/SDL/SDL_VS2008.vcproj
index 8c583a11..e1725b19 100644
--- a/VisualC/SDL/SDL_VS2008.vcproj
+++ b/VisualC/SDL/SDL_VS2008.vcproj
@@ -607,7 +607,7 @@
>
</File>
<File
- RelativePath="..\..\src\video\mmx.h"
+ RelativePath="..\..\src\render\mmx.h"
>
</File>
<File
@@ -1251,15 +1251,15 @@
>
</File>
<File
- RelativePath="..\..\src\video\SDL_yuv_mmx.c"
+ RelativePath="..\..\src\render\SDL_yuv_mmx.c"
>
</File>
<File
- RelativePath="..\..\src\video\SDL_yuv_sw.c"
+ RelativePath="..\..\src\render\SDL_yuv_sw.c"
>
</File>
<File
- RelativePath="..\..\src\video\SDL_yuv_sw_c.h"
+ RelativePath="..\..\src\render\SDL_yuv_sw_c.h"
>
</File>
<File
diff --git a/VisualC/SDL/SDL_VS2010.vcxproj b/VisualC/SDL/SDL_VS2010.vcxproj
index 25c780c8..cf43f689 100644
--- a/VisualC/SDL/SDL_VS2010.vcxproj
+++ b/VisualC/SDL/SDL_VS2010.vcxproj
@@ -282,8 +282,9 @@ echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_r
<ClInclude Include="..\..\src\events\SDL_touch_c.h" />
<ClInclude Include="..\..\src\libm\math.h" />
<ClInclude Include="..\..\src\libm\math_private.h" />
+ <ClInclude Include="..\..\src\render\mmx.h" />
<ClInclude Include="..\..\src\render\SDL_sysrender.h" />
- <ClInclude Include="..\..\src\video\mmx.h" />
+ <ClInclude Include="..\..\src\render\SDL_yuv_sw_c.h" />
<ClInclude Include="..\..\src\video\SDL_alphamult.h" />
<ClInclude Include="..\..\src\audio\SDL_audio_c.h" />
<ClInclude Include="..\..\src\audio\SDL_audiodev_c.h" />
@@ -339,7 +340,6 @@ echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_r
<ClInclude Include="..\..\src\video\windows\SDL_windowsvideo.h" />
<ClInclude Include="..\..\src\video\windows\SDL_windowswindow.h" />
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
- <ClInclude Include="..\..\src\video\SDL_yuv_sw_c.h" />
<ClInclude Include="..\..\src\video\windows\wmmsg.h" />
</ItemGroup>
<ItemGroup>
@@ -365,6 +365,8 @@ echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_r
<ClCompile Include="..\..\src\render\direct3d\SDL_d3drender.c" />
<ClCompile Include="..\..\src\render\opengl\SDL_renderer_gl.c" />
<ClCompile Include="..\..\src\render\SDL_render.c" />
+ <ClCompile Include="..\..\src\render\SDL_yuv_mmx.c" />
+ <ClCompile Include="..\..\src\render\SDL_yuv_sw.c" />
<ClCompile Include="..\..\src\render\software\SDL_renderer_sw.c" />
<ClCompile Include="..\..\src\SDL.c" />
<ClCompile Include="..\..\src\video\SDL_alphamult.c" />
@@ -452,8 +454,6 @@ echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_r
<ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" />
<ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" />
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
- <ClCompile Include="..\..\src\video\SDL_yuv_mmx.c" />
- <ClCompile Include="..\..\src\video\SDL_yuv_sw.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">