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

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

Issue 7311004: Destroy egl image handles in the end of playback. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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/omx_video_decode_accelerator.h
===================================================================
--- content/common/gpu/media/omx_video_decode_accelerator.h (revision 91551)
+++ content/common/gpu/media/omx_video_decode_accelerator.h (working copy)
@@ -135,8 +135,9 @@
// NOTE: all calls to this object *MUST* be executed in message_loop_.
Client* client_;
- std::vector<uint32> texture_ids_;
- std::vector<uint32> context_ids_;
+ // Keep the egl-image handles so that we can destroy them in the end.
+ std::vector<void*> egl_images_;
+
// Method to handle events
void EventHandlerCompleteTask(OMX_EVENTTYPE event,
OMX_U32 data1,

Powered by Google App Engine
This is Rietveld 408576698