cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / gpu / command_buffer / common / compiler_specific.h
blob2669bff574058ed19c0d6fc105bd5e0c3c961a5c
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_
6 #define GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_
8 // Annotate a virtual method indicating it must be overriding a virtual
9 // method in the parent class.
10 // Use like:
11 // virtual void foo() OVERRIDE;
12 #ifndef OVERRIDE
13 #ifdef _MSC_VER
14 #define OVERRIDE override
15 #elif defined(__clang__)
16 #define OVERRIDE override
17 #else
18 #define OVERRIDE
19 #endif
20 #endif
22 #endif // GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_