~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to src/3rdparty/angle/src/common/angleutils.h

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
 
3
// Use of this source code is governed by a BSD-style license that can be
 
4
// found in the LICENSE file.
 
5
//
 
6
 
 
7
// angleutils.h: Common ANGLE utilities.
 
8
 
 
9
#ifndef COMMON_ANGLEUTILS_H_
 
10
#define COMMON_ANGLEUTILS_H_
 
11
 
 
12
// A macro to disallow the copy constructor and operator= functions
 
13
// This must be used in the private: declarations for a class
 
14
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
 
15
  TypeName(const TypeName&);               \
 
16
  void operator=(const TypeName&)
 
17
 
 
18
#if defined(_MSC_VER)
 
19
#define snprintf _snprintf
 
20
#endif
 
21
 
 
22
#define VENDOR_ID_AMD 0x1002
 
23
#define VENDOR_ID_INTEL 0x8086
 
24
#define VENDOR_ID_NVIDIA 0x10DE
 
25
 
 
26
#endif // COMMON_ANGLEUTILS_H_