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

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

Issue 759573002: Set the internal format of hardware decoded texture to GL_RGBA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set format to GL_RGBA Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
index 2f71b827f668b76a43d667ae0c49812cdc65bb48..df8ec5bc0ec8c72f35ba64dea56b0f1952197b62 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
@@ -377,12 +377,12 @@ void GpuVideoDecodeAccelerator::OnAssignPictureBuffers(
texture_manager->SetLevelInfo(texture_ref,
texture_target_,
0,
- 0,
+ GL_RGBA,
texture_dimensions_.width(),
texture_dimensions_.height(),
1,
0,
- 0,
+ GL_RGBA,
0,
false);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698