This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added software fallback for YUV overlay code when YUV textures aren't…
… available.
- Loading branch information
Showing
with
751 additions
and 44 deletions.
- +102 −0 VisualC/tests/testoverlay/testoverlay.dsp
- +217 −0 VisualC/tests/testoverlay/testoverlay.vcproj
- +102 −0 VisualC/tests/testoverlay2/testoverlay2.dsp
- +217 −0 VisualC/tests/testoverlay2/testoverlay2.vcproj
- +24 −0 VisualC/tests/tests.dsw
- +12 −0 VisualC/tests/tests.sln
- +43 −6 src/SDL_compat.c
- +0 −1 src/stdlib/SDL_stdlib.c
- +1 −1 src/video/SDL_renderer_sw.c
- +31 −34 src/video/SDL_yuv_sw.c
- +1 −1 src/video/SDL_yuv_sw_c.h
- +1 −1 src/video/win32/SDL_gdirender.c
@@ -0,0 +1,217 @@ | ||
<?xml version="1.0" encoding="Windows-1252"?> | ||
<VisualStudioProject | ||
ProjectType="Visual C++" | ||
Version="8.00" | ||
Name="testoverlay" | ||
ProjectGUID="{9E320A14-B443-4DD7-8725-B7020DCFF730}" | ||
> | ||
<Platforms> | ||
<Platform | ||
Name="Win32" | ||
/> | ||
</Platforms> | ||
<ToolFiles> | ||
</ToolFiles> | ||
<Configurations> | ||
<Configuration | ||
Name="Release|Win32" | ||
OutputDirectory=".\Release" | ||
IntermediateDirectory=".\Release" | ||
ConfigurationType="1" | ||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" | ||
UseOfMFC="0" | ||
ATLMinimizesCRunTimeLibraryUsage="false" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
PreprocessorDefinitions="NDEBUG" | ||
MkTypLibCompatible="true" | ||
SuppressStartupBanner="true" | ||
TargetEnvironment="1" | ||
TypeLibraryName=".\Release/testoverlay.tlb" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
InlineFunctionExpansion="1" | ||
AdditionalIncludeDirectories="..\..\..\include" | ||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS" | ||
StringPooling="true" | ||
RuntimeLibrary="2" | ||
EnableFunctionLevelLinking="true" | ||
UsePrecompiledHeader="0" | ||
PrecompiledHeaderFile=".\Release/testoverlay.pch" | ||
AssemblerListingLocation=".\Release/" | ||
ObjectFile=".\Release/" | ||
ProgramDataBaseFileName=".\Release/" | ||
WarningLevel="3" | ||
SuppressStartupBanner="true" | ||
CompileAs="0" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
PreprocessorDefinitions="NDEBUG" | ||
Culture="1033" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalOptions="/MACHINE:I386" | ||
OutputFile=".\Release/testoverlay.exe" | ||
LinkIncremental="1" | ||
SuppressStartupBanner="true" | ||
ProgramDatabaseFile=".\Release/testoverlay.pdb" | ||
SubSystem="2" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Debug|Win32" | ||
OutputDirectory=".\Debug" | ||
IntermediateDirectory=".\Debug" | ||
ConfigurationType="1" | ||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" | ||
UseOfMFC="0" | ||
ATLMinimizesCRunTimeLibraryUsage="false" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
PreprocessorDefinitions="_DEBUG" | ||
MkTypLibCompatible="true" | ||
SuppressStartupBanner="true" | ||
TargetEnvironment="1" | ||
TypeLibraryName=".\Debug/testoverlay.tlb" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
Optimization="0" | ||
AdditionalIncludeDirectories="..\..\..\include" | ||
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS" | ||
RuntimeLibrary="2" | ||
UsePrecompiledHeader="0" | ||
PrecompiledHeaderFile=".\Debug/testoverlay.pch" | ||
AssemblerListingLocation=".\Debug/" | ||
ObjectFile=".\Debug/" | ||
ProgramDataBaseFileName=".\Debug/" | ||
WarningLevel="3" | ||
SuppressStartupBanner="true" | ||
DebugInformationFormat="4" | ||
CompileAs="0" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
PreprocessorDefinitions="_DEBUG" | ||
Culture="1033" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalOptions="/MACHINE:I386" | ||
OutputFile=".\Debug/testoverlay.exe" | ||
LinkIncremental="2" | ||
SuppressStartupBanner="true" | ||
GenerateDebugInformation="true" | ||
ProgramDatabaseFile=".\Debug/testoverlay.pdb" | ||
SubSystem="2" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
<References> | ||
</References> | ||
<Files> | ||
<File | ||
RelativePath="..\..\Sdl\Debug\SDL.lib" | ||
> | ||
</File> | ||
<File | ||
RelativePath="..\..\SDLmain\Debug\SDLmain.lib" | ||
> | ||
</File> | ||
<File | ||
RelativePath="..\..\..\test\testoverlay.c" | ||
> | ||
</File> | ||
</Files> | ||
<Globals> | ||
</Globals> | ||
</VisualStudioProject> |
Oops, something went wrong.