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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

Issue 415283002: ui: Add ScheduleOverlayPlane API to GLImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android build fix 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: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index 84ca103a3de608d4d115c13ef945b552baf3532c..f06cf6569e00cb870421af82cadda724c7cdc425 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -37,8 +37,11 @@ class GLImageSync : public gfx::GLImage {
virtual void WillUseTexImage() OVERRIDE;
virtual void WillModifyTexImage() OVERRIDE;
virtual void DidModifyTexImage() OVERRIDE;
-
virtual void DidUseTexImage() OVERRIDE;
+ virtual bool ScheduleOverlayPlane(int z_order,
+ gfx::OverlayTransform transform,
+ const gfx::Rect& bounds_rect,
+ const gfx::RectF& crop_rect) OVERRIDE;
virtual void SetReleaseAfterUse() OVERRIDE;
protected:
@@ -98,6 +101,14 @@ void GLImageSync::DidModifyTexImage() {
buffer_->DidWrite(this);
}
+bool GLImageSync::ScheduleOverlayPlane(int z_order,
+ gfx::OverlayTransform transform,
+ const gfx::Rect& bounds_rect,
+ const gfx::RectF& crop_rect) {
+ NOTREACHED();
+ return false;
+}
+
void GLImageSync::SetReleaseAfterUse() {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698