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

Unified Diff: media/gpu/avda_codec_image.h

Issue 2889603005: Position overlays in AVDACodecImage (Closed)
Patch Set: rebased Created 3 years, 7 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: media/gpu/avda_codec_image.h
diff --git a/media/gpu/avda_codec_image.h b/media/gpu/avda_codec_image.h
index 8285ffacf5ce3f25b58ec5f0635b134e452e5a5c..2b68c0a0d8ddc823d91bcd07208d9de42c1f520d 100644
--- a/media/gpu/avda_codec_image.h
+++ b/media/gpu/avda_codec_image.h
@@ -151,6 +151,9 @@ class AVDACodecImage : public gpu::gles2::GLStreamTextureImage {
// The texture that we're attached to.
gpu::gles2::Texture* texture_;
+ // Bounds that we last sent to our overlay.
+ gfx::Rect most_recent_bounds_;
+
DISALLOW_COPY_AND_ASSIGN(AVDACodecImage);
};

Powered by Google App Engine
This is Rietveld 408576698