cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / gpu / GLES2 / gl2chromium.h
blob3b429049c2d5846ae8fd37f1278ba0b43a88c2f7
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 // This file contains Chromium-specific GLES2 declarations.
7 #ifndef GPU_GLES2_GL2CHROMIUM_H_
8 #define GPU_GLES2_GL2CHROMIUM_H_
10 #include <GLES2/gl2platform.h>
12 #define GL_CONTEXT_LOST 0x300E
14 // Because we are using both the real system GL and our own
15 // emulated GL we need to use different names to avoid conflicts.
16 #if defined(GLES2_USE_CPP_BINDINGS)
17 #define GLES2_GET_FUN(name) gles2::GetGLContext()->name
18 #else
19 #define GLES2_GET_FUN(name) GLES2 ## name
20 #endif
22 #include <GLES2/gl2chromium_autogen.h>
24 #endif // GPU_GLES2_GL2CHROMIUM_H_