Path: blob/21.2-virgl/src/gallium/frontends/d3d10umd/DriverIncludes.h
4566 views
/**************************************************************************1*2* Copyright 2012-2021 VMware, Inc.3* All Rights Reserved.4*5* Permission is hereby granted, free of charge, to any person obtaining a6* copy of this software and associated documentation files (the7* "Software"), to deal in the Software without restriction, including8* without limitation the rights to use, copy, modify, merge, publish,9* distribute, sub license, and/or sell copies of the Software, and to10* permit persons to whom the Software is furnished to do so, subject to11* the following conditions:12*13* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR14* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL16* THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,17* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR18* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE19* USE OR OTHER DEALINGS IN THE SOFTWARE.20*21* The above copyright notice and this permission notice (including the22* next paragraph) shall be included in all copies or substantial portions23* of the Software.24*25**************************************************************************/2627/*28* DriverIncludes.h --29* Basic DDK includes for building the client driver.30*/3132#ifndef DRIVER_INCLUDES_H33#define DRIVER_INCLUDES_H3435#ifdef __MINGW32__36#undef WIN32_LEAN_AND_MEAN /* for DEFINE_GUID macro */37#define _NO_OLDNAMES /* avoid defining ssize_t */38#include <stdio.h> /* for vsnprintf */39#undef fileno /* we redefine this in vm_basic_defs.h */40#endif414243#include <windows.h>4445#include "winddk/winddk_compat.h"4647//typedef LARGE_INTEGER PHYSICAL_ADDRESS;48//typedef __success(return >= 0) LONG NTSTATUS;4950#define D3D10DDI_MINOR_HEADER_VERSION 151#include <d3d10umddi.h>5253#include "Debug.h"5455#include "pipe/p_screen.h"56#include "pipe/p_context.h"57#include "pipe/p_format.h"58#include "pipe/p_defines.h"5960#include "util/u_debug.h"61#include "util/u_inlines.h"626364#endif /* DRIVER_INCLUDES_H */656667