OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is here so other GLES2 related files can have a common set of | 5 // This file is here so other GLES2 related files can have a common set of |
6 // includes where appropriate. | 6 // includes where appropriate. |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 #include "gpu/command_buffer/client/gles2_demo_cc.h" | 9 #include "gpu/command_buffer/client/gles2_demo_cc.h" |
10 | 10 |
11 namespace { | 11 namespace { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 static bool initialized = false; | 185 static bool initialized = false; |
186 if (!initialized) { | 186 if (!initialized) { |
187 initialized = true; | 187 initialized = true; |
188 Init(); | 188 Init(); |
189 } | 189 } |
190 Draw(); | 190 Draw(); |
191 } | 191 } |
192 | 192 |
193 | 193 |
194 | 194 |
OLD | NEW |