initial checkin for visualstudio build support

git-svn-id: http://skia.googlecode.com/svn/trunk@460 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@android.com 2009-12-16 17:25:43 +00:00
parent 200645d50e
commit 63debae4c1
23 changed files with 811 additions and 10 deletions

View File

@ -0,0 +1,13 @@
#ifndef sk_stdint_DEFINED
#define sk_stdint_DEFINED
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif

View File

@ -47,6 +47,11 @@
#endif
#endif
#ifdef SK_BUILD_FOR_WIN32
#define SK_RESTRICT
#include "sk_stdint.h"
#endif
//////////////////////////////////////////////////////////////////////
#if !defined(SK_RESTRICT)

View File

@ -292,8 +292,8 @@ void SkRGB16_Opaque_Blitter::blitH(int x, int y, int width) SK_RESTRICT {
}
// return 1 or 0 from a bool
static int Bool2Int(bool value) {
return !!value;
static inline int Bool2Int(int value) {
return !!value;
}
void SkRGB16_Opaque_Blitter::blitAntiH(int x, int y,

View File

@ -287,7 +287,7 @@ int SkQuadraticEdge::updateQuadratic()
fQy = newy;
fQDx = dx;
fQDy = dy;
fCurveCount = SkToS16(count);
fCurveCount = SkToS8(count);
return success;
}
@ -465,7 +465,7 @@ int SkCubicEdge::updateCubic()
fCx = newx;
fCy = newy;
fCurveCount = SkToS16(count);
fCurveCount = SkToS8(count);
return success;
}

View File

@ -147,11 +147,6 @@ int32_t SkFloatBits_toIntCeil(int32_t packed) {
#ifdef SK_CAN_USE_FLOAT
float SkFloatBits_intToFloatNative(int x);
float SkFloatBits_intToFloatNative(int x) {
return x;
}
float SkIntToFloatCast(int32_t value) {
if (0 == value) {
return 0;

View File

@ -64,7 +64,7 @@ private:
// returns true if we should proceed
void init(SkPath* path) {
fPath = path;
fDirty = path->fBoundsIsDirty;
fDirty = SkToBool(path->fBoundsIsDirty);
fEmpty = path->isEmpty();
// Cannot use fRect for our bounds unless we know it is sorted
fRect.sort();

62
vs/SampleApp/ReadMe.txt Normal file
View File

@ -0,0 +1,62 @@
========================================================================
WIN32 APPLICATION : SampleApp Project Overview
========================================================================
AppWizard has created this SampleApp application for you.
This file contains a summary of what you will find in each of the files that
make up your SampleApp application.
SampleApp.vcxproj
This is the main project file for VC++ projects generated using an Application Wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
Application Wizard.
SampleApp.vcxproj.filters
This is the filters file for VC++ projects generated using an Application Wizard.
It contains information about the association between the files in your project
and the filters. This association is used in the IDE to show grouping of files with
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
"Source Files" filter).
SampleApp.cpp
This is the main application source file.
/////////////////////////////////////////////////////////////////////////////
AppWizard has created the following resources:
SampleApp.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
SampleApp.ico
This is an icon file, which is used as the application's icon (32x32).
This icon is included by the main resource file SampleApp.rc.
small.ico
This is an icon file, which contains a smaller version (16x16)
of the application's icon. This icon is included by the main resource
file SampleApp.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named SampleApp.pch and a precompiled types file named StdAfx.obj.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////

31
vs/SampleApp/Resource.h Normal file
View File

@ -0,0 +1,31 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by SampleApp.rc
//
#define IDS_APP_TITLE 103
#define IDR_MAINFRAME 128
#define IDD_SAMPLEAPP_DIALOG 102
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_SAMPLEAPP 107
#define IDI_SMALL 108
#define IDC_SAMPLEAPP 109
#define IDC_MYICON 2
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 130
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 110
#endif
#endif

196
vs/SampleApp/SampleApp.cpp Normal file
View File

@ -0,0 +1,196 @@
// SampleApp.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "SampleApp.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_SAMPLEAPP, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_SAMPLEAPP));
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return (int) msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage are only necessary if you want this code
// to be compatible with Win32 systems prior to the 'RegisterClassEx'
// function that was added to Windows 95. It is important to call this function
// so that the application will get 'well formed' small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SAMPLEAPP));
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = MAKEINTRESOURCE(IDC_SAMPLEAPP);
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
return RegisterClassEx(&wcex);
}
#include "SkOSWindow_Win.h"
static SkOSWindow* gSkWind;
//
// FUNCTION: InitInstance(HINSTANCE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
gSkWind = new SkOSWindow(hWnd);
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}
//
// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Message handler for about box.
INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
UNREFERENCED_PARAMETER(lParam);
switch (message)
{
case WM_INITDIALOG:
return (INT_PTR)TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
break;
}
return (INT_PTR)FALSE;
}

