OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "ui/gl/gl_image.h" |
| 6 |
| 7 #include "base/debug/trace_event.h" |
| 8 #include "ui/gl/gl_implementation.h" |
| 9 |
| 10 namespace gfx { |
| 11 |
| 12 scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { |
| 13 TRACE_EVENT0("gpu", "GLImage::CreateGLImage"); |
| 14 switch (GetGLImplementation()) { |
| 15 case kGLImplementationEGLGLES2: { |
| 16 return NULL; |
| 17 } |
| 18 default: |
| 19 NOTREACHED(); |
| 20 return NULL; |
| 21 } |
| 22 } |
| 23 |
| 24 } // namespace gfx |
OLD | NEW |