--- /dev/null
+#ifndef sk_stdint_DEFINED\r
+#define sk_stdint_DEFINED\r
+\r
+typedef signed char int8_t;\r
+typedef unsigned char uint8_t;\r
+typedef short int16_t;\r
+typedef unsigned short uint16_t;\r
+typedef int int32_t;\r
+typedef unsigned uint32_t;\r
+typedef long long int64_t;\r
+typedef unsigned long long uint64_t;\r
+\r
+#endif\r
#endif
#endif
+#ifdef SK_BUILD_FOR_WIN32
+ #define SK_RESTRICT
+ #include "sk_stdint.h"
+#endif
+
//////////////////////////////////////////////////////////////////////
#if !defined(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,
fQy = newy;
fQDx = dx;
fQDy = dy;
- fCurveCount = SkToS16(count);
+ fCurveCount = SkToS8(count);
return success;
}
fCx = newx;
fCy = newy;
- fCurveCount = SkToS16(count);
+ fCurveCount = SkToS8(count);
return success;
}
#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;
// 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();
--- /dev/null
+========================================================================\r
+ WIN32 APPLICATION : SampleApp Project Overview\r
+========================================================================\r
+\r
+AppWizard has created this SampleApp application for you.\r
+\r
+This file contains a summary of what you will find in each of the files that\r
+make up your SampleApp application.\r
+\r
+\r
+SampleApp.vcxproj\r
+ This is the main project file for VC++ projects generated using an Application Wizard.\r
+ It contains information about the version of Visual C++ that generated the file, and\r
+ information about the platforms, configurations, and project features selected with the\r
+ Application Wizard.\r
+\r
+SampleApp.vcxproj.filters\r
+ This is the filters file for VC++ projects generated using an Application Wizard. \r
+ It contains information about the association between the files in your project \r
+ and the filters. This association is used in the IDE to show grouping of files with\r
+ similar extensions under a specific node (for e.g. ".cpp" files are associated with the\r
+ "Source Files" filter).\r
+\r
+SampleApp.cpp\r
+ This is the main application source file.\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+AppWizard has created the following resources:\r
+\r
+SampleApp.rc\r
+ This is a listing of all of the Microsoft Windows resources that the\r
+ program uses. It includes the icons, bitmaps, and cursors that are stored\r
+ in the RES subdirectory. This file can be directly edited in Microsoft\r
+ Visual C++.\r
+\r
+Resource.h\r
+ This is the standard header file, which defines new resource IDs.\r
+ Microsoft Visual C++ reads and updates this file.\r
+\r
+SampleApp.ico\r
+ This is an icon file, which is used as the application's icon (32x32).\r
+ This icon is included by the main resource file SampleApp.rc.\r
+\r
+small.ico\r
+ This is an icon file, which contains a smaller version (16x16)\r
+ of the application's icon. This icon is included by the main resource\r
+ file SampleApp.rc.\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+Other standard files:\r
+\r
+StdAfx.h, StdAfx.cpp\r
+ These files are used to build a precompiled header (PCH) file\r
+ named SampleApp.pch and a precompiled types file named StdAfx.obj.\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+Other notes:\r
+\r
+AppWizard uses "TODO:" comments to indicate parts of the source code you\r
+should add to or customize.\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
--- /dev/null
+//{{NO_DEPENDENCIES}}\r
+// Microsoft Visual C++ generated include file.\r
+// Used by SampleApp.rc\r
+//\r
+\r
+#define IDS_APP_TITLE 103\r
+\r
+#define IDR_MAINFRAME 128\r
+#define IDD_SAMPLEAPP_DIALOG 102\r
+#define IDD_ABOUTBOX 103\r
+#define IDM_ABOUT 104\r
+#define IDM_EXIT 105\r
+#define IDI_SAMPLEAPP 107\r
+#define IDI_SMALL 108\r
+#define IDC_SAMPLEAPP 109\r
+#define IDC_MYICON 2\r
+#ifndef IDC_STATIC\r
+#define IDC_STATIC -1\r
+#endif\r
+// Next default values for new objects\r
+//\r
+#ifdef APSTUDIO_INVOKED\r
+#ifndef APSTUDIO_READONLY_SYMBOLS\r
+\r
+#define _APS_NO_MFC 130\r
+#define _APS_NEXT_RESOURCE_VALUE 129\r
+#define _APS_NEXT_COMMAND_VALUE 32771\r
+#define _APS_NEXT_CONTROL_VALUE 1000\r
+#define _APS_NEXT_SYMED_VALUE 110\r
+#endif\r
+#endif\r
--- /dev/null
+// SampleApp.cpp : Defines the entry point for the application.\r
+//\r
+\r
+#include "stdafx.h"\r
+#include "SampleApp.h"\r
+\r
+#define MAX_LOADSTRING 100\r
+\r
+// Global Variables:\r
+HINSTANCE hInst; // current instance\r
+TCHAR szTitle[MAX_LOADSTRING]; // The title bar text\r
+TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name\r
+\r
+// Forward declarations of functions included in this code module:\r
+ATOM MyRegisterClass(HINSTANCE hInstance);\r
+BOOL InitInstance(HINSTANCE, int);\r
+LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);\r
+INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);\r
+\r
+int APIENTRY _tWinMain(HINSTANCE hInstance,\r
+ HINSTANCE hPrevInstance,\r
+ LPTSTR lpCmdLine,\r
+ int nCmdShow)\r
+{\r
+ UNREFERENCED_PARAMETER(hPrevInstance);\r
+ UNREFERENCED_PARAMETER(lpCmdLine);\r
+\r
+ // TODO: Place code here.\r
+ MSG msg;\r
+ HACCEL hAccelTable;\r
+\r
+ // Initialize global strings\r
+ LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);\r
+ LoadString(hInstance, IDC_SAMPLEAPP, szWindowClass, MAX_LOADSTRING);\r
+ MyRegisterClass(hInstance);\r
+\r
+ // Perform application initialization:\r
+ if (!InitInstance (hInstance, nCmdShow))\r
+ {\r
+ return FALSE;\r
+ }\r
+\r
+ hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_SAMPLEAPP));\r
+\r
+ // Main message loop:\r
+ while (GetMessage(&msg, NULL, 0, 0))\r
+ {\r
+ if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))\r
+ {\r
+ TranslateMessage(&msg);\r
+ DispatchMessage(&msg);\r
+ }\r
+ }\r
+\r
+ return (int) msg.wParam;\r
+}\r
+\r
+\r
+\r
+//\r
+// FUNCTION: MyRegisterClass()\r
+//\r
+// PURPOSE: Registers the window class.\r
+//\r
+// COMMENTS:\r
+//\r
+// This function and its usage are only necessary if you want this code\r
+// to be compatible with Win32 systems prior to the 'RegisterClassEx'\r
+// function that was added to Windows 95. It is important to call this function\r
+// so that the application will get 'well formed' small icons associated\r
+// with it.\r
+//\r
+ATOM MyRegisterClass(HINSTANCE hInstance)\r
+{\r
+ WNDCLASSEX wcex;\r
+\r
+ wcex.cbSize = sizeof(WNDCLASSEX);\r
+\r
+ wcex.style = CS_HREDRAW | CS_VREDRAW;\r
+ wcex.lpfnWndProc = WndProc;\r
+ wcex.cbClsExtra = 0;\r
+ wcex.cbWndExtra = 0;\r
+ wcex.hInstance = hInstance;\r
+ wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SAMPLEAPP));\r
+ wcex.hCursor = LoadCursor(NULL, IDC_ARROW);\r
+ wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);\r
+ wcex.lpszMenuName = MAKEINTRESOURCE(IDC_SAMPLEAPP);\r
+ wcex.lpszClassName = szWindowClass;\r
+ wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));\r
+\r
+ return RegisterClassEx(&wcex);\r
+}\r
+\r
+#include "SkOSWindow_Win.h"\r
+\r
+static SkOSWindow* gSkWind;\r
+\r
+//\r
+// FUNCTION: InitInstance(HINSTANCE, int)\r
+//\r
+// PURPOSE: Saves instance handle and creates main window\r
+//\r
+// COMMENTS:\r
+//\r
+// In this function, we save the instance handle in a global variable and\r
+// create and display the main program window.\r
+//\r
+BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)\r
+{\r
+ HWND hWnd;\r
+\r
+ hInst = hInstance; // Store instance handle in our global variable\r
+\r
+ hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,\r
+ CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);\r
+\r
+ if (!hWnd)\r
+ {\r
+ return FALSE;\r
+ }\r
+\r
+ gSkWind = new SkOSWindow(hWnd);\r
+\r
+ ShowWindow(hWnd, nCmdShow);\r
+ UpdateWindow(hWnd);\r
+\r
+ return TRUE;\r
+}\r
+\r
+//\r
+// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)\r
+//\r
+// PURPOSE: Processes messages for the main window.\r
+//\r
+// WM_COMMAND - process the application menu\r
+// WM_PAINT - Paint the main window\r
+// WM_DESTROY - post a quit message and return\r
+//\r
+//\r
+LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)\r
+{\r
+ int wmId, wmEvent;\r
+ PAINTSTRUCT ps;\r
+ HDC hdc;\r
+\r
+ switch (message)\r
+ {\r
+ case WM_COMMAND:\r
+ wmId = LOWORD(wParam);\r
+ wmEvent = HIWORD(wParam);\r
+ // Parse the menu selections:\r
+ switch (wmId)\r
+ {\r
+ case IDM_ABOUT:\r
+ DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);\r
+ break;\r
+ case IDM_EXIT:\r
+ DestroyWindow(hWnd);\r
+ break;\r
+ default:\r
+ return DefWindowProc(hWnd, message, wParam, lParam);\r
+ }\r
+ break;\r
+ case WM_PAINT:\r
+ hdc = BeginPaint(hWnd, &ps);\r
+ // TODO: Add any drawing code here...\r
+ EndPaint(hWnd, &ps);\r
+ break;\r
+ case WM_DESTROY:\r
+ PostQuitMessage(0);\r
+ break;\r
+ default:\r
+ return DefWindowProc(hWnd, message, wParam, lParam);\r
+ }\r
+ return 0;\r
+}\r
+\r
+// Message handler for about box.\r
+INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)\r
+{\r
+ UNREFERENCED_PARAMETER(lParam);\r
+ switch (message)\r
+ {\r
+ case WM_INITDIALOG:\r
+ return (INT_PTR)TRUE;\r
+\r
+ case WM_COMMAND:\r
+ if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)\r
+ {\r
+ EndDialog(hDlg, LOWORD(wParam));\r
+ return (INT_PTR)TRUE;\r
+ }\r
+ break;\r
+ }\r
+ return (INT_PTR)FALSE;\r
+}\r
--- /dev/null
+#pragma once\r
+\r
+#include "resource.h"\r
--- /dev/null
+\r
+Microsoft Visual Studio Solution File, Format Version 11.00\r
+# Visual C++ Express 2010\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleApp", "SampleApp.vcxproj", "{062F0BDF-B242-4338-BE35-125FE0F7A091}"\r
+EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "core", "..\core\core.vcxproj", "{836B49AB-E26B-4ED9-8487-F2D297238FAF}"\r
+EndProject\r
+Global\r
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+ Debug|Win32 = Debug|Win32\r
+ Release|Win32 = Release|Win32\r
+ EndGlobalSection\r
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+ {062F0BDF-B242-4338-BE35-125FE0F7A091}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {062F0BDF-B242-4338-BE35-125FE0F7A091}.Debug|Win32.Build.0 = Debug|Win32\r
+ {062F0BDF-B242-4338-BE35-125FE0F7A091}.Release|Win32.ActiveCfg = Release|Win32\r
+ {062F0BDF-B242-4338-BE35-125FE0F7A091}.Release|Win32.Build.0 = Release|Win32\r
+ {836B49AB-E26B-4ED9-8487-F2D297238FAF}.Debug|Win32.ActiveCfg = Debug|Win32\r
+ {836B49AB-E26B-4ED9-8487-F2D297238FAF}.Debug|Win32.Build.0 = Debug|Win32\r
+ {836B49AB-E26B-4ED9-8487-F2D297238FAF}.Release|Win32.ActiveCfg = Release|Win32\r
+ {836B49AB-E26B-4ED9-8487-F2D297238FAF}.Release|Win32.Build.0 = Release|Win32\r
+ EndGlobalSection\r
+ GlobalSection(SolutionProperties) = preSolution\r
+ HideSolutionNode = FALSE\r
+ EndGlobalSection\r
+EndGlobal\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{062F0BDF-B242-4338-BE35-125FE0F7A091}</ProjectGuid>\r
+ <Keyword>Win32Proj</Keyword>\r
+ <RootNamespace>SampleApp</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <CharacterSet>Unicode</CharacterSet>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>Application</ConfigurationType>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>Unicode</CharacterSet>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <LinkIncremental>true</LinkIncremental>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <LinkIncremental>false</LinkIncremental>\r
+ </PropertyGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <ClCompile>\r
+ <PrecompiledHeader>Use</PrecompiledHeader>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <MinimalRebuild>true</MinimalRebuild>\r
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>\r
+ <Optimization>Disabled</Optimization>\r
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Windows</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <ClCompile>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <PrecompiledHeader>Use</PrecompiledHeader>\r
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
+ <Optimization>MaxSpeed</Optimization>\r
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
+ <FunctionLevelLinking>true</FunctionLevelLinking>\r
+ <IntrinsicFunctions>true</IntrinsicFunctions>\r
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Windows</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+ <OptimizeReferences>true</OptimizeReferences>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <None Include="ReadMe.txt" />\r
+ <None Include="SampleApp.ico" />\r
+ <None Include="small.ico" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClInclude Include="Resource.h" />\r
+ <ClInclude Include="SampleApp.h" />\r
+ <ClInclude Include="stdafx.h" />\r
+ <ClInclude Include="targetver.h" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="SampleApp.cpp" />\r
+ <ClCompile Include="stdafx.cpp">\r
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>\r
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>\r
+ </ClCompile>\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ResourceCompile Include="SampleApp.rc" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file
--- /dev/null
+// stdafx.cpp : source file that includes just the standard includes\r
+// SampleApp.pch will be the pre-compiled header\r
+// stdafx.obj will contain the pre-compiled type information\r
+\r
+#include "stdafx.h"\r
+\r
+// TODO: reference any additional headers you need in STDAFX.H\r
+// and not in this file\r
--- /dev/null
+// stdafx.h : include file for standard system include files,\r
+// or project specific include files that are used frequently, but\r
+// are changed infrequently\r
+//\r
+\r
+#pragma once\r
+\r
+#include "targetver.h"\r
+\r
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers\r
+// Windows Header Files:\r
+#include <windows.h>\r
+\r
+// C RunTime Header Files\r
+#include <stdlib.h>\r
+#include <malloc.h>\r
+#include <memory.h>\r
+#include <tchar.h>\r
+\r
+\r
+// TODO: reference additional headers your program requires here\r
--- /dev/null
+#pragma once\r
+\r
+// Including SDKDDKVer.h defines the highest available Windows platform.\r
+\r
+// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and\r
+// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.\r
+\r
+#include <SDKDDKVer.h>\r
--- /dev/null
+========================================================================\r
+ STATIC LIBRARY : core Project Overview\r
+========================================================================\r
+\r
+AppWizard has created this core library project for you.\r
+\r
+No source files were created as part of your project.\r
+\r
+\r
+core.vcxproj\r
+ This is the main project file for VC++ projects generated using an Application Wizard.\r
+ It contains information about the version of Visual C++ that generated the file, and\r
+ information about the platforms, configurations, and project features selected with the\r
+ Application Wizard.\r
+\r
+core.vcxproj.filters\r
+ This is the filters file for VC++ projects generated using an Application Wizard. \r
+ It contains information about the association between the files in your project \r
+ and the filters. This association is used in the IDE to show grouping of files with\r
+ similar extensions under a specific node (for e.g. ".cpp" files are associated with the\r
+ "Source Files" filter).\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+Other notes:\r
+\r
+AppWizard uses "TODO:" comments to indicate parts of the source code you\r
+should add to or customize.\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+ <ItemGroup Label="ProjectConfigurations">\r
+ <ProjectConfiguration Include="Debug|Win32">\r
+ <Configuration>Debug</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ <ProjectConfiguration Include="Release|Win32">\r
+ <Configuration>Release</Configuration>\r
+ <Platform>Win32</Platform>\r
+ </ProjectConfiguration>\r
+ </ItemGroup>\r
+ <PropertyGroup Label="Globals">\r
+ <ProjectGuid>{836B49AB-E26B-4ED9-8487-F2D297238FAF}</ProjectGuid>\r
+ <Keyword>Win32Proj</Keyword>\r
+ <RootNamespace>core</RootNamespace>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
+ <ConfigurationType>StaticLibrary</ConfigurationType>\r
+ <CharacterSet>Unicode</CharacterSet>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
+ <ConfigurationType>StaticLibrary</ConfigurationType>\r
+ <WholeProgramOptimization>true</WholeProgramOptimization>\r
+ <CharacterSet>Unicode</CharacterSet>\r
+ </PropertyGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
+ <ImportGroup Label="ExtensionSettings">\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
+ </ImportGroup>\r
+ <PropertyGroup Label="UserMacros" />\r
+ <PropertyGroup />\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+ <ClCompile>\r
+ <PrecompiledHeader>\r
+ </PrecompiledHeader>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <MinimalRebuild>true</MinimalRebuild>\r
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>\r
+ <Optimization>Disabled</Optimization>\r
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <AdditionalIncludeDirectories>..\..\include\core ; ..\..\include\config</AdditionalIncludeDirectories>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Windows</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+ <ClCompile>\r
+ <WarningLevel>Level3</WarningLevel>\r
+ <PrecompiledHeader>\r
+ </PrecompiledHeader>\r
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
+ <Optimization>MaxSpeed</Optimization>\r
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
+ <FunctionLevelLinking>true</FunctionLevelLinking>\r
+ <IntrinsicFunctions>true</IntrinsicFunctions>\r
+ <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+ <AdditionalIncludeDirectories>..\..\include\core ..\..\include\config</AdditionalIncludeDirectories>\r
+ </ClCompile>\r
+ <Link>\r
+ <SubSystem>Windows</SubSystem>\r
+ <GenerateDebugInformation>true</GenerateDebugInformation>\r
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
+ <OptimizeReferences>true</OptimizeReferences>\r
+ </Link>\r
+ </ItemDefinitionGroup>\r
+ <ItemGroup>\r
+ <None Include="ReadMe.txt" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClCompile Include="..\..\src\core\Sk64.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkAlphaRuns.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmap.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmapProcShader.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmapProcState.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmapProcState_matrixProcs.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmapSampler.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBitmap_scroll.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitRow_D16.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitRow_D32.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitRow_D4444.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_4444.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_A1.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_A8.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_ARGB32.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_ARGB32_Subpixel.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_RGB16.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBlitter_Sprite.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkBuffer.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkCanvas.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkChunkAlloc.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkColor.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkColorFilter.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkColorTable.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkComposeShader.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkConcaveToTriangles.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkCordic.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkCubicClipper.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkDebug.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkDeque.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkDevice.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkDither.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkDraw.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkEdge.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkEdgeBuilder.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkEdgeClipper.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkFilterProc.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkFlattenable.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkFloat.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkFloatBits.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkFontHost.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkGeometry.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkGlobals.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkGlyphCache.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkGraphics.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkLineClipper.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkMask.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkMaskFilter.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkMath.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkMatrix.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkMemory_stdlib.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPackBits.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPaint.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPath.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPathEffect.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPathHeap.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPathMeasure.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPicture.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPictureFlat.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPicturePlayback.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPictureRecord.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPixelRef.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPoint.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkProcSpriteBlitter.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkPtrRecorder.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkQuadClipper.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkRasterizer.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkRect.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkRefCnt.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkRegion.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkRegion_path.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScalerContext.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScan.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScan_Antihair.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScan_AntiPath.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScan_Hairline.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkScan_Path.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkShader.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkShape.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkSpriteBlitter_ARGB32.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkSpriteBlitter_RGB16.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkStream.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkString.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkStroke.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkStrokerPriv.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkTSearch.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkTypeface.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkUnPreMultiply.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkUtils.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkWriter32.cpp" />\r
+ <ClCompile Include="..\..\src\core\SkXfermode.cpp" />\r
+ </ItemGroup>\r
+ <ItemGroup>\r
+ <ClInclude Include="..\..\include\core\Sk64.h" />\r
+ <ClInclude Include="..\..\include\core\SkAutoKern.h" />\r
+ <ClInclude Include="..\..\include\core\SkBitmap.h" />\r
+ <ClInclude Include="..\..\include\core\SkBlitRow.h" />\r
+ <ClInclude Include="..\..\include\core\SkBlitter.h" />\r
+ <ClInclude Include="..\..\include\core\SkBounder.h" />\r
+ <ClInclude Include="..\..\include\core\SkBuffer.h" />\r
+ <ClInclude Include="..\..\include\core\SkCanvas.h" />\r
+ <ClInclude Include="..\..\include\core\SkChunkAlloc.h" />\r
+ <ClInclude Include="..\..\include\core\SkColor.h" />\r
+ <ClInclude Include="..\..\include\core\SkColorFilter.h" />\r
+ <ClInclude Include="..\..\include\core\SkColorPriv.h" />\r
+ <ClInclude Include="..\..\include\core\SkColorShader.h" />\r
+ <ClInclude Include="..\..\include\core\SkComposeShader.h" />\r
+ <ClInclude Include="..\..\include\core\SkDeque.h" />\r
+ <ClInclude Include="..\..\include\core\SkDescriptor.h" />\r
+ <ClInclude Include="..\..\include\core\SkDevice.h" />\r
+ <ClInclude Include="..\..\include\core\SkDither.h" />\r
+ <ClInclude Include="..\..\include\core\SkDraw.h" />\r
+ <ClInclude Include="..\..\include\core\SkDrawFilter.h" />\r
+ <ClInclude Include="..\..\include\core\SkDrawing.h" />\r
+ <ClInclude Include="..\..\include\core\SkDrawLooper.h" />\r
+ <ClInclude Include="..\..\include\core\SkEdgeClipper.h" />\r
+ <ClInclude Include="..\..\include\core\SkEndian.h" />\r
+ <ClInclude Include="..\..\include\core\SkFDot6.h" />\r
+ <ClInclude Include="..\..\include\core\SkFixed.h" />\r
+ <ClInclude Include="..\..\include\core\SkFlattenable.h" />\r
+ <ClInclude Include="..\..\include\core\SkFloatBits.h" />\r
+ <ClInclude Include="..\..\include\core\SkFloatingPoint.h" />\r
+ <ClInclude Include="..\..\include\core\SkFontHost.h" />\r
+ <ClInclude Include="..\..\include\core\SkGeometry.h" />\r
+ <ClInclude Include="..\..\include\core\SkGlobals.h" />\r
+ <ClInclude Include="..\..\include\core\SkGraphics.h" />\r
+ <ClInclude Include="..\..\include\core\SkLineClipper.h" />\r
+ <ClInclude Include="..\..\include\core\SkMallocPixelRef.h" />\r
+ <ClInclude Include="..\..\include\core\SkMask.h" />\r
+ <ClInclude Include="..\..\include\core\SkMaskFilter.h" />\r
+ <ClInclude Include="..\..\include\core\SkMath.h" />\r
+ <ClInclude Include="..\..\include\core\SkMatrix.h" />\r
+ <ClInclude Include="..\..\include\core\SkMMapStream.h" />\r
+ <ClInclude Include="..\..\include\core\SkOSFile.h" />\r
+ <ClInclude Include="..\..\include\core\SkPackBits.h" />\r
+ <ClInclude Include="..\..\include\core\SkPaint.h" />\r
+ <ClInclude Include="..\..\include\core\SkPath.h" />\r
+ <ClInclude Include="..\..\include\core\SkPathEffect.h" />\r
+ <ClInclude Include="..\..\include\core\SkPathMeasure.h" />\r
+ <ClInclude Include="..\..\include\core\SkPerspIter.h" />\r
+ <ClInclude Include="..\..\include\core\SkPicture.h" />\r
+ <ClInclude Include="..\..\include\core\SkPixelRef.h" />\r
+ <ClInclude Include="..\..\include\core\SkPoint.h" />\r
+ <ClInclude Include="..\..\include\core\SkPostConfig.h" />\r
+ <ClInclude Include="..\..\include\core\SkPreConfig.h" />\r
+ <ClInclude Include="..\..\include\core\SkPtrRecorder.h" />\r
+ <ClInclude Include="..\..\include\core\SkRandom.h" />\r
+ <ClInclude Include="..\..\include\core\SkRasterizer.h" />\r
+ <ClInclude Include="..\..\include\core\SkReader32.h" />\r
+ <ClInclude Include="..\..\include\core\SkRect.h" />\r
+ <ClInclude Include="..\..\include\core\SkRefCnt.h" />\r
+ <ClInclude Include="..\..\include\core\SkRegion.h" />\r
+ <ClInclude Include="..\..\include\core\SkScalar.h" />\r
+ <ClInclude Include="..\..\include\core\SkScalarCompare.h" />\r
+ <ClInclude Include="..\..\include\core\SkScalerContext.h" />\r
+ <ClInclude Include="..\..\include\core\SkScan.h" />\r
+ <ClInclude Include="..\..\include\core\SkShader.h" />\r
+ <ClInclude Include="..\..\include\core\SkShape.h" />\r
+ <ClInclude Include="..\..\include\core\SkSize.h" />\r
+ <ClInclude Include="..\..\include\core\SkStream.h" />\r
+ <ClInclude Include="..\..\include\core\SkString.h" />\r
+ <ClInclude Include="..\..\include\core\SkStroke.h" />\r
+ <ClInclude Include="..\..\include\core\SkTDArray.h" />\r
+ <ClInclude Include="..\..\include\core\SkTDict.h" />\r
+ <ClInclude Include="..\..\include\core\SkTDStack.h" />\r
+ <ClInclude Include="..\..\include\core\SkTemplates.h" />\r
+ <ClInclude Include="..\..\include\core\SkThread.h" />\r
+ <ClInclude Include="..\..\include\core\SkThread_platform.h" />\r
+ <ClInclude Include="..\..\include\core\SkTime.h" />\r
+ <ClInclude Include="..\..\include\core\SkTRegistry.h" />\r
+ <ClInclude Include="..\..\include\core\SkTSearch.h" />\r
+ <ClInclude Include="..\..\include\core\SkTypeface.h" />\r
+ <ClInclude Include="..\..\include\core\SkTypes.h" />\r
+ <ClInclude Include="..\..\include\core\SkUnitMapper.h" />\r
+ <ClInclude Include="..\..\include\core\SkUnPreMultiply.h" />\r
+ <ClInclude Include="..\..\include\core\SkUtils.h" />\r
+ <ClInclude Include="..\..\include\core\SkWriter32.h" />\r
+ <ClInclude Include="..\..\include\core\SkXfermode.h" />\r
+ <ClInclude Include="..\..\src\core\SkAntiRun.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcShader.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_filter.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_matrix.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_matrix_clamp.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_matrix_repeat.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_sample.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapProcState_shaderproc.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapSampler.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapSamplerTemplate.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapShader16BilerpTemplate.h" />\r
+ <ClInclude Include="..\..\src\core\SkBitmapShaderTemplate.h" />\r
+ <ClInclude Include="..\..\src\core\SkBlitBWMaskTemplate.h" />\r
+ <ClInclude Include="..\..\src\core\SkConcaveToTriangles.h" />\r
+ <ClInclude Include="..\..\src\core\SkCordic.h" />\r
+ <ClInclude Include="..\..\src\core\SkCoreBlitters.h" />\r
+ <ClInclude Include="..\..\src\core\SkCubicClipper.h" />\r
+ <ClInclude Include="..\..\src\core\SkDrawProcs.h" />\r
+ <ClInclude Include="..\..\src\core\SkEdge.h" />\r
+ <ClInclude Include="..\..\src\core\SkEdgeBuilder.h" />\r
+ <ClInclude Include="..\..\src\core\SkFilterProc.h" />\r
+ <ClInclude Include="..\..\src\core\SkFloat.h" />\r
+ <ClInclude Include="..\..\src\core\SkFP.h" />\r
+ <ClInclude Include="..\..\src\core\SkGlyphCache.h" />\r
+ <ClInclude Include="..\..\src\core\SkPathHeap.h" />\r
+ <ClInclude Include="..\..\src\core\SkPictureFlat.h" />\r
+ <ClInclude Include="..\..\src\core\SkPicturePlayback.h" />\r
+ <ClInclude Include="..\..\src\core\SkPictureRecord.h" />\r
+ <ClInclude Include="..\..\src\core\SkQuadClipper.h" />\r
+ <ClInclude Include="..\..\src\core\SkRegionPriv.h" />\r
+ <ClInclude Include="..\..\src\core\SkScanPriv.h" />\r
+ <ClInclude Include="..\..\src\core\SkSinTable.h" />\r
+ <ClInclude Include="..\..\src\core\SkSpriteBlitter.h" />\r
+ <ClInclude Include="..\..\src\core\SkSpriteBlitterTemplate.h" />\r
+ <ClInclude Include="..\..\src\core\SkStrokerPriv.h" />\r
+ <ClInclude Include="..\..\src\core\SkTemplatesPriv.h" />\r
+ <ClInclude Include="..\..\src\core\SkTSort.h" />\r
+ </ItemGroup>\r
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
+ <ImportGroup Label="ExtensionTargets">\r
+ </ImportGroup>\r
+</Project>
\ No newline at end of file