Add Pixman solution and release scripts

This commit is contained in:
Berke Viktor 2012-10-01 16:25:02 +02:00
parent f618f914cd
commit 9c3ea36483
12 changed files with 1712 additions and 0 deletions

View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2093D218-190E-4194-9421-3BA7CBF33B10}</ProjectGuid>
<RootNamespace>install</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(PixmanEtcInstallRoot)\</OutDir>
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(PixmanEtcInstallRoot)\</OutDir>
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(PixmanEtcInstallRoot)\</OutDir>
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(PixmanEtcInstallRoot)\</OutDir>
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PreBuildEvent>
<Command>$(PixmanDoInstall)</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PreBuildEvent>
<Command>$(PixmanDoInstall)</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
<Command>$(PixmanDoInstall)</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<PreBuildEvent>
<Command>$(PixmanDoInstall)</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ProjectReference Include="pixman.vcxproj">
<Project>{65e6ecb5-ba49-4c52-a085-1e3bb18836d0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<ApiVersion>1</ApiVersion>
<PixmanEtcInstallRoot>..\..\..\..\build\$(Platform)</PixmanEtcInstallRoot>
<CopyDir>..\..\..\..\pixman-0.26.2-rel</CopyDir>
<PixmanDoInstall>
mkdir $(CopyDir)
mkdir $(CopyDir)\bin
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\testpixman.exe $(CopyDir)\bin
mkdir $(CopyDir)\include\pixman-$(ApiVersion)
copy ..\..\..\pixman\pixman.h $(CopyDir)\include\pixman-$(ApiVersion)
copy ..\..\..\pixman\pixman-version.h $(CopyDir)\include\pixman-$(ApiVersion)
mkdir $(CopyDir)\lib
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(ApiVersion).exp $(CopyDir)\lib
</PixmanDoInstall>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<_PropertySheetDisplayName>pixmanprops</_PropertySheetDisplayName>
<OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
<IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\..\..;..\..\..\pixman;$(PixmanEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4101;4819;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(PixmanEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<PreBuildEvent>
<Command>
if exist ..\..\..\pixman\pixman-combine32.h goto DONE_PIXMAN_COMBINE_32_H
perl ..\..\..\pixman\make-combine.pl 8 &lt; ..\..\..\pixman\pixman-combine.h.template &gt; ..\..\..\pixman\pixman-combine32.h
:DONE_PIXMAN_COMBINE_32_H
if exist ..\..\..\pixman\pixman-combine32.c goto DONE_PIXMAN_COMBINE_32_C
perl ..\..\..\pixman\make-combine.pl 8 &lt; ..\..\..\pixman\pixman-combine.c.template &gt; ..\..\..\pixman\pixman-combine32.c
:DONE_PIXMAN_COMBINE_32_C
if exist ..\..\..\pixman\pixman-combine64.h goto DONE_PIXMAN_COMBINE_64_H
perl ..\..\..\pixman\make-combine.pl 16 &lt; ..\..\..\pixman\pixman-combine.h.template &gt; ..\..\..\pixman\pixman-combine64.h
:DONE_PIXMAN_COMBINE_64_H
if exist ..\..\..\pixman\pixman-combine64.c goto DONE_PIXMAN_COMBINE_64_C
perl ..\..\..\pixman\make-combine.pl 16 &lt; ..\..\..\pixman\pixman-combine.c.template &gt; ..\..\..\pixman\pixman-combine64.c
:DONE_PIXMAN_COMBINE_64_C
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="ApiVersion">
<Value>$(ApiVersion)</Value>
</BuildMacro>
<BuildMacro Include="PixmanEtcInstallRoot">
<Value>$(PixmanEtcInstallRoot)</Value>
</BuildMacro>
<BuildMacro Include="PixmanDoInstall">
<Value>$(PixmanDoInstall)</Value>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,46 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Desktop
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pixman", "pixman.vcxproj", "{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpixman", "testpixman.vcxproj", "{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Debug|Win32.ActiveCfg = Debug|Win32
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Debug|Win32.Build.0 = Debug|Win32
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Debug|x64.ActiveCfg = Debug|x64
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Debug|x64.Build.0 = Debug|x64
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Release|Win32.ActiveCfg = Release|Win32
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Release|Win32.Build.0 = Release|Win32
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Release|x64.ActiveCfg = Release|x64
{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}.Release|x64.Build.0 = Release|x64
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Debug|Win32.ActiveCfg = Debug|Win32
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Debug|Win32.Build.0 = Debug|Win32
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Debug|x64.ActiveCfg = Debug|x64
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Debug|x64.Build.0 = Debug|x64
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Release|Win32.ActiveCfg = Release|Win32
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Release|Win32.Build.0 = Release|Win32
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Release|x64.ActiveCfg = Release|x64
{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}.Release|x64.Build.0 = Release|x64
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.ActiveCfg = Debug|Win32
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|Win32.Build.0 = Debug|Win32
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.ActiveCfg = Debug|x64
{2093D218-190E-4194-9421-3BA7CBF33B10}.Debug|x64.Build.0 = Debug|x64
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|Win32.ActiveCfg = Release|Win32
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|Win32.Build.0 = Release|Win32
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|x64.ActiveCfg = Release|x64
{2093D218-190E-4194-9421-3BA7CBF33B10}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{65E6ECB5-BA49-4C52-A085-1E3BB18836D0}</ProjectGuid>
<RootNamespace>pixman</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;BUILDING_PIXMAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(ProjectName)-$(ApiVersion).dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>BUILDING_PIXMAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(ProjectName)-$(ApiVersion).dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;BUILDING_PIXMAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(ProjectName)-$(ApiVersion).dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>BUILDING_PIXMAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(ProjectName)-$(ApiVersion).dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\pixman\pixman-access-accessors.c" />
<ClCompile Include="..\..\..\pixman\pixman-access.c" />
<ClCompile Include="..\..\..\pixman\pixman-bits-image.c" />
<ClCompile Include="..\..\..\pixman\pixman-combine32.c" />
<ClCompile Include="..\..\..\pixman\pixman-combine64.c" />
<ClCompile Include="..\..\..\pixman\pixman-conical-gradient.c" />
<ClCompile Include="..\..\..\pixman\pixman-cpu.c" />
<ClCompile Include="..\..\..\pixman\pixman-edge-accessors.c" />
<ClCompile Include="..\..\..\pixman\pixman-edge.c" />
<ClCompile Include="..\..\..\pixman\pixman-fast-path.c" />
<ClCompile Include="..\..\..\pixman\pixman-general.c" />
<ClCompile Include="..\..\..\pixman\pixman-gradient-walker.c" />
<ClCompile Include="..\..\..\pixman\pixman-image.c" />
<ClCompile Include="..\..\..\pixman\pixman-implementation.c" />
<ClCompile Include="..\..\..\pixman\pixman-linear-gradient.c" />
<ClCompile Include="..\..\..\pixman\pixman-matrix.c" />
<ClCompile Include="..\..\..\pixman\pixman-mmx.c" />
<ClCompile Include="..\..\..\pixman\pixman-noop.c" />
<ClCompile Include="..\..\..\pixman\pixman-radial-gradient.c" />
<ClCompile Include="..\..\..\pixman\pixman-region16.c" />
<ClCompile Include="..\..\..\pixman\pixman-region32.c" />
<ClCompile Include="..\..\..\pixman\pixman-solid-fill.c" />
<ClCompile Include="..\..\..\pixman\pixman-sse2.c" />
<ClCompile Include="..\..\..\pixman\pixman-timer.c" />
<ClCompile Include="..\..\..\pixman\pixman-trap.c" />
<ClCompile Include="..\..\..\pixman\pixman-utils.c" />
<ClCompile Include="..\..\..\pixman\pixman.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Sources">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Headers">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\pixman\pixman-access-accessors.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-access.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-bits-image.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-combine32.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-combine64.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-conical-gradient.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-cpu.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-edge-accessors.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-edge.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-fast-path.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-general.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-gradient-walker.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-image.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-implementation.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-linear-gradient.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-matrix.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-mmx.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-noop.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-radial-gradient.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-region16.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-region32.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-solid-fill.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-sse2.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-timer.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-trap.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman-utils.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\pixman\pixman.c">
<Filter>Sources</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,182 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C3E734B7-A89C-4011-B5D1-B3748F11D5BF}</ProjectGuid>
<RootNamespace>testpixman</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="pixman.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>libpng15d.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>libpng15.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>libpng15d.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>libpng15.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\test\a1-trap-test.c" />
<ClCompile Include="..\..\..\test\utils.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\test\utils.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="pixman.vcxproj">
<Project>{65e6ecb5-ba49-4c52-a085-1e3bb18836d0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Sources">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Headers">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\test\a1-trap-test.c">
<Filter>Sources</Filter>
</ClCompile>
<ClCompile Include="..\..\..\test\utils.c">
<Filter>Sources</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\test\utils.h">
<Filter>Headers</Filter>
</ClInclude>
</ItemGroup>
</Project>

167
win32/deps/pixman/config.h Normal file
View File

@ -0,0 +1,167 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Whether we have alarm() */
/* #undef HAVE_ALARM */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Whether we have feenableexcept() */
/* #undef HAVE_FEENABLEEXCEPT */
/* Define to 1 if we have <fenv.h> */
/* #undef HAVE_FENV_H */
/* Define to 1 if you have the `getisax' function. */
/* #undef HAVE_GETISAX */
/* Whether we have getpagesize() */
/* #undef HAVE_GETPAGESIZE */
/* Whether we have gettimeofday() */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef _MSC_VER
#define HAVE_INTTYPES_H 1
#endif
/* Define to 1 if you have the `pixman-1' library (-lpixman-1). */
/* #undef HAVE_LIBPIXMAN_1 */
/* Whether we have libpng */
#define HAVE_LIBPNG 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Whether we have mmap() */
/* #undef HAVE_MMAP */
/* Whether we have mprotect() */
/* #undef HAVE_MPROTECT */
/* Whether we have posix_memalign() */
/* #undef HAVE_POSIX_MEMALIGN */
/* Whether pthread_setspecific() is supported */
/* #undef HAVE_PTHREAD_SETSPECIFIC */
/* Whether we have sigaction() */
/* #undef HAVE_SIGACTION */
/* Define to 1 if you have the <stdint.h> header file. */
#if (!defined(_MSC_VER) || (_MSC_VER >= 1600))
#define HAVE_STDINT_H 1
#endif
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#ifndef _MSC_VER
#define HAVE_STRINGS_H 1
#endif
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H
/* Define to 1 if we have <sys/mman.h> */
/* #undef HAVE_SYS_MMAN_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#ifndef _MSC_VER
#define HAVE_UNISTD_H 1
#endif
/* Name of package */
#define PACKAGE "pixman"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "pixman@lists.freedesktop.org"
/* Define to the full name of this package. */
#define PACKAGE_NAME "pixman"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "pixman 0.26.2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pixman"
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.26.2"
/* enable TIMER_BEGIN/TIMER_END macros */
/* #undef PIXMAN_TIMERS */
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Whether the tool chain supports __attribute__((constructor)) */
/* #undef TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR */
/* Whether the tool chain supports __thread */
/* #undef TOOLCHAIN_SUPPORTS__THREAD */
/* use ARM IWMMXT compiler intrinsics */
/* #undef USE_ARM_IWMMXT */
/* use ARM NEON assembly optimizations */
/* #undef USE_ARM_NEON */
/* use ARM SIMD assembly optimizations */
/* #undef USE_ARM_SIMD */
/* use GNU-style inline assembler */
/* #undef USE_GCC_INLINE_ASM */
/* use OpenMP in the test suite */
/* #undef USE_OPENMP */
/* use SSE2 compiler intrinsics */
#define USE_SSE2 1
/* use VMX compiler intrinsics */
/* #undef USE_VMX */
/* use x86 MMX compiler intrinsics */
#ifdef _M_IX86
#define USE_X86_MMX 1
#endif
/* Version number of package */
#define VERSION "0.26.2"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#ifdef _MSC_VER
#define inline __inline
#define __inline__ __inline
#endif
#endif

View File

@ -0,0 +1,167 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Whether we have alarm() */
/* #undef HAVE_ALARM */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Whether we have feenableexcept() */
/* #undef HAVE_FEENABLEEXCEPT */
/* Define to 1 if we have <fenv.h> */
/* #undef HAVE_FENV_H */
/* Define to 1 if you have the `getisax' function. */
/* #undef HAVE_GETISAX */
/* Whether we have getpagesize() */
/* #undef HAVE_GETPAGESIZE */
/* Whether we have gettimeofday() */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef _MSC_VER
#define HAVE_INTTYPES_H 1
#endif
/* Define to 1 if you have the `pixman-1' library (-lpixman-1). */
/* #undef HAVE_LIBPIXMAN_1 */
/* Whether we have libpng */
#define HAVE_LIBPNG 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Whether we have mmap() */
/* #undef HAVE_MMAP */
/* Whether we have mprotect() */
/* #undef HAVE_MPROTECT */
/* Whether we have posix_memalign() */
/* #undef HAVE_POSIX_MEMALIGN */
/* Whether pthread_setspecific() is supported */
/* #undef HAVE_PTHREAD_SETSPECIFIC */
/* Whether we have sigaction() */
/* #undef HAVE_SIGACTION */
/* Define to 1 if you have the <stdint.h> header file. */
#if (!defined(_MSC_VER) || (_MSC_VER >= 1600))
#define HAVE_STDINT_H 1
#endif
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#ifndef _MSC_VER
#define HAVE_STRINGS_H 1
#endif
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H
/* Define to 1 if we have <sys/mman.h> */
/* #undef HAVE_SYS_MMAN_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#ifndef _MSC_VER
#define HAVE_UNISTD_H 1
#endif
/* Name of package */
#define PACKAGE "pixman"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "pixman@lists.freedesktop.org"
/* Define to the full name of this package. */
#define PACKAGE_NAME "pixman"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "pixman @PIXMAN_VERSION_MAJOR@.@PIXMAN_VERSION_MINOR@.@PIXMAN_VERSION_MICRO@"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pixman"
/* Define to the version of this package. */
#define PACKAGE_VERSION "@PIXMAN_VERSION_MAJOR@.@PIXMAN_VERSION_MINOR@.@PIXMAN_VERSION_MICRO@"
/* enable TIMER_BEGIN/TIMER_END macros */
/* #undef PIXMAN_TIMERS */
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Whether the tool chain supports __attribute__((constructor)) */
/* #undef TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR */
/* Whether the tool chain supports __thread */
/* #undef TOOLCHAIN_SUPPORTS__THREAD */
/* use ARM IWMMXT compiler intrinsics */
/* #undef USE_ARM_IWMMXT */
/* use ARM NEON assembly optimizations */
/* #undef USE_ARM_NEON */
/* use ARM SIMD assembly optimizations */
/* #undef USE_ARM_SIMD */
/* use GNU-style inline assembler */
/* #undef USE_GCC_INLINE_ASM */
/* use OpenMP in the test suite */
/* #undef USE_OPENMP */
/* use SSE2 compiler intrinsics */
#define USE_SSE2 1
/* use VMX compiler intrinsics */
/* #undef USE_VMX */
/* use x86 MMX compiler intrinsics */
#ifdef _M_IX86
#define USE_X86_MMX 1
#endif
/* Version number of package */
#define VERSION "@PIXMAN_VERSION_MAJOR@.@PIXMAN_VERSION_MINOR@.@PIXMAN_VERSION_MICRO@"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#ifdef _MSC_VER
#define inline __inline
#define __inline__ __inline
#endif
#endif

View File

@ -0,0 +1,577 @@
diff -ruN --strip-trailing-cr pixman-0.26.2.orig/pixman/pixman.h pixman-0.26.2/pixman/pixman.h
--- pixman-0.26.2.orig/pixman/pixman.h 2012-06-29 18:25:17 +0000
+++ pixman-0.26.2/pixman/pixman.h 2012-02-22 10:01:16 +0000
@@ -69,6 +69,16 @@
#ifndef PIXMAN_H__
#define PIXMAN_H__
+#if (defined(_MSC_VER) && !defined(PIXMAN_STATIC))
+#ifdef BUILDING_PIXMAN
+#define PIXMAN_EXP __declspec(dllexport)
+#else
+#define PIXMAN_EXP __declspec(dllimport)
+#endif
+#else
+#define PIXMAN_EXP
+#endif
+
#include <pixman-version.h>
#ifdef __cplusplus
@@ -184,43 +194,43 @@
struct pixman_box16;
typedef union pixman_image pixman_image_t;
-void pixman_transform_init_identity (struct pixman_transform *matrix);
-pixman_bool_t pixman_transform_point_3d (const struct pixman_transform *transform,
+PIXMAN_EXP void pixman_transform_init_identity (struct pixman_transform *matrix);
+PIXMAN_EXP pixman_bool_t pixman_transform_point_3d (const struct pixman_transform *transform,
struct pixman_vector *vector);
-pixman_bool_t pixman_transform_point (const struct pixman_transform *transform,
+PIXMAN_EXP pixman_bool_t pixman_transform_point (const struct pixman_transform *transform,
struct pixman_vector *vector);
-pixman_bool_t pixman_transform_multiply (struct pixman_transform *dst,
+PIXMAN_EXP pixman_bool_t pixman_transform_multiply (struct pixman_transform *dst,
const struct pixman_transform *l,
const struct pixman_transform *r);
-void pixman_transform_init_scale (struct pixman_transform *t,
+PIXMAN_EXP void pixman_transform_init_scale (struct pixman_transform *t,
pixman_fixed_t sx,
pixman_fixed_t sy);
-pixman_bool_t pixman_transform_scale (struct pixman_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_transform_scale (struct pixman_transform *forward,
struct pixman_transform *reverse,
pixman_fixed_t sx,
pixman_fixed_t sy);
-void pixman_transform_init_rotate (struct pixman_transform *t,
+PIXMAN_EXP void pixman_transform_init_rotate (struct pixman_transform *t,
pixman_fixed_t cos,
pixman_fixed_t sin);
-pixman_bool_t pixman_transform_rotate (struct pixman_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_transform_rotate (struct pixman_transform *forward,
struct pixman_transform *reverse,
pixman_fixed_t c,
pixman_fixed_t s);
-void pixman_transform_init_translate (struct pixman_transform *t,
+PIXMAN_EXP void pixman_transform_init_translate (struct pixman_transform *t,
pixman_fixed_t tx,
pixman_fixed_t ty);
-pixman_bool_t pixman_transform_translate (struct pixman_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_transform_translate (struct pixman_transform *forward,
struct pixman_transform *reverse,
pixman_fixed_t tx,
pixman_fixed_t ty);
-pixman_bool_t pixman_transform_bounds (const struct pixman_transform *matrix,
+PIXMAN_EXP pixman_bool_t pixman_transform_bounds (const struct pixman_transform *matrix,
struct pixman_box16 *b);
-pixman_bool_t pixman_transform_invert (struct pixman_transform *dst,
+PIXMAN_EXP pixman_bool_t pixman_transform_invert (struct pixman_transform *dst,
const struct pixman_transform *src);
-pixman_bool_t pixman_transform_is_identity (const struct pixman_transform *t);
-pixman_bool_t pixman_transform_is_scale (const struct pixman_transform *t);
-pixman_bool_t pixman_transform_is_int_translate (const struct pixman_transform *t);
-pixman_bool_t pixman_transform_is_inverse (const struct pixman_transform *a,
+PIXMAN_EXP pixman_bool_t pixman_transform_is_identity (const struct pixman_transform *t);
+PIXMAN_EXP pixman_bool_t pixman_transform_is_scale (const struct pixman_transform *t);
+PIXMAN_EXP pixman_bool_t pixman_transform_is_int_translate (const struct pixman_transform *t);
+PIXMAN_EXP pixman_bool_t pixman_transform_is_inverse (const struct pixman_transform *a,
const struct pixman_transform *b);
/*
@@ -236,43 +246,43 @@
double m[3][3];
};
-pixman_bool_t pixman_transform_from_pixman_f_transform (struct pixman_transform *t,
+PIXMAN_EXP pixman_bool_t pixman_transform_from_pixman_f_transform (struct pixman_transform *t,
const struct pixman_f_transform *ft);
-void pixman_f_transform_from_pixman_transform (struct pixman_f_transform *ft,
+PIXMAN_EXP void pixman_f_transform_from_pixman_transform (struct pixman_f_transform *ft,
const struct pixman_transform *t);
-pixman_bool_t pixman_f_transform_invert (struct pixman_f_transform *dst,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_invert (struct pixman_f_transform *dst,
const struct pixman_f_transform *src);
-pixman_bool_t pixman_f_transform_point (const struct pixman_f_transform *t,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_point (const struct pixman_f_transform *t,
struct pixman_f_vector *v);
-void pixman_f_transform_point_3d (const struct pixman_f_transform *t,
+PIXMAN_EXP void pixman_f_transform_point_3d (const struct pixman_f_transform *t,
struct pixman_f_vector *v);
-void pixman_f_transform_multiply (struct pixman_f_transform *dst,
+PIXMAN_EXP void pixman_f_transform_multiply (struct pixman_f_transform *dst,
const struct pixman_f_transform *l,
const struct pixman_f_transform *r);
-void pixman_f_transform_init_scale (struct pixman_f_transform *t,
+PIXMAN_EXP void pixman_f_transform_init_scale (struct pixman_f_transform *t,
double sx,
double sy);
-pixman_bool_t pixman_f_transform_scale (struct pixman_f_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_scale (struct pixman_f_transform *forward,
struct pixman_f_transform *reverse,
double sx,
double sy);
-void pixman_f_transform_init_rotate (struct pixman_f_transform *t,
+PIXMAN_EXP void pixman_f_transform_init_rotate (struct pixman_f_transform *t,
double cos,
double sin);
-pixman_bool_t pixman_f_transform_rotate (struct pixman_f_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_rotate (struct pixman_f_transform *forward,
struct pixman_f_transform *reverse,
double c,
double s);
-void pixman_f_transform_init_translate (struct pixman_f_transform *t,
+PIXMAN_EXP void pixman_f_transform_init_translate (struct pixman_f_transform *t,
double tx,
double ty);
-pixman_bool_t pixman_f_transform_translate (struct pixman_f_transform *forward,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_translate (struct pixman_f_transform *forward,
struct pixman_f_transform *reverse,
double tx,
double ty);
-pixman_bool_t pixman_f_transform_bounds (const struct pixman_f_transform *t,
+PIXMAN_EXP pixman_bool_t pixman_f_transform_bounds (const struct pixman_f_transform *t,
struct pixman_box16 *b);
-void pixman_f_transform_init_identity (struct pixman_f_transform *t);
+PIXMAN_EXP void pixman_f_transform_init_identity (struct pixman_f_transform *t);
typedef enum
{
@@ -399,74 +409,73 @@
/* This function exists only to make it possible to preserve
* the X ABI - it should go away at first opportunity.
*/
-void pixman_region_set_static_pointers (pixman_box16_t *empty_box,
+PIXMAN_EXP void pixman_region_set_static_pointers (pixman_box16_t *empty_box,
pixman_region16_data_t *empty_data,
pixman_region16_data_t *broken_data);
/* creation/destruction */
-void pixman_region_init (pixman_region16_t *region);
-void pixman_region_init_rect (pixman_region16_t *region,
+PIXMAN_EXP void pixman_region_init (pixman_region16_t *region);
+PIXMAN_EXP void pixman_region_init_rect (pixman_region16_t *region,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region_init_rects (pixman_region16_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region_init_rects (pixman_region16_t *region,
const pixman_box16_t *boxes,
int count);
-void pixman_region_init_with_extents (pixman_region16_t *region,
+PIXMAN_EXP void pixman_region_init_with_extents (pixman_region16_t *region,
pixman_box16_t *extents);
-void pixman_region_init_from_image (pixman_region16_t *region,
+PIXMAN_EXP void pixman_region_init_from_image (pixman_region16_t *region,
pixman_image_t *image);
-void pixman_region_fini (pixman_region16_t *region);
+PIXMAN_EXP void pixman_region_fini (pixman_region16_t *region);
/* manipulation */
-void pixman_region_translate (pixman_region16_t *region,
+PIXMAN_EXP void pixman_region_translate (pixman_region16_t *region,
int x,
int y);
-pixman_bool_t pixman_region_copy (pixman_region16_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region_copy (pixman_region16_t *dest,
pixman_region16_t *source);
-pixman_bool_t pixman_region_intersect (pixman_region16_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region_intersect (pixman_region16_t *new_reg,
pixman_region16_t *reg1,
pixman_region16_t *reg2);
-pixman_bool_t pixman_region_union (pixman_region16_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region_union (pixman_region16_t *new_reg,
pixman_region16_t *reg1,
pixman_region16_t *reg2);
-pixman_bool_t pixman_region_union_rect (pixman_region16_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region_union_rect (pixman_region16_t *dest,
pixman_region16_t *source,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region_intersect_rect (pixman_region16_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region_intersect_rect (pixman_region16_t *dest,
pixman_region16_t *source,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region_subtract (pixman_region16_t *reg_d,
+PIXMAN_EXP pixman_bool_t pixman_region_subtract (pixman_region16_t *reg_d,
pixman_region16_t *reg_m,
pixman_region16_t *reg_s);
-pixman_bool_t pixman_region_inverse (pixman_region16_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region_inverse (pixman_region16_t *new_reg,
pixman_region16_t *reg1,
pixman_box16_t *inv_rect);
-pixman_bool_t pixman_region_contains_point (pixman_region16_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region_contains_point (pixman_region16_t *region,
int x,
int y,
pixman_box16_t *box);
-pixman_region_overlap_t pixman_region_contains_rectangle (pixman_region16_t *region,
+PIXMAN_EXP pixman_region_overlap_t pixman_region_contains_rectangle (pixman_region16_t *region,
pixman_box16_t *prect);
-pixman_bool_t pixman_region_not_empty (pixman_region16_t *region);
-pixman_box16_t * pixman_region_extents (pixman_region16_t *region);
-int pixman_region_n_rects (pixman_region16_t *region);
-pixman_box16_t * pixman_region_rectangles (pixman_region16_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region_not_empty (pixman_region16_t *region);
+PIXMAN_EXP pixman_box16_t * pixman_region_extents (pixman_region16_t *region);
+PIXMAN_EXP int pixman_region_n_rects (pixman_region16_t *region);
+PIXMAN_EXP pixman_box16_t * pixman_region_rectangles (pixman_region16_t *region,
int *n_rects);
-pixman_bool_t pixman_region_equal (pixman_region16_t *region1,
+PIXMAN_EXP pixman_bool_t pixman_region_equal (pixman_region16_t *region1,
pixman_region16_t *region2);
-pixman_bool_t pixman_region_selfcheck (pixman_region16_t *region);
-void pixman_region_reset (pixman_region16_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region_selfcheck (pixman_region16_t *region);
+PIXMAN_EXP void pixman_region_reset (pixman_region16_t *region,
pixman_box16_t *box);
-void pixman_region_clear (pixman_region16_t *region);
/*
* 32 bit regions
*/
@@ -499,73 +508,72 @@
};
/* creation/destruction */
-void pixman_region32_init (pixman_region32_t *region);
-void pixman_region32_init_rect (pixman_region32_t *region,
+PIXMAN_EXP void pixman_region32_init (pixman_region32_t *region);
+PIXMAN_EXP void pixman_region32_init_rect (pixman_region32_t *region,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region32_init_rects (pixman_region32_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region32_init_rects (pixman_region32_t *region,
const pixman_box32_t *boxes,
int count);
-void pixman_region32_init_with_extents (pixman_region32_t *region,
+PIXMAN_EXP void pixman_region32_init_with_extents (pixman_region32_t *region,
pixman_box32_t *extents);
-void pixman_region32_init_from_image (pixman_region32_t *region,
+PIXMAN_EXP void pixman_region32_init_from_image (pixman_region32_t *region,
pixman_image_t *image);
-void pixman_region32_fini (pixman_region32_t *region);
+PIXMAN_EXP void pixman_region32_fini (pixman_region32_t *region);
/* manipulation */
-void pixman_region32_translate (pixman_region32_t *region,
+PIXMAN_EXP void pixman_region32_translate (pixman_region32_t *region,
int x,
int y);
-pixman_bool_t pixman_region32_copy (pixman_region32_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region32_copy (pixman_region32_t *dest,
pixman_region32_t *source);
-pixman_bool_t pixman_region32_intersect (pixman_region32_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region32_intersect (pixman_region32_t *new_reg,
pixman_region32_t *reg1,
pixman_region32_t *reg2);
-pixman_bool_t pixman_region32_union (pixman_region32_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region32_union (pixman_region32_t *new_reg,
pixman_region32_t *reg1,
pixman_region32_t *reg2);
-pixman_bool_t pixman_region32_intersect_rect (pixman_region32_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region32_intersect_rect (pixman_region32_t *dest,
pixman_region32_t *source,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region32_union_rect (pixman_region32_t *dest,
+PIXMAN_EXP pixman_bool_t pixman_region32_union_rect (pixman_region32_t *dest,
pixman_region32_t *source,
int x,
int y,
unsigned int width,
unsigned int height);
-pixman_bool_t pixman_region32_subtract (pixman_region32_t *reg_d,
+PIXMAN_EXP pixman_bool_t pixman_region32_subtract (pixman_region32_t *reg_d,
pixman_region32_t *reg_m,
pixman_region32_t *reg_s);
-pixman_bool_t pixman_region32_inverse (pixman_region32_t *new_reg,
+PIXMAN_EXP pixman_bool_t pixman_region32_inverse (pixman_region32_t *new_reg,
pixman_region32_t *reg1,
pixman_box32_t *inv_rect);
-pixman_bool_t pixman_region32_contains_point (pixman_region32_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region32_contains_point (pixman_region32_t *region,
int x,
int y,
pixman_box32_t *box);
-pixman_region_overlap_t pixman_region32_contains_rectangle (pixman_region32_t *region,
+PIXMAN_EXP pixman_region_overlap_t pixman_region32_contains_rectangle (pixman_region32_t *region,
pixman_box32_t *prect);
-pixman_bool_t pixman_region32_not_empty (pixman_region32_t *region);
-pixman_box32_t * pixman_region32_extents (pixman_region32_t *region);
-int pixman_region32_n_rects (pixman_region32_t *region);
-pixman_box32_t * pixman_region32_rectangles (pixman_region32_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region32_not_empty (pixman_region32_t *region);
+PIXMAN_EXP pixman_box32_t * pixman_region32_extents (pixman_region32_t *region);
+PIXMAN_EXP int pixman_region32_n_rects (pixman_region32_t *region);
+PIXMAN_EXP pixman_box32_t * pixman_region32_rectangles (pixman_region32_t *region,
int *n_rects);
-pixman_bool_t pixman_region32_equal (pixman_region32_t *region1,
+PIXMAN_EXP pixman_bool_t pixman_region32_equal (pixman_region32_t *region1,
pixman_region32_t *region2);
-pixman_bool_t pixman_region32_selfcheck (pixman_region32_t *region);
-void pixman_region32_reset (pixman_region32_t *region,
+PIXMAN_EXP pixman_bool_t pixman_region32_selfcheck (pixman_region32_t *region);
+PIXMAN_EXP void pixman_region32_reset (pixman_region32_t *region,
pixman_box32_t *box);
-void pixman_region32_clear (pixman_region32_t *region);
/* Copy / Fill / Misc */
-pixman_bool_t pixman_blt (uint32_t *src_bits,
+PIXMAN_EXP pixman_bool_t pixman_blt (uint32_t *src_bits,
uint32_t *dst_bits,
int src_stride,
int dst_stride,
@@ -577,7 +585,7 @@
int dest_y,
int width,
int height);
-pixman_bool_t pixman_fill (uint32_t *bits,
+PIXMAN_EXP pixman_bool_t pixman_fill (uint32_t *bits,
int stride,
int bpp,
int x,
@@ -586,8 +594,8 @@
int height,
uint32_t _xor);
-int pixman_version (void);
-const char* pixman_version_string (void);
+PIXMAN_EXP int pixman_version (void);
+PIXMAN_EXP const char* pixman_version_string (void);
/*
* Images
@@ -729,88 +737,88 @@
} pixman_format_code_t;
/* Querying supported format values. */
-pixman_bool_t pixman_format_supported_destination (pixman_format_code_t format);
-pixman_bool_t pixman_format_supported_source (pixman_format_code_t format);
+PIXMAN_EXP pixman_bool_t pixman_format_supported_destination (pixman_format_code_t format);
+PIXMAN_EXP pixman_bool_t pixman_format_supported_source (pixman_format_code_t format);
/* Constructors */
-pixman_image_t *pixman_image_create_solid_fill (pixman_color_t *color);
-pixman_image_t *pixman_image_create_linear_gradient (pixman_point_fixed_t *p1,
+PIXMAN_EXP pixman_image_t *pixman_image_create_solid_fill (pixman_color_t *color);
+PIXMAN_EXP pixman_image_t *pixman_image_create_linear_gradient (pixman_point_fixed_t *p1,
pixman_point_fixed_t *p2,
const pixman_gradient_stop_t *stops,
int n_stops);
-pixman_image_t *pixman_image_create_radial_gradient (pixman_point_fixed_t *inner,
+PIXMAN_EXP pixman_image_t *pixman_image_create_radial_gradient (pixman_point_fixed_t *inner,
pixman_point_fixed_t *outer,
pixman_fixed_t inner_radius,
pixman_fixed_t outer_radius,
const pixman_gradient_stop_t *stops,
int n_stops);
-pixman_image_t *pixman_image_create_conical_gradient (pixman_point_fixed_t *center,
+PIXMAN_EXP pixman_image_t *pixman_image_create_conical_gradient (pixman_point_fixed_t *center,
pixman_fixed_t angle,
const pixman_gradient_stop_t *stops,
int n_stops);
-pixman_image_t *pixman_image_create_bits (pixman_format_code_t format,
+PIXMAN_EXP pixman_image_t *pixman_image_create_bits (pixman_format_code_t format,
int width,
int height,
uint32_t *bits,
int rowstride_bytes);
/* Destructor */
-pixman_image_t *pixman_image_ref (pixman_image_t *image);
-pixman_bool_t pixman_image_unref (pixman_image_t *image);
+PIXMAN_EXP pixman_image_t *pixman_image_ref (pixman_image_t *image);
+PIXMAN_EXP pixman_bool_t pixman_image_unref (pixman_image_t *image);
-void pixman_image_set_destroy_function (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_destroy_function (pixman_image_t *image,
pixman_image_destroy_func_t function,
void *data);
-void * pixman_image_get_destroy_data (pixman_image_t *image);
+PIXMAN_EXP void * pixman_image_get_destroy_data (pixman_image_t *image);
/* Set properties */
-pixman_bool_t pixman_image_set_clip_region (pixman_image_t *image,
+PIXMAN_EXP pixman_bool_t pixman_image_set_clip_region (pixman_image_t *image,
pixman_region16_t *region);
-pixman_bool_t pixman_image_set_clip_region32 (pixman_image_t *image,
+PIXMAN_EXP pixman_bool_t pixman_image_set_clip_region32 (pixman_image_t *image,
pixman_region32_t *region);
-void pixman_image_set_has_client_clip (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_has_client_clip (pixman_image_t *image,
pixman_bool_t clien_clip);
-pixman_bool_t pixman_image_set_transform (pixman_image_t *image,
+PIXMAN_EXP pixman_bool_t pixman_image_set_transform (pixman_image_t *image,
const pixman_transform_t *transform);
-void pixman_image_set_repeat (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_repeat (pixman_image_t *image,
pixman_repeat_t repeat);
-pixman_bool_t pixman_image_set_filter (pixman_image_t *image,
+PIXMAN_EXP pixman_bool_t pixman_image_set_filter (pixman_image_t *image,
pixman_filter_t filter,
const pixman_fixed_t *filter_params,
int n_filter_params);
-void pixman_image_set_source_clipping (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_source_clipping (pixman_image_t *image,
pixman_bool_t source_clipping);
-void pixman_image_set_alpha_map (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_alpha_map (pixman_image_t *image,
pixman_image_t *alpha_map,
int16_t x,
int16_t y);
-void pixman_image_set_component_alpha (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_component_alpha (pixman_image_t *image,
pixman_bool_t component_alpha);
-pixman_bool_t pixman_image_get_component_alpha (pixman_image_t *image);
-void pixman_image_set_accessors (pixman_image_t *image,
+PIXMAN_EXP pixman_bool_t pixman_image_get_component_alpha (pixman_image_t *image);
+PIXMAN_EXP void pixman_image_set_accessors (pixman_image_t *image,
pixman_read_memory_func_t read_func,
pixman_write_memory_func_t write_func);
-void pixman_image_set_indexed (pixman_image_t *image,
+PIXMAN_EXP void pixman_image_set_indexed (pixman_image_t *image,
const pixman_indexed_t *indexed);
-uint32_t *pixman_image_get_data (pixman_image_t *image);
-int pixman_image_get_width (pixman_image_t *image);
-int pixman_image_get_height (pixman_image_t *image);
-int pixman_image_get_stride (pixman_image_t *image); /* in bytes */
-int pixman_image_get_depth (pixman_image_t *image);
-pixman_format_code_t pixman_image_get_format (pixman_image_t *image);
-pixman_bool_t pixman_image_fill_rectangles (pixman_op_t op,
+PIXMAN_EXP uint32_t *pixman_image_get_data (pixman_image_t *image);
+PIXMAN_EXP int pixman_image_get_width (pixman_image_t *image);
+PIXMAN_EXP int pixman_image_get_height (pixman_image_t *image);
+PIXMAN_EXP int pixman_image_get_stride (pixman_image_t *image); /* in bytes */
+PIXMAN_EXP int pixman_image_get_depth (pixman_image_t *image);
+PIXMAN_EXP pixman_format_code_t pixman_image_get_format (pixman_image_t *image);
+PIXMAN_EXP pixman_bool_t pixman_image_fill_rectangles (pixman_op_t op,
pixman_image_t *image,
pixman_color_t *color,
int n_rects,
const pixman_rectangle16_t *rects);
-pixman_bool_t pixman_image_fill_boxes (pixman_op_t op,
+PIXMAN_EXP pixman_bool_t pixman_image_fill_boxes (pixman_op_t op,
pixman_image_t *dest,
pixman_color_t *color,
int n_boxes,
const pixman_box32_t *boxes);
/* Composite */
-pixman_bool_t pixman_compute_composite_region (pixman_region16_t *region,
+PIXMAN_EXP pixman_bool_t pixman_compute_composite_region (pixman_region16_t *region,
pixman_image_t *src_image,
pixman_image_t *mask_image,
pixman_image_t *dest_image,
@@ -822,7 +830,7 @@
int16_t dest_y,
uint16_t width,
uint16_t height);
-void pixman_image_composite (pixman_op_t op,
+PIXMAN_EXP void pixman_image_composite (pixman_op_t op,
pixman_image_t *src,
pixman_image_t *mask,
pixman_image_t *dest,
@@ -834,7 +842,7 @@
int16_t dest_y,
uint16_t width,
uint16_t height);
-void pixman_image_composite32 (pixman_op_t op,
+PIXMAN_EXP void pixman_image_composite32 (pixman_op_t op,
pixman_image_t *src,
pixman_image_t *mask,
pixman_image_t *dest,
@@ -865,7 +873,7 @@
* Since 0.21.2, pixman doesn't do these workarounds anymore, so now this
* function is a no-op.
*/
-void pixman_disable_out_of_bounds_workaround (void);
+PIXMAN_EXP void pixman_disable_out_of_bounds_workaround (void);
/*
* Trapezoids
@@ -923,45 +931,45 @@
pixman_span_fix_t top, bot;
};
-pixman_fixed_t pixman_sample_ceil_y (pixman_fixed_t y,
+PIXMAN_EXP pixman_fixed_t pixman_sample_ceil_y (pixman_fixed_t y,
int bpp);
-pixman_fixed_t pixman_sample_floor_y (pixman_fixed_t y,
+PIXMAN_EXP pixman_fixed_t pixman_sample_floor_y (pixman_fixed_t y,
int bpp);
-void pixman_edge_step (pixman_edge_t *e,
+PIXMAN_EXP void pixman_edge_step (pixman_edge_t *e,
int n);
-void pixman_edge_init (pixman_edge_t *e,
+PIXMAN_EXP void pixman_edge_init (pixman_edge_t *e,
int bpp,
pixman_fixed_t y_start,
pixman_fixed_t x_top,
pixman_fixed_t y_top,
pixman_fixed_t x_bot,
pixman_fixed_t y_bot);
-void pixman_line_fixed_edge_init (pixman_edge_t *e,
+PIXMAN_EXP void pixman_line_fixed_edge_init (pixman_edge_t *e,
int bpp,
pixman_fixed_t y,
const pixman_line_fixed_t *line,
int x_off,
int y_off);
-void pixman_rasterize_edges (pixman_image_t *image,
+PIXMAN_EXP void pixman_rasterize_edges (pixman_image_t *image,
pixman_edge_t *l,
pixman_edge_t *r,
pixman_fixed_t t,
pixman_fixed_t b);
-void pixman_add_traps (pixman_image_t *image,
+PIXMAN_EXP void pixman_add_traps (pixman_image_t *image,
int16_t x_off,
int16_t y_off,
int ntrap,
pixman_trap_t *traps);
-void pixman_add_trapezoids (pixman_image_t *image,
+PIXMAN_EXP void pixman_add_trapezoids (pixman_image_t *image,
int16_t x_off,
int y_off,
int ntraps,
const pixman_trapezoid_t *traps);
-void pixman_rasterize_trapezoid (pixman_image_t *image,
+PIXMAN_EXP void pixman_rasterize_trapezoid (pixman_image_t *image,
const pixman_trapezoid_t *trap,
int x_off,
int y_off);
-void pixman_composite_trapezoids (pixman_op_t op,
+PIXMAN_EXP void pixman_composite_trapezoids (pixman_op_t op,
pixman_image_t * src,
pixman_image_t * dst,
pixman_format_code_t mask_format,
@@ -971,7 +979,7 @@
int y_dst,
int n_traps,
const pixman_trapezoid_t * traps);
-void pixman_composite_triangles (pixman_op_t op,
+PIXMAN_EXP void pixman_composite_triangles (pixman_op_t op,
pixman_image_t * src,
pixman_image_t * dst,
pixman_format_code_t mask_format,
@@ -981,7 +989,7 @@
int y_dst,
int n_tris,
const pixman_triangle_t * tris);
-void pixman_add_triangles (pixman_image_t *image,
+PIXMAN_EXP void pixman_add_triangles (pixman_image_t *image,
int32_t x_off,
int32_t y_off,
int n_tris,

View File

@ -0,0 +1,21 @@
:: run this from a command prompt
@echo off
SET PACKAGE_NAME=pixman-0.26.2
set PIXMAN_SRC=%cd%
set PIXMAN_DEST=%cd%-rel
echo.Press return when ready to install!
pause
copy COPYING %PIXMAN_DEST%\LICENSE.PIXMAN
cd %PIXMAN_DEST%
set PATH=%PATH%;%ProgramFiles%\7-zip
del ..\%PACKAGE_NAME%-x64.7z
7z a ..\%PACKAGE_NAME%-x64.7z *
cd %PIXMAN_SRC%
rmdir /q /s %PIXMAN_DEST%
echo.Finished!
pause

View File

@ -0,0 +1,21 @@
:: run this from a command prompt
@echo off
SET PACKAGE_NAME=pixman-0.26.2
set PIXMAN_SRC=%cd%
set PIXMAN_DEST=%cd%-rel
echo.Press return when ready to install!
pause
copy COPYING %PIXMAN_DEST%\LICENSE.PIXMAN
cd %PIXMAN_DEST%
set PATH=%PATH%;%ProgramFiles%\7-zip
del ..\%PACKAGE_NAME%-x86.7z
7z a ..\%PACKAGE_NAME%-x86.7z *
cd %PIXMAN_SRC%
rmdir /q /s %PIXMAN_DEST%
echo.Finished!
pause