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

Issue 1432963003: [Ozone] Extends the lifetime of VaapiWrapper (Closed)

Created:
5 years, 1 month ago by william.xie1
Modified:
5 years ago
CC:
chromium-reviews, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ozone] Extends the lifetime of VaapiWrapper Currently when reloading webpage during video playback on overlay, VaapiWrapper is destroyed immediately, thus the callback of processing pixmap is getting invalid. This CL extends the lifetime of VaapiWrapper to ensure pixmaps being processed. BUG=554005 Committed: https://crrev.com/484a828e7021821546a6728eeba02792941a20ce Cr-Commit-Position: refs/heads/master@{#362650}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : NOT for upstream #

Total comments: 20

Patch Set 4 : #

Patch Set 5 : Rebase #

Patch Set 6 : break the circulating reference #

Total comments: 1

Patch Set 7 : #

Total comments: 3

Patch Set 8 : Extends the lifetime of VaapiWrapper #

Total comments: 24

Patch Set 9 : #

Total comments: 5

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : fix build issue #

Total comments: 4

Patch Set 14 : nits/API naming fix #

Total comments: 2

Patch Set 15 : #

Patch Set 16 : rebase #

Total comments: 9

Patch Set 17 : #

Patch Set 18 : Rebase #

Total comments: 2

