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

Unified Diff: content/common/gpu/media/avda_codec_image.cc

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GetTextureMatrix should be the only available method Created 4 years, 9 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: content/common/gpu/media/avda_codec_image.cc
diff --git a/content/common/gpu/media/avda_codec_image.cc b/content/common/gpu/media/avda_codec_image.cc
index 5830433cdf271039ff1aa147954e4245b82c3621..19e613e957b1b0edab7a4941cb0b8ec1eb4aee8e 100644
--- a/content/common/gpu/media/avda_codec_image.cc
+++ b/content/common/gpu/media/avda_codec_image.cc
@@ -231,6 +231,7 @@ void AVDACodecImage::GetTextureMatrix(float matrix[16]) {
}
memcpy(matrix, gl_matrix_, sizeof(gl_matrix_));
+ YInvertMatrix(matrix);
}
bool AVDACodecImage::IsCodecBufferOutstanding() const {

Powered by Google App Engine
This is Rietveld 408576698