Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: ui/gl/gl_image_surface_texture.cc

Issue 415283002: ui: Add ScheduleOverlayPlane API to GLImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // This will attach the surface texture to the texture currently bound to 67 // This will attach the surface texture to the texture currently bound to
68 // GL_TEXTURE_EXTERNAL_OES target. 68 // GL_TEXTURE_EXTERNAL_OES target.
69 surface_texture_->AttachToGLContext(); 69 surface_texture_->AttachToGLContext();
70 texture_id_ = texture_id; 70 texture_id_ = texture_id;
71 } 71 }
72 72
73 surface_texture_->UpdateTexImage(); 73 surface_texture_->UpdateTexImage();
74 return true; 74 return true;
75 } 75 }
76 76
77 bool GLImageSurfaceTexture::ScheduleOverlayPlane(int z_order,
78 OverlayTransform transform,
79 const Rect& bounds_rect,
80 const RectF& crop_rect) {
81 return false;
82 }
83
77 } // namespace gfx 84 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_image_surface_texture.h ('k') | ui/gl/gl_surface.h » ('j') | ui/gl/gl_surface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698