| 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 | 6 |
| 7 namespace gl { | 7 namespace gl { |
| 8 | 8 |
| 9 bool GLImage::BindTexImageWithInternalformat(unsigned target, | 9 bool GLImage::BindTexImageWithInternalformat(unsigned target, |
| 10 unsigned internalformat) { | 10 unsigned internalformat) { |
| 11 return false; | 11 return false; |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool GLImage::EmulatingRGB() const { | 14 bool GLImage::EmulatingRGB() const { |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| 18 GLImage::Type GLImage::GetType() const { | 18 GLImage::Type GLImage::GetType() const { |
| 19 return Type::NONE; | 19 return Type::NONE; |
| 20 } | 20 } |
| 21 | 21 |
| 22 void GLImage::SetColorSpaceForScanout(const gfx::ColorSpace& color_space) { |
| 23 color_space_ = color_space; |
| 24 } |
| 25 |
| 22 } // namespace gl | 26 } // namespace gl |
| OLD | NEW |