-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1059 from microsoft/revert-1058-user/zhuman/delet…
…e-pixlib Revert "Delete video/pixlib directory" and instead move it into an archive folder
- Loading branch information
Showing
8 changed files
with
1,286 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Archived video driver samples | ||
|
||
The samples in this folder are no longer maintained. They are archived here for reference purposes only. They are relevant for deprecated video driver technologies present in past versions of Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.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="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Debug|x64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{59DE6E25-B0B8-49FF-A952-5D1412A6973B}</ProjectGuid> | ||
<RootNamespace>$(MSBuildProjectName)</RootNamespace> | ||
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> | ||
<Platform Condition="'$(Platform)' == ''">Win32</Platform> | ||
<SampleGuid>{B45DFF92-A6EB-4AE8-B0F9-EDD46DE5D995}</SampleGuid> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<TargetVersion>Windows10</TargetVersion> | ||
<UseDebugLibraries>False</UseDebugLibraries> | ||
<DriverTargetPlatform>Windows Driver</DriverTargetPlatform> | ||
<DriverType /> | ||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<TargetVersion>Windows10</TargetVersion> | ||
<UseDebugLibraries>True</UseDebugLibraries> | ||
<DriverTargetPlatform>Windows Driver</DriverTargetPlatform> | ||
<DriverType /> | ||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<TargetVersion>Windows10</TargetVersion> | ||
<UseDebugLibraries>False</UseDebugLibraries> | ||
<DriverTargetPlatform>Windows Driver</DriverTargetPlatform> | ||
<DriverType /> | ||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<TargetVersion>Windows10</TargetVersion> | ||
<UseDebugLibraries>True</UseDebugLibraries> | ||
<DriverTargetPlatform>Windows Driver</DriverTargetPlatform> | ||
<DriverType /> | ||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<PropertyGroup> | ||
<OutDir>$(IntDir)</OutDir> | ||
</PropertyGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> | ||
</ImportGroup> | ||
<ItemGroup Label="WrappedTaskItems" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<TargetName>PixLib</TargetName> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<TargetName>PixLib</TargetName> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<TargetName>PixLib</TargetName> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<TargetName>PixLib</TargetName> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<ResourceCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Midl> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</Midl> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<ResourceCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Midl> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</Midl> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ResourceCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Midl> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</Midl> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ResourceCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Midl> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH)</AdditionalIncludeDirectories> | ||
</Midl> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="pixlib.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Inf Exclude="@(Inf)" Include="*.inf" /> | ||
<FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Exclude="@(None)" Include="*.txt;*.htm;*.html" /> | ||
<None Exclude="@(None)" Include="*.ico;*.cur;*.bmp;*.dlg;*.rct;*.gif;*.jpg;*.jpeg;*.wav;*.jpe;*.tiff;*.tif;*.png;*.rc2" /> | ||
<None Exclude="@(None)" Include="*.def;*.bat;*.hpj;*.asmx" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Exclude="@(ClInclude)" Include="*.h;*.hpp;*.hxx;*.hm;*.inl;*.xsd" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Source Files"> | ||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;*</Extensions> | ||
<UniqueIdentifier>{ED57F998-4177-4E9E-8A3F-4802C10119CC}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
<UniqueIdentifier>{EB67660E-E975-41C4-866A-D1CF0DE2537F}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="Resource Files"> | ||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml</Extensions> | ||
<UniqueIdentifier>{2CA34D96-A53A-449C-9501-1D207F11F7E0}</UniqueIdentifier> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="pixlib.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
page_type: sample | ||
description: "Demonstrates how to implement the CPixel class for use by a display driver." | ||
languages: | ||
- cpp | ||
products: | ||
- windows | ||
- windows-wdk | ||
--- | ||
|
||
# PixLib sample | ||
|
||
The PixLib sample demonstrates how to implement the **CPixel** class for use by a display driver. | ||
|
||
For more information, see the WDK documentation topic, [CPixel Support Methods for Lightweight MIP Maps](https://docs.microsoft.com/windows-hardware/drivers/display/cpixel-support-methods-for-lightweight-mip-maps). |
Oops, something went wrong.