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

Unified Diff: media/gpu/avda_codec_image.cc

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase [If you wait by the river long enough, the bodies of your gyp files will float by] Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/avda_codec_image.cc
diff --git a/media/gpu/avda_codec_image.cc b/media/gpu/avda_codec_image.cc
index 05428fd9a54ffa264b24c53ba692cf439ac7e646..943615192729f5cb38849e3cd7f2354f7765d0bf 100644
--- a/media/gpu/avda_codec_image.cc
+++ b/media/gpu/avda_codec_image.cc
@@ -231,6 +231,7 @@ void AVDACodecImage::GetTextureMatrix(float matrix[16]) {
if (surface_texture_)
UpdateSurface(UpdateMode::RENDER_TO_FRONT_BUFFER);
memcpy(matrix, gl_matrix_, sizeof(gl_matrix_));
+ YInvertMatrix(matrix);
}
bool AVDACodecImage::IsCodecBufferOutstanding() const {
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698