| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_memory.h" | 5 #include "ui/gl/gl_image_memory.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/numerics/safe_conversions.h" | 10 #include "base/numerics/safe_conversions.h" |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 } | 437 } |
| 438 | 438 |
| 439 bool GLImageMemory::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 439 bool GLImageMemory::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
| 440 int z_order, | 440 int z_order, |
| 441 gfx::OverlayTransform transform, | 441 gfx::OverlayTransform transform, |
| 442 const gfx::Rect& bounds_rect, | 442 const gfx::Rect& bounds_rect, |
| 443 const gfx::RectF& crop_rect) { | 443 const gfx::RectF& crop_rect) { |
| 444 return false; | 444 return false; |
| 445 } | 445 } |
| 446 | 446 |
| 447 bool GLImageMemory::EmulatingRGB() const { |
| 448 return false; |
| 449 } |
| 450 |
| 447 // static | 451 // static |
| 448 unsigned GLImageMemory::GetInternalFormatForTesting(BufferFormat format) { | 452 unsigned GLImageMemory::GetInternalFormatForTesting(BufferFormat format) { |
| 449 DCHECK(ValidFormat(format)); | 453 DCHECK(ValidFormat(format)); |
| 450 return TextureFormat(format); | 454 return TextureFormat(format); |
| 451 } | 455 } |
| 452 | 456 |
| 453 } // namespace gl | 457 } // namespace gl |
| OLD | NEW |