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

Unified Diff: content/common/gpu/media/vaapi_h264_decoder.h

Issue 10843058: VAVDA: Destroy vaapi buffers after we're done drawing. (Closed) Base URL: https://git.chromium.org/git/chromium/src@master
Patch Set: Patch 3 Created 8 years, 5 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/vaapi_h264_decoder.h
diff --git a/content/common/gpu/media/vaapi_h264_decoder.h b/content/common/gpu/media/vaapi_h264_decoder.h
index a2f6ab087db7425160ba1885c14e520e6c707701..eeff293dd9d18ae0fe3b84b92eb25803bb2ee2a4 100644
--- a/content/common/gpu/media/vaapi_h264_decoder.h
+++ b/content/common/gpu/media/vaapi_h264_decoder.h
@@ -211,6 +211,8 @@ class VaapiH264Decoder {
// Destroys allocated VASurfaces and related VAContext.
void DestroyVASurfaces();
+ // Destroys a list of buffers.
+ void DestroyBuffers(VABufferID* va_buffers, size_t num_va_buffers);
// These queue up data for HW decoder to be committed on running HW decode.
bool SendPPS();
« no previous file with comments | « no previous file | content/common/gpu/media/vaapi_h264_decoder.cc » ('j') | content/common/gpu/media/vaapi_h264_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698