Patch Set 19 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -202 lines) Patch
M content/common/gpu/media/vaapi_drm_picture.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -27 lines 0 comments Download
M content/common/gpu/media/vaapi_drm_picture.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +10 lines, -146 lines 0 comments Download
M content/common/gpu/media/vaapi_jpeg_decode_accelerator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_picture.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_picture.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_tfp_picture.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_tfp_picture.cc View 1 2 3 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +27 lines, -5 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +116 lines, -7 lines 0 comments Download
M ui/ozone/platform/cast/surface_factory_cast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +21 lines, -1 line 0 comments Download
M ui/ozone/platform/headless/headless_surface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/public/native_pixmap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 122 (39 generated)
william.xie1
PTAL
5 years, 1 month ago (2015-11-10 14:37:27 UTC) #2
spang
On 2015/11/10 14:37:27, william.xie wrote: > PTAL I don't think it is the right fix. ...
5 years, 1 month ago (2015-11-10 15:50:32 UTC) #3
william.xie1
PTAL
5 years, 1 month ago (2015-11-12 08:42:01 UTC) #4
reveman
https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 ui/gl/gl_surface_ozone.cc:227: bool GLSurfaceOzoneSurfaceless::Overlay::ScheduleOverlayPlane( why is this called after the image ...
5 years, 1 month ago (2015-11-12 14:58:26 UTC) #5
william.xie1
https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 ui/gl/gl_surface_ozone.cc:227: bool GLSurfaceOzoneSurfaceless::Overlay::ScheduleOverlayPlane( On 2015/11/12 14:58:26, reveman wrote: > why ...
5 years, 1 month ago (2015-11-12 15:37:44 UTC) #6
spang
https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 ui/gl/gl_surface_ozone.cc:227: bool GLSurfaceOzoneSurfaceless::Overlay::ScheduleOverlayPlane( On 2015/11/12 15:37:43, william.xie wrote: > On ...
5 years, 1 month ago (2015-11-12 15:47:53 UTC) #7
william.xie1
On 2015/11/12 15:47:53, spang wrote: > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc > File ui/gl/gl_surface_ozone.cc (right): > > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 > ...
5 years, 1 month ago (2015-11-12 16:26:01 UTC) #8
kalyank
https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 ui/gl/gl_surface_ozone.cc:227: bool GLSurfaceOzoneSurfaceless::Overlay::ScheduleOverlayPlane( On 2015/11/12 15:47:52, spang wrote: > On ...
5 years, 1 month ago (2015-11-12 16:36:52 UTC) #10
william.xie1
On 2015/11/12 16:36:52, kalyank wrote: > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc > File ui/gl/gl_surface_ozone.cc (right): > > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 > ...
5 years, 1 month ago (2015-11-12 16:43:44 UTC) #11
spang
On 2015/11/12 16:43:44, william.xie wrote: > On 2015/11/12 16:36:52, kalyank wrote: > > > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc ...
5 years, 1 month ago (2015-11-12 16:49:16 UTC) #12
alexst (slow to review)
On 2015/11/12 16:36:52, kalyank wrote: > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc > File ui/gl/gl_surface_ozone.cc (right): > > https://codereview.chromium.org/1432963003/diff/20001/ui/gl/gl_surface_ozone.cc#newcode227 > ...
5 years, 1 month ago (2015-11-12 18:12:38 UTC) #13
kalyank
On 2015/11/12 18:12:38, alexst (slow to review) wrote: > On 2015/11/12 16:36:52, kalyank wrote: > ...
5 years, 1 month ago (2015-11-12 18:46:49 UTC) #14
reveman
Would changing GLImageEGL::Destroy to not destroy the EGLImage help solve this issue? That could be ...
5 years, 1 month ago (2015-11-12 19:35:00 UTC) #15
kalyank
On 2015/11/12 19:35:00, reveman wrote: > Would changing GLImageEGL::Destroy to not destroy the EGLImage help ...
5 years, 1 month ago (2015-11-12 19:57:47 UTC) #16
kalyank
On 2015/11/12 19:57:47, kalyank wrote: > On 2015/11/12 19:35:00, reveman wrote: > > Would changing ...
5 years, 1 month ago (2015-11-12 20:02:19 UTC) #17
william.xie1
Dear Alex and all, Please be noted that patch Set 3 is NOT for upstream, ...
5 years, 1 month ago (2015-11-13 10:25:12 UTC) #18
kalyank
On 2015/11/13 10:25:12, william.xie wrote: > Dear Alex and all, > Any concern if we ...
5 years, 1 month ago (2015-11-13 18:06:57 UTC) #19
william.xie1
On 2015/11/13 18:06:57, kalyank wrote: > On 2015/11/13 10:25:12, william.xie wrote: > > Dear Alex ...
5 years, 1 month ago (2015-11-13 22:54:29 UTC) #20
kalyank
https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode933 content/common/gpu/media/vaapi_video_decode_accelerator.cc:933: pictures_.clear(); I have played around with this a bit ...
5 years, 1 month ago (2015-11-14 10:42:06 UTC) #21
Pawel Osciak
Please keep me in the loop for all changes to content/common/gpu/media. Thank you. https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_drm_picture.cc File ...
5 years, 1 month ago (2015-11-16 04:24:35 UTC) #23
william.xie1
Thanks Pawel, PTAL https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_drm_picture.cc#newcode118 content/common/gpu/media/vaapi_drm_picture.cc:118: scoped_refptr<VaapiDrmPicture> ref = this; On 2015/11/16 ...
5 years, 1 month ago (2015-11-16 08:07:26 UTC) #28
kalyank
https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode933 content/common/gpu/media/vaapi_video_decode_accelerator.cc:933: pictures_.clear(); On 2015/11/16 04:24:35, Pawel Osciak wrote: > On ...
5 years, 1 month ago (2015-11-18 00:21:43 UTC) #30
william.xie1
On 2015/11/18 00:21:43, kalyank wrote: > https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc > File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): > > https://codereview.chromium.org/1432963003/diff/40001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode933 > ...
5 years, 1 month ago (2015-11-18 01:31:22 UTC) #31
kalyank
> I am trying to break the circulating reference by deleting pixmap/gl_image after > they ...
5 years, 1 month ago (2015-11-18 02:22:17 UTC) #32
william.xie1
Dear all, PTAL, We successfully break the circulating reference in this patch set.
5 years, 1 month ago (2015-11-18 08:56:08 UTC) #33
kalyank
https://codereview.chromium.org/1432963003/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/1432963003/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode648 content/common/gpu/media/vaapi_video_decode_accelerator.cc:648: pictures_.clear(); We should be calling Destroy here too ?
5 years, 1 month ago (2015-11-18 17:35:59 UTC) #34
william.xie1
PTAL
5 years, 1 month ago (2015-11-19 01:45:11 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/120001
5 years, 1 month ago (2015-11-19 05:20:56 UTC) #37
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 1 month ago (2015-11-19 05:20:58 UTC) #39
Pawel Osciak
https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc#newcode168 content/common/gpu/media/vaapi_drm_picture.cc:168: if (gl_image_ && make_context_current_.Run()) { Isn't pixmap_ required for ...
5 years, 1 month ago (2015-11-19 08:03:46 UTC) #40
william.xie1
https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc#newcode168 content/common/gpu/media/vaapi_drm_picture.cc:168: if (gl_image_ && make_context_current_.Run()) { On 2015/11/19 08:03:45, Pawel ...
5 years, 1 month ago (2015-11-19 08:31:12 UTC) #41
william.xie1
On 2015/11/19 08:03:46, Pawel Osciak wrote: > https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc > File content/common/gpu/media/vaapi_drm_picture.cc (right): > > https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc#newcode168 ...
5 years, 1 month ago (2015-11-19 08:44:24 UTC) #42
Pawel Osciak
https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc#newcode168 content/common/gpu/media/vaapi_drm_picture.cc:168: if (gl_image_ && make_context_current_.Run()) { On 2015/11/19 08:31:12, william.xie ...
5 years, 1 month ago (2015-11-19 08:45:41 UTC) #43
Pawel Osciak
5 years, 1 month ago (2015-11-19 08:45:47 UTC) #44
william.xie1
On 2015/11/19 08:45:41, Pawel Osciak wrote: > https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc > File content/common/gpu/media/vaapi_drm_picture.cc (right): > > https://codereview.chromium.org/1432963003/diff/120001/content/common/gpu/media/vaapi_drm_picture.cc#newcode168 ...
5 years, 1 month ago (2015-11-19 08:51:29 UTC) #45
william.xie1
On 2015/11/19 08:51:29, william.xie wrote: > On 2015/11/19 08:45:41, Pawel Osciak wrote: > > > ...
5 years, 1 month ago (2015-11-19 10:10:56 UTC) #46
Pawel Osciak
On 2015/11/19 10:10:56, william.xie wrote: > On 2015/11/19 08:51:29, william.xie wrote: > > On 2015/11/19 ...
5 years, 1 month ago (2015-11-19 10:21:38 UTC) #47
william.xie1
@Pawel, @Spang, PTAL
5 years, 1 month ago (2015-11-20 05:37:03 UTC) #54
Pawel Osciak
https://chromiumcodereview.appspot.com/1432963003/diff/140001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/140001/content/common/gpu/media/vaapi_drm_picture.cc#newcode104 content/common/gpu/media/vaapi_drm_picture.cc:104: scoped_refptr<ui::NativePixmap> VaapiDrmPicture::ProcessPixmap( Could we have this in VaapiWrapper, and ...
5 years, 1 month ago (2015-11-20 10:09:18 UTC) #55
william.xie1
PTAL https://codereview.chromium.org/1432963003/diff/140001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/1432963003/diff/140001/content/common/gpu/media/vaapi_drm_picture.cc#newcode104 content/common/gpu/media/vaapi_drm_picture.cc:104: scoped_refptr<ui::NativePixmap> VaapiDrmPicture::ProcessPixmap( On 2015/11/20 10:09:18, Pawel Osciak wrote: ...
5 years, 1 month ago (2015-11-23 03:33:58 UTC) #56
spang
lgtm
5 years, 1 month ago (2015-11-23 15:44:42 UTC) #57
kalyank
https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc#newcode313 content/common/gpu/media/vaapi_wrapper.cc:313: CreateVASurfaceForPixmap(source_pixmap, source_pixmap->size()); Now, we create va surface of original ...
5 years, 1 month ago (2015-11-23 17:51:07 UTC) #58
william.xie1
PTAL https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc#newcode313 content/common/gpu/media/vaapi_wrapper.cc:313: CreateVASurfaceForPixmap(source_pixmap, source_pixmap->size()); On 2015/11/23 17:51:07, kalyank wrote: > ...
5 years, 1 month ago (2015-11-24 06:19:39 UTC) #59
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/180001
5 years, 1 month ago (2015-11-24 06:22:28 UTC) #61
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/61390) chromeos_x86-generic_chromium_compile_only_ng on ...
5 years, 1 month ago (2015-11-24 06:36:56 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/240001
5 years ago (2015-11-24 09:15:15 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133630)
5 years ago (2015-11-24 09:51:53 UTC) #67
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/260001
5 years ago (2015-11-24 10:36:17 UTC) #70
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-24 11:09:02 UTC) #72
kalyank
https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc#newcode313 content/common/gpu/media/vaapi_wrapper.cc:313: CreateVASurfaceForPixmap(source_pixmap, source_pixmap->size()); On 2015/11/24 06:19:39, william.xie wrote: > On ...
5 years ago (2015-11-24 23:00:25 UTC) #73
kalyank
On 2015/11/24 23:00:25, kalyank wrote: > https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc > File content/common/gpu/media/vaapi_wrapper.cc (right): > > https://codereview.chromium.org/1432963003/diff/160001/content/common/gpu/media/vaapi_wrapper.cc#newcode313 > ...
5 years ago (2015-11-24 23:04:08 UTC) #74
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/280001
5 years ago (2015-11-25 01:52:32 UTC) #76
william.xie1
nits/API naming fix https://codereview.chromium.org/1432963003/diff/260001/content/common/gpu/media/vaapi_wrapper.h File content/common/gpu/media/vaapi_wrapper.h (right): https://codereview.chromium.org/1432963003/diff/260001/content/common/gpu/media/vaapi_wrapper.h#newcode227 content/common/gpu/media/vaapi_wrapper.h:227: friend class base::RefCountedThreadSafe<VaapiWrapper>; On 2015/11/24 23:00:24, ...
5 years ago (2015-11-25 02:19:26 UTC) #77
william.xie1
ping @Pawel
5 years ago (2015-11-25 02:39:27 UTC) #78
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-25 03:26:23 UTC) #80
Pawel Osciak
https://chromiumcodereview.appspot.com/1432963003/diff/280001/content/common/gpu/media/vaapi_wrapper.h File content/common/gpu/media/vaapi_wrapper.h (right): https://chromiumcodereview.appspot.com/1432963003/diff/280001/content/common/gpu/media/vaapi_wrapper.h#newcode130 content/common/gpu/media/vaapi_wrapper.h:130: scoped_refptr<ui::NativePixmap> CreateNativePixmap(gfx::Size size, Sorry, I think you misunderstood me ...
5 years ago (2015-11-30 05:57:03 UTC) #81
william.xie1
Dear Pawel, PTAL https://codereview.chromium.org/1432963003/diff/280001/content/common/gpu/media/vaapi_wrapper.h File content/common/gpu/media/vaapi_wrapper.h (right): https://codereview.chromium.org/1432963003/diff/280001/content/common/gpu/media/vaapi_wrapper.h#newcode130 content/common/gpu/media/vaapi_wrapper.h:130: scoped_refptr<ui::NativePixmap> CreateNativePixmap(gfx::Size size, On 2015/11/30 05:57:02, ...
5 years ago (2015-11-30 08:02:02 UTC) #82
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/300001
5 years ago (2015-11-30 08:02:40 UTC) #84
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/129153) mac_chromium_gn_rel on ...
5 years ago (2015-11-30 08:04:15 UTC) #86
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/320001
5 years ago (2015-11-30 08:25:25 UTC) #88
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 08:59:00 UTC) #90
william.xie1
Softly ping Pawel@ :)
5 years ago (2015-12-01 09:15:43 UTC) #91
Pawel Osciak
https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc#newcode692 content/common/gpu/media/vaapi_wrapper.cc:692: vaapi_wrapper->CreateVASurfaceForPixmap(target_pixmap); Doesn't passing a raw pointer into a scoped_refptr ...
5 years ago (2015-12-02 00:49:06 UTC) #92
Pawel Osciak
https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc#newcode692 content/common/gpu/media/vaapi_wrapper.cc:692: vaapi_wrapper->CreateVASurfaceForPixmap(target_pixmap); On 2015/12/02 00:49:06, Pawel Osciak wrote: > Doesn't ...
5 years ago (2015-12-02 02:08:34 UTC) #93
william.xie1
https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc#newcode692 content/common/gpu/media/vaapi_wrapper.cc:692: vaapi_wrapper->CreateVASurfaceForPixmap(target_pixmap); On 2015/12/02 02:08:34, Pawel Osciak wrote: > On ...
5 years ago (2015-12-02 02:15:26 UTC) #94
Pawel Osciak
https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc#newcode692 content/common/gpu/media/vaapi_wrapper.cc:692: vaapi_wrapper->CreateVASurfaceForPixmap(target_pixmap); On 2015/12/02 02:15:26, william.xie wrote: > On 2015/12/02 ...
5 years ago (2015-12-02 02:19:50 UTC) #95
william.xie1
https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/1432963003/diff/320001/content/common/gpu/media/vaapi_wrapper.cc#newcode692 content/common/gpu/media/vaapi_wrapper.cc:692: vaapi_wrapper->CreateVASurfaceForPixmap(target_pixmap); On 2015/12/02 02:19:50, Pawel Osciak wrote: > On ...
5 years ago (2015-12-02 02:31:13 UTC) #96
william.xie1
5 years ago (2015-12-02 02:31:17 UTC) #97
william.xie1
Dear Pawel, here we go. PTAL
5 years ago (2015-12-02 02:43:13 UTC) #98
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/340001
5 years ago (2015-12-02 02:56:54 UTC) #100
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/143447) mac_chromium_compile_dbg_ng on ...
5 years ago (2015-12-02 02:58:57 UTC) #102
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/360001
5 years ago (2015-12-02 03:07:33 UTC) #104
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 03:36:18 UTC) #106
Pawel Osciak
https://codereview.chromium.org/1432963003/diff/360001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/1432963003/diff/360001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode108 ui/ozone/platform/drm/gpu/gbm_buffer.cc:108: if (!processing_callback_.Run(this, processed_pixmap.get())) { s/.get()// We need to pass ...
5 years ago (2015-12-02 04:07:07 UTC) #107
william.xie1
Sorry for the mistake. PTAL again. https://codereview.chromium.org/1432963003/diff/360001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/1432963003/diff/360001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode108 ui/ozone/platform/drm/gpu/gbm_buffer.cc:108: if (!processing_callback_.Run(this, processed_pixmap.get())) ...
5 years ago (2015-12-02 04:38:51 UTC) #108
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/380001
5 years ago (2015-12-02 04:46:00 UTC) #110
Pawel Osciak
lgtm
5 years ago (2015-12-02 04:50:36 UTC) #111
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 05:23:51 UTC) #113
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432963003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432963003/380001
5 years ago (2015-12-02 06:40:31 UTC) #116
commit-bot: I haz the power
Committed patchset #19 (id:380001)
5 years ago (2015-12-02 06:45:15 UTC) #118
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/484a828e7021821546a6728eeba02792941a20ce Cr-Commit-Position: refs/heads/master@{#362650}
5 years ago (2015-12-02 06:46:09 UTC) #120
binjin
On 2015/12/02 06:46:09, commit-bot: I haz the power wrote: > Patchset 19 (id:??) landed as ...
5 years ago (2015-12-11 16:27:44 UTC) #121
william.xie1
5 years ago (2015-12-12 16:20:00 UTC) #122
Message was sent while issue was closed.
On 2015/12/11 16:27:44, binjin wrote:
> On 2015/12/02 06:46:09, commit-bot: I haz the power wrote:
> > Patchset 19 (id:??) landed as
> > https://crrev.com/484a828e7021821546a6728eeba02792941a20ce
> > Cr-Commit-Position: refs/heads/master@{#362650}
> 
> changing scoped_ptr to scoped_refptr actually breaks compile of a unit tests:
> 
> ../../content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc:49:39: error: no
> member named 'reset' in 'scoped_refptr<content::VaapiWrapper>'
>   void TearDown() override { wrapper_.reset(); }
>                              ~~~~~~~~ ^

Thank you Binjin and sorry for that.
I just submit a fix for it:
https://codereview.chromium.org/1521823002/

Powered by Google App Engine
This is Rietveld 408576698