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/debug/trace_event.h" |
8 #include "ui/gl/android/surface_texture.h" | 8 #include "ui/gl/android/surface_texture.h" |
9 #include "ui/gl/android/surface_texture_tracker.h" | 9 #include "ui/gl/android/surface_texture_tracker.h" |
10 | 10 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // This will attach the surface texture to the texture currently bound to | 70 // This will attach the surface texture to the texture currently bound to |
71 // GL_TEXTURE_EXTERNAL_OES target. | 71 // GL_TEXTURE_EXTERNAL_OES target. |
72 surface_texture_->AttachToGLContext(); | 72 surface_texture_->AttachToGLContext(); |
73 texture_id_ = texture_id; | 73 texture_id_ = texture_id; |
74 } | 74 } |
75 | 75 |
76 surface_texture_->UpdateTexImage(); | 76 surface_texture_->UpdateTexImage(); |
77 return true; | 77 return true; |
78 } | 78 } |
79 | 79 |
| 80 bool GLImageSurfaceTexture::CopyTexImage(unsigned target) { |
| 81 return false; |
| 82 } |
| 83 |
80 bool GLImageSurfaceTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 84 bool GLImageSurfaceTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
81 int z_order, | 85 int z_order, |
82 OverlayTransform transform, | 86 OverlayTransform transform, |
83 const Rect& bounds_rect, | 87 const Rect& bounds_rect, |
84 const RectF& crop_rect) { | 88 const RectF& crop_rect) { |
85 return false; | 89 return false; |
86 } | 90 } |
87 | 91 |
88 } // namespace gfx | 92 } // namespace gfx |
OLD | NEW |