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_surface_texture.h" | 5 #include "ui/gl/gl_image_surface_texture.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | 7 #include "base/trace_event/trace_event.h" |
8 #include "ui/gl/android/surface_texture.h" | 8 #include "ui/gl/android/surface_texture.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 | 11 |
12 GLImageSurfaceTexture::GLImageSurfaceTexture(const gfx::Size& size) | 12 GLImageSurfaceTexture::GLImageSurfaceTexture(const gfx::Size& size) |
13 : size_(size), texture_id_(0) { | 13 : size_(size), texture_id_(0) { |
14 } | 14 } |
15 | 15 |
16 GLImageSurfaceTexture::~GLImageSurfaceTexture() { | 16 GLImageSurfaceTexture::~GLImageSurfaceTexture() { |
17 DCHECK(!surface_texture_.get()); | 17 DCHECK(!surface_texture_.get()); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 bool GLImageSurfaceTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 79 bool GLImageSurfaceTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
80 int z_order, | 80 int z_order, |
81 OverlayTransform transform, | 81 OverlayTransform transform, |
82 const Rect& bounds_rect, | 82 const Rect& bounds_rect, |
83 const RectF& crop_rect) { | 83 const RectF& crop_rect) { |
84 return false; | 84 return false; |
85 } | 85 } |
86 | 86 |
87 } // namespace gfx | 87 } // namespace gfx |
OLD | NEW |