3
vs/SampleApp/SampleApp.h Normal file
View File

@ -0,0 +1,3 @@
#pragma once
#include "resource.h"

BIN
vs/SampleApp/SampleApp.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

BIN
vs/SampleApp/SampleApp.rc Normal file

Binary file not shown.

View File

@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleApp", "SampleApp.vcxproj", "{062F0BDF-B242-4338-BE35-125FE0F7A091}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "core", "..\core\core.vcxproj", "{836B49AB-E26B-4ED9-8487-F2D297238FAF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{062F0BDF-B242-4338-BE35-125FE0F7A091}.Debug|Win32.ActiveCfg = Debug|Win32
{062F0BDF-B242-4338-BE35-125FE0F7A091}.Debug|Win32.Build.0 = Debug|Win32
{062F0BDF-B242-4338-BE35-125FE0F7A091}.Release|Win32.ActiveCfg = Release|Win32
{062F0BDF-B242-4338-BE35-125FE0F7A091}.Release|Win32.Build.0 = Release|Win32
{836B49AB-E26B-4ED9-8487-F2D297238FAF}.Debug|Win32.ActiveCfg = Debug|Win32
{836B49AB-E26B-4ED9-8487-F2D297238FAF}.Debug|Win32.Build.0 = Debug|Win32
{836B49AB-E26B-4ED9-8487-F2D297238FAF}.Release|Win32.ActiveCfg = Release|Win32
{836B49AB-E26B-4ED9-8487-F2D297238FAF}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
vs/SampleApp/SampleApp.suo Normal file

Binary file not shown.

View File

@ -0,0 +1,102 @@
<?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="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{062F0BDF-B242-4338-BE35-125FE0F7A091}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>SampleApp</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</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')" Label="LocalAppDataPlatform" />
</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')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<MinimalRebuild>true</MinimalRebuild>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>MaxSpeed</Optimization>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
<None Include="SampleApp.ico" />
<None Include="small.ico" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Resource.h" />
<ClInclude Include="SampleApp.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="SampleApp.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="SampleApp.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

BIN
vs/SampleApp/small.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

8
vs/SampleApp/stdafx.cpp Normal file
View File

@ -0,0 +1,8 @@
// stdafx.cpp : source file that includes just the standard includes
// SampleApp.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

21
vs/SampleApp/stdafx.h Normal file
View File

@ -0,0 +1,21 @@
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
// TODO: reference additional headers your program requires here

8
vs/SampleApp/targetver.h Normal file
View File

@ -0,0 +1,8 @@
#pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>

29
vs/core/ReadMe.txt Normal file
View File

@ -0,0 +1,29 @@
========================================================================
STATIC LIBRARY : core Project Overview
========================================================================
AppWizard has created this core library project for you.
No source files were created as part of your project.
core.vcxproj
This is the main project file for VC++ projects generated using an Application Wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
Application Wizard.
core.vcxproj.filters
This is the filters file for VC++ projects generated using an Application Wizard.
It contains information about the association between the files in your project
and the filters. This association is used in the IDE to show grouping of files with
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
"Source Files" filter).
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////

