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

Unified Diff: media/gpu/avda_picture_buffer_manager.cc

Issue 2481943003: Enforce no uncleared OES external textures. Clear in AVDA, not GVD. (Closed)
Patch Set: Fix mismerge. Created 4 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
Index: media/gpu/avda_picture_buffer_manager.cc
diff --git a/media/gpu/avda_picture_buffer_manager.cc b/media/gpu/avda_picture_buffer_manager.cc
index e07aae80a67c3fbc13779918473ab56d03f87dc0..d0f13136ffdcf6ad3ca788f5592bbcc5551bb60b 100644
--- a/media/gpu/avda_picture_buffer_manager.cc
+++ b/media/gpu/avda_picture_buffer_manager.cc
@@ -175,6 +175,7 @@ void AVDAPictureBufferManager::SetImageForPicture(
texture_manager->SetLevelStreamTextureImage(texture_ref, GetTextureTarget(),
0, image, image_state,
stream_texture_service_id);
+ texture_manager->SetLevelCleared(texture_ref, GetTextureTarget(), 0, true);
}
AVDACodecImage* AVDAPictureBufferManager::GetImageForPicture(
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | media/gpu/ipc/service/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698