| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ui/gl/gl_image.h" | 5 #include "ui/gl/gl_image.h" |
| 6 #include "ui/gl/gl_surface.h" |
| 6 | 7 |
| 7 namespace gl { | 8 namespace gl { |
| 8 | 9 |
| 9 bool GLImage::BindTexImageWithInternalformat(unsigned target, | 10 bool GLImage::BindTexImageWithInternalformat(unsigned target, |
| 10 unsigned internalformat) { | 11 unsigned internalformat) { |
| 11 return false; | 12 return false; |
| 12 } | 13 } |
| 13 | 14 |
| 14 bool GLImage::EmulatingRGB() const { | 15 bool GLImage::EmulatingRGB() const { |
| 15 return false; | 16 return false; |
| 16 } | 17 } |
| 17 | 18 |
| 18 GLImage::Type GLImage::GetType() const { | 19 GLImage::Type GLImage::GetType() const { |
| 19 return Type::NONE; | 20 return Type::NONE; |
| 20 } | 21 } |
| 21 | 22 |
| 23 scoped_refptr<gl::GLSurface> GLImage::GetSurface() { |
| 24 return nullptr; |
| 25 } |
| 26 |
| 22 } // namespace gl | 27 } // namespace gl |
| OLD | NEW |