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

Side by Side Diff: media/video/picture.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased Created 4 years 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 | « media/video/picture.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "media/video/picture.h" 6 #include "media/video/picture.h"
7 7
8 namespace media { 8 namespace media {
9 9
10 PictureBuffer::PictureBuffer(int32_t id, const gfx::Size& size) 10 PictureBuffer::PictureBuffer(int32_t id, const gfx::Size& size)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Picture::Picture(int32_t picture_buffer_id, 59 Picture::Picture(int32_t picture_buffer_id,
60 int32_t bitstream_buffer_id, 60 int32_t bitstream_buffer_id,
61 const gfx::Rect& visible_rect, 61 const gfx::Rect& visible_rect,
62 const gfx::ColorSpace& color_space, 62 const gfx::ColorSpace& color_space,
63 bool allow_overlay) 63 bool allow_overlay)
64 : picture_buffer_id_(picture_buffer_id), 64 : picture_buffer_id_(picture_buffer_id),
65 bitstream_buffer_id_(bitstream_buffer_id), 65 bitstream_buffer_id_(bitstream_buffer_id),
66 visible_rect_(visible_rect), 66 visible_rect_(visible_rect),
67 color_space_(color_space), 67 color_space_(color_space),
68 allow_overlay_(allow_overlay), 68 allow_overlay_(allow_overlay),
69 size_changed_(false) {} 69 size_changed_(false),
70 surface_texture_(false),
71 wants_promotion_hint_(false) {}
70 72
71 } // namespace media 73 } // namespace media
OLDNEW
« no previous file with comments | « media/video/picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698