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

Side by Side Diff: media/filters/gpu_video_decoder.h

Issue 2052103002: Enable deferred rendering strategy for Android WebView for Spitzer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spitzer-aw-disable-tests
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | media/filters/gpu_video_decoder.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // frames, until it returns all PictureBuffers it may be holding back to the 225 // frames, until it returns all PictureBuffers it may be holding back to the
226 // VDA. In other words, the VDA may require all PictureBuffers to be able to 226 // VDA. In other words, the VDA may require all PictureBuffers to be able to
227 // proceed with decoding the next frame. 227 // proceed with decoding the next frame.
228 bool needs_all_picture_buffers_to_decode_; 228 bool needs_all_picture_buffers_to_decode_;
229 229
230 // If true, then the VDA supports deferred initialization via 230 // If true, then the VDA supports deferred initialization via
231 // NotifyInitializationComplete. Otherwise, it will return initialization 231 // NotifyInitializationComplete. Otherwise, it will return initialization
232 // status synchronously from VDA::Initialize. 232 // status synchronously from VDA::Initialize.
233 bool supports_deferred_initialization_; 233 bool supports_deferred_initialization_;
234 234
235 // This flag translates to COPY_REQUIRED flag for each frame.
236 bool requires_texture_copy_;
237
235 // Bound to factories_->GetMessageLoop(). 238 // Bound to factories_->GetMessageLoop().
236 // NOTE: Weak pointers must be invalidated before all other member variables. 239 // NOTE: Weak pointers must be invalidated before all other member variables.
237 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; 240 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_;
238 241
239 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); 242 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
240 }; 243 };
241 244
242 } // namespace media 245 } // namespace media
243 246
244 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 247 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | media/filters/gpu_video_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698