302
vs/core/core.vcxproj Normal file
View File

@ -0,0 +1,302 @@
<?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="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{836B49AB-E26B-4ED9-8487-F2D297238FAF}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>core</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</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')" Label="LocalAppDataPlatform" />
</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')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<MinimalRebuild>true</MinimalRebuild>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include\core ; ..\..\include\config</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>MaxSpeed</Optimization>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include\core ..\..\include\config</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\core\Sk64.cpp" />
<ClCompile Include="..\..\src\core\SkAlphaRuns.cpp" />
<ClCompile Include="..\..\src\core\SkBitmap.cpp" />
<ClCompile Include="..\..\src\core\SkBitmapProcShader.cpp" />
<ClCompile Include="..\..\src\core\SkBitmapProcState.cpp" />
<ClCompile Include="..\..\src\core\SkBitmapProcState_matrixProcs.cpp" />
<ClCompile Include="..\..\src\core\SkBitmapSampler.cpp" />
<ClCompile Include="..\..\src\core\SkBitmap_scroll.cpp" />
<ClCompile Include="..\..\src\core\SkBlitRow_D16.cpp" />
<ClCompile Include="..\..\src\core\SkBlitRow_D32.cpp" />
<ClCompile Include="..\..\src\core\SkBlitRow_D4444.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_4444.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_A1.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_A8.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_ARGB32.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_ARGB32_Subpixel.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_RGB16.cpp" />
<ClCompile Include="..\..\src\core\SkBlitter_Sprite.cpp" />
<ClCompile Include="..\..\src\core\SkBuffer.cpp" />
<ClCompile Include="..\..\src\core\SkCanvas.cpp" />
<ClCompile Include="..\..\src\core\SkChunkAlloc.cpp" />
<ClCompile Include="..\..\src\core\SkColor.cpp" />
<ClCompile Include="..\..\src\core\SkColorFilter.cpp" />
<ClCompile Include="..\..\src\core\SkColorTable.cpp" />
<ClCompile Include="..\..\src\core\SkComposeShader.cpp" />
<ClCompile Include="..\..\src\core\SkConcaveToTriangles.cpp" />
<ClCompile Include="..\..\src\core\SkCordic.cpp" />
<ClCompile Include="..\..\src\core\SkCubicClipper.cpp" />
<ClCompile Include="..\..\src\core\SkDebug.cpp" />
<ClCompile Include="..\..\src\core\SkDeque.cpp" />
<ClCompile Include="..\..\src\core\SkDevice.cpp" />
<ClCompile Include="..\..\src\core\SkDither.cpp" />
<ClCompile Include="..\..\src\core\SkDraw.cpp" />
<ClCompile Include="..\..\src\core\SkEdge.cpp" />
<ClCompile Include="..\..\src\core\SkEdgeBuilder.cpp" />
<ClCompile Include="..\..\src\core\SkEdgeClipper.cpp" />
<ClCompile Include="..\..\src\core\SkFilterProc.cpp" />
<ClCompile Include="..\..\src\core\SkFlattenable.cpp" />
<ClCompile Include="..\..\src\core\SkFloat.cpp" />
<ClCompile Include="..\..\src\core\SkFloatBits.cpp" />
<ClCompile Include="..\..\src\core\SkFontHost.cpp" />
<ClCompile Include="..\..\src\core\SkGeometry.cpp" />
<ClCompile Include="..\..\src\core\SkGlobals.cpp" />
<ClCompile Include="..\..\src\core\SkGlyphCache.cpp" />
<ClCompile Include="..\..\src\core\SkGraphics.cpp" />
<ClCompile Include="..\..\src\core\SkLineClipper.cpp" />
<ClCompile Include="..\..\src\core\SkMask.cpp" />
<ClCompile Include="..\..\src\core\SkMaskFilter.cpp" />
<ClCompile Include="..\..\src\core\SkMath.cpp" />
<ClCompile Include="..\..\src\core\SkMatrix.cpp" />
<ClCompile Include="..\..\src\core\SkMemory_stdlib.cpp" />
<ClCompile Include="..\..\src\core\SkPackBits.cpp" />
<ClCompile Include="..\..\src\core\SkPaint.cpp" />
<ClCompile Include="..\..\src\core\SkPath.cpp" />
<ClCompile Include="..\..\src\core\SkPathEffect.cpp" />
<ClCompile Include="..\..\src\core\SkPathHeap.cpp" />
<ClCompile Include="..\..\src\core\SkPathMeasure.cpp" />
<ClCompile Include="..\..\src\core\SkPicture.cpp" />
<ClCompile Include="..\..\src\core\SkPictureFlat.cpp" />
<ClCompile Include="..\..\src\core\SkPicturePlayback.cpp" />
<ClCompile Include="..\..\src\core\SkPictureRecord.cpp" />
<ClCompile Include="..\..\src\core\SkPixelRef.cpp" />
<ClCompile Include="..\..\src\core\SkPoint.cpp" />
<ClCompile Include="..\..\src\core\SkProcSpriteBlitter.cpp" />
<ClCompile Include="..\..\src\core\SkPtrRecorder.cpp" />
<ClCompile Include="..\..\src\core\SkQuadClipper.cpp" />
<ClCompile Include="..\..\src\core\SkRasterizer.cpp" />
<ClCompile Include="..\..\src\core\SkRect.cpp" />
<ClCompile Include="..\..\src\core\SkRefCnt.cpp" />
<ClCompile Include="..\..\src\core\SkRegion.cpp" />
<ClCompile Include="..\..\src\core\SkRegion_path.cpp" />
<ClCompile Include="..\..\src\core\SkScalerContext.cpp" />
<ClCompile Include="..\..\src\core\SkScan.cpp" />
<ClCompile Include="..\..\src\core\SkScan_Antihair.cpp" />
<ClCompile Include="..\..\src\core\SkScan_AntiPath.cpp" />
<ClCompile Include="..\..\src\core\SkScan_Hairline.cpp" />
<ClCompile Include="..\..\src\core\SkScan_Path.cpp" />
<ClCompile Include="..\..\src\core\SkShader.cpp" />
<ClCompile Include="..\..\src\core\SkShape.cpp" />
<ClCompile Include="..\..\src\core\SkSpriteBlitter_ARGB32.cpp" />
<ClCompile Include="..\..\src\core\SkSpriteBlitter_RGB16.cpp" />
<ClCompile Include="..\..\src\core\SkStream.cpp" />
<ClCompile Include="..\..\src\core\SkString.cpp" />
<ClCompile Include="..\..\src\core\SkStroke.cpp" />
<ClCompile Include="..\..\src\core\SkStrokerPriv.cpp" />
<ClCompile Include="..\..\src\core\SkTSearch.cpp" />
<ClCompile Include="..\..\src\core\SkTypeface.cpp" />
<ClCompile Include="..\..\src\core\SkUnPreMultiply.cpp" />
<ClCompile Include="..\..\src\core\SkUtils.cpp" />
<ClCompile Include="..\..\src\core\SkWriter32.cpp" />
<ClCompile Include="..\..\src\core\SkXfermode.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\include\core\Sk64.h" />
<ClInclude Include="..\..\include\core\SkAutoKern.h" />
<ClInclude Include="..\..\include\core\SkBitmap.h" />
<ClInclude Include="..\..\include\core\SkBlitRow.h" />
<ClInclude Include="..\..\include\core\SkBlitter.h" />
<ClInclude Include="..\..\include\core\SkBounder.h" />
<ClInclude Include="..\..\include\core\SkBuffer.h" />
<ClInclude Include="..\..\include\core\SkCanvas.h" />
<ClInclude Include="..\..\include\core\SkChunkAlloc.h" />
<ClInclude Include="..\..\include\core\SkColor.h" />
<ClInclude Include="..\..\include\core\SkColorFilter.h" />
<ClInclude Include="..\..\include\core\SkColorPriv.h" />
<ClInclude Include="..\..\include\core\SkColorShader.h" />
<ClInclude Include="..\..\include\core\SkComposeShader.h" />
<ClInclude Include="..\..\include\core\SkDeque.h" />
<ClInclude Include="..\..\include\core\SkDescriptor.h" />
<ClInclude Include="..\..\include\core\SkDevice.h" />
<ClInclude Include="..\..\include\core\SkDither.h" />
<ClInclude Include="..\..\include\core\SkDraw.h" />
<ClInclude Include="..\..\include\core\SkDrawFilter.h" />
<ClInclude Include="..\..\include\core\SkDrawing.h" />
<ClInclude Include="..\..\include\core\SkDrawLooper.h" />
<ClInclude Include="..\..\include\core\SkEdgeClipper.h" />
<ClInclude Include="..\..\include\core\SkEndian.h" />
<ClInclude Include="..\..\include\core\SkFDot6.h" />
<ClInclude Include="..\..\include\core\SkFixed.h" />
<ClInclude Include="..\..\include\core\SkFlattenable.h" />
<ClInclude Include="..\..\include\core\SkFloatBits.h" />
<ClInclude Include="..\..\include\core\SkFloatingPoint.h" />
<ClInclude Include="..\..\include\core\SkFontHost.h" />
<ClInclude Include="..\..\include\core\SkGeometry.h" />
<ClInclude Include="..\..\include\core\SkGlobals.h" />
<ClInclude Include="..\..\include\core\SkGraphics.h" />
<ClInclude Include="..\..\include\core\SkLineClipper.h" />
<ClInclude Include="..\..\include\core\SkMallocPixelRef.h" />
<ClInclude Include="..\..\include\core\SkMask.h" />
<ClInclude Include="..\..\include\core\SkMaskFilter.h" />
<ClInclude Include="..\..\include\core\SkMath.h" />
<ClInclude Include="..\..\include\core\SkMatrix.h" />
<ClInclude Include="..\..\include\core\SkMMapStream.h" />
<ClInclude Include="..\..\include\core\SkOSFile.h" />
<ClInclude Include="..\..\include\core\SkPackBits.h" />
<ClInclude Include="..\..\include\core\SkPaint.h" />
<ClInclude Include="..\..\include\core\SkPath.h" />
<ClInclude Include="..\..\include\core\SkPathEffect.h" />
<ClInclude Include="..\..\include\core\SkPathMeasure.h" />
<ClInclude Include="..\..\include\core\SkPerspIter.h" />
<ClInclude Include="..\..\include\core\SkPicture.h" />
<ClInclude Include="..\..\include\core\SkPixelRef.h" />
<ClInclude Include="..\..\include\core\SkPoint.h" />
<ClInclude Include="..\..\include\core\SkPostConfig.h" />
<ClInclude Include="..\..\include\core\SkPreConfig.h" />
<ClInclude Include="..\..\include\core\SkPtrRecorder.h" />
<ClInclude Include="..\..\include\core\SkRandom.h" />
<ClInclude Include="..\..\include\core\SkRasterizer.h" />
<ClInclude Include="..\..\include\core\SkReader32.h" />
<ClInclude Include="..\..\include\core\SkRect.h" />
<ClInclude Include="..\..\include\core\SkRefCnt.h" />
<ClInclude Include="..\..\include\core\SkRegion.h" />
<ClInclude Include="..\..\include\core\SkScalar.h" />
<ClInclude Include="..\..\include\core\SkScalarCompare.h" />
<ClInclude Include="..\..\include\core\SkScalerContext.h" />
<ClInclude Include="..\..\include\core\SkScan.h" />
<ClInclude Include="..\..\include\core\SkShader.h" />
<ClInclude Include="..\..\include\core\SkShape.h" />
<ClInclude Include="..\..\include\core\SkSize.h" />
<ClInclude Include="..\..\include\core\SkStream.h" />
<ClInclude Include="..\..\include\core\SkString.h" />
<ClInclude Include="..\..\include\core\SkStroke.h" />
<ClInclude Include="..\..\include\core\SkTDArray.h" />
<ClInclude Include="..\..\include\core\SkTDict.h" />
<ClInclude Include="..\..\include\core\SkTDStack.h" />
<ClInclude Include="..\..\include\core\SkTemplates.h" />
<ClInclude Include="..\..\include\core\SkThread.h" />
<ClInclude Include="..\..\include\core\SkThread_platform.h" />
<ClInclude Include="..\..\include\core\SkTime.h" />
<ClInclude Include="..\..\include\core\SkTRegistry.h" />
<ClInclude Include="..\..\include\core\SkTSearch.h" />
<ClInclude Include="..\..\include\core\SkTypeface.h" />
<ClInclude Include="..\..\include\core\SkTypes.h" />
<ClInclude Include="..\..\include\core\SkUnitMapper.h" />
<ClInclude Include="..\..\include\core\SkUnPreMultiply.h" />
<ClInclude Include="..\..\include\core\SkUtils.h" />
<ClInclude Include="..\..\include\core\SkWriter32.h" />
<ClInclude Include="..\..\include\core\SkXfermode.h" />
<ClInclude Include="..\..\src\core\SkAntiRun.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcShader.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_filter.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_matrix.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_matrix_clamp.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_matrix_repeat.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_sample.h" />
<ClInclude Include="..\..\src\core\SkBitmapProcState_shaderproc.h" />
<ClInclude Include="..\..\src\core\SkBitmapSampler.h" />
<ClInclude Include="..\..\src\core\SkBitmapSamplerTemplate.h" />
<ClInclude Include="..\..\src\core\SkBitmapShader16BilerpTemplate.h" />
<ClInclude Include="..\..\src\core\SkBitmapShaderTemplate.h" />
<ClInclude Include="..\..\src\core\SkBlitBWMaskTemplate.h" />
<ClInclude Include="..\..\src\core\SkConcaveToTriangles.h" />
<ClInclude Include="..\..\src\core\SkCordic.h" />
<ClInclude Include="..\..\src\core\SkCoreBlitters.h" />
<ClInclude Include="..\..\src\core\SkCubicClipper.h" />
<ClInclude Include="..\..\src\core\SkDrawProcs.h" />
<ClInclude Include="..\..\src\core\SkEdge.h" />
<ClInclude Include="..\..\src\core\SkEdgeBuilder.h" />
<ClInclude Include="..\..\src\core\SkFilterProc.h" />
<ClInclude Include="..\..\src\core\SkFloat.h" />
<ClInclude Include="..\..\src\core\SkFP.h" />
<ClInclude Include="..\..\src\core\SkGlyphCache.h" />
<ClInclude Include="..\..\src\core\SkPathHeap.h" />
<ClInclude Include="..\..\src\core\SkPictureFlat.h" />
<ClInclude Include="..\..\src\core\SkPicturePlayback.h" />
<ClInclude Include="..\..\src\core\SkPictureRecord.h" />
<ClInclude Include="..\..\src\core\SkQuadClipper.h" />
<ClInclude Include="..\..\src\core\SkRegionPriv.h" />
<ClInclude Include="..\..\src\core\SkScanPriv.h" />
<ClInclude Include="..\..\src\core\SkSinTable.h" />
<ClInclude Include="..\..\src\core\SkSpriteBlitter.h" />
<ClInclude Include="..\..\src\core\SkSpriteBlitterTemplate.h" />
<ClInclude Include="..\..\src\core\SkStrokerPriv.h" />
<ClInclude Include="..\..\src\core\SkTemplatesPriv.h" />
<ClInclude Include="..\..\src\core\SkTSort.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

BIN
vs/skiasample.suo Normal file

Binary file not shown.