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

Unified Diff: ui/gl/gl_image_android_native_buffer.cc

Issue 415283002: ui: Add ScheduleOverlayPlane API to GLImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add gfx::AcceleratedWidget argument to GLImage::ScheduleOverlayPlane Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_image_android_native_buffer.cc
diff --git a/ui/gl/gl_image_android_native_buffer.cc b/ui/gl/gl_image_android_native_buffer.cc
index 5e311eeef785a3934fc7604e35942498d81cc650..1f341733dcdc44142949b69e26c5fd069ebb678a 100644
--- a/ui/gl/gl_image_android_native_buffer.cc
+++ b/ui/gl/gl_image_android_native_buffer.cc
@@ -110,6 +110,15 @@ void GLImageAndroidNativeBuffer::DidUseTexImage() {
DCHECK_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
}
+bool GLImageAndroidNativeBuffer::ScheduleOverlayPlane(
+ gfx::AcceleratedWidget widget,
+ int z_order,
+ OverlayTransform transform,
+ const Rect& bounds_rect,
+ const RectF& crop_rect) {
+ return false;
+}
+
void GLImageAndroidNativeBuffer::SetReleaseAfterUse() {
release_after_use_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698