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

Issue 3215008: Connect GpuVideoDecodeServiceHost with ggl::Context and CommandBufferProxy (Closed)

Created:
10 years, 3 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews, fbarchard, darin-cc_chromium.org, awong, brettw-cc_chromium.org, scherkus (not reviewing)
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Connect GpuVideoDecodeServiceHost with ggl::Context and CommandBufferProxy BUG=53714 A GpuVideoDecodeServiceHost needs to be connected with a ggl::Contect and its associated comand buffer for the following reasons: 1. The gpu video decoder in gpu process needs to be in the correct GLES2 context. 2. On context lost the gpu video decoder needs to destroy itself. This patch is able to connect the GpuVideoDecoderHost to the context although the context is not passed into the decoder, so the code path is currently broken. In a future patch we need to do the following: 1. Inject a ggl::Context into IpcVideoDecoder. 2. Complete the plumbing so that inside the gpu process we can associate a video decoder with a GLES2 context. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58517

Patch Set 1 #

Total comments: 6

Patch Set 2 : upload again #

Total comments: 18

Patch Set 3 : fixed comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -82 lines) Patch
M chrome/renderer/ggl/ggl.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/ggl/ggl.cc View 1 2 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/renderer/gpu_video_decoder_host.h View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/renderer/gpu_video_decoder_host.cc View 1 2 3 chunks +21 lines, -6 lines 0 comments Download
M chrome/renderer/gpu_video_service_host.h View 1 2 3 chunks +28 lines, -5 lines 1 comment Download
M chrome/renderer/gpu_video_service_host.cc View 1 2 chunks +15 lines, -45 lines 0 comments Download
M chrome/renderer/media/ipc_video_decoder.h View 3 chunks +13 lines, -15 lines 0 comments Download
M chrome/renderer/media/ipc_video_decoder.cc View 1 2 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Alpha Left Google
10 years, 3 months ago (2010-08-30 01:17:20 UTC) #1
Alpha Left Google
Please review this patch. The other change to context depends on this one.
10 years, 3 months ago (2010-08-30 19:04:18 UTC) #2
jiesun
http://codereview.chromium.org/3215008/diff/1/6 File chrome/renderer/gpu_video_service_host.cc (left): http://codereview.chromium.org/3215008/diff/1/6#oldcode36 chrome/renderer/gpu_video_service_host.cc:36: return NULL; I am thinking that for those platform ...
10 years, 3 months ago (2010-08-30 19:54:32 UTC) #3
Alpha Left Google
http://codereview.chromium.org/3215008/diff/1/6 File chrome/renderer/gpu_video_service_host.cc (left): http://codereview.chromium.org/3215008/diff/1/6#oldcode36 chrome/renderer/gpu_video_service_host.cc:36: return NULL; On 2010/08/30 19:54:32, jiesun wrote: > I ...
10 years, 3 months ago (2010-08-30 20:32:51 UTC) #4
jiesun
http://codereview.chromium.org/3215008/diff/7001/6003 File chrome/renderer/ggl/ggl.h (right): http://codereview.chromium.org/3215008/diff/7001/6003#newcode113 chrome/renderer/ggl/ggl.h:113: Is context deletion the only place we need to ...
10 years, 3 months ago (2010-08-30 21:16:13 UTC) #5
jiesun
forget one thing. http://codereview.chromium.org/3215008/diff/7001/6006 File chrome/renderer/gpu_video_service_host.cc (left): http://codereview.chromium.org/3215008/diff/7001/6006#oldcode36 chrome/renderer/gpu_video_service_host.cc:36: return NULL; I think we should ...
10 years, 3 months ago (2010-08-30 21:19:58 UTC) #6
Alpha Left Google
http://codereview.chromium.org/3215008/diff/7001/6003 File chrome/renderer/ggl/ggl.h (right): http://codereview.chromium.org/3215008/diff/7001/6003#newcode113 chrome/renderer/ggl/ggl.h:113: On 2010/08/30 21:16:13, jiesun wrote: > Is context deletion ...
10 years, 3 months ago (2010-08-30 21:54:12 UTC) #7
jiesun
http://codereview.chromium.org/3215008/diff/7001/6006 File chrome/renderer/gpu_video_service_host.cc (left): http://codereview.chromium.org/3215008/diff/7001/6006#oldcode36 chrome/renderer/gpu_video_service_host.cc:36: return NULL; changing filter is hard here, but I ...
10 years, 3 months ago (2010-08-30 22:23:01 UTC) #8
Alpha Left Google
http://codereview.chromium.org/3215008/diff/7001/6006 File chrome/renderer/gpu_video_service_host.cc (left): http://codereview.chromium.org/3215008/diff/7001/6006#oldcode36 chrome/renderer/gpu_video_service_host.cc:36: return NULL; On 2010/08/30 22:23:01, jiesun wrote: > changing ...
10 years, 3 months ago (2010-08-30 22:27:35 UTC) #9
jiesun
LGTM. I think that currently we guarded IPC video decoder factory with command line options, ...
10 years, 3 months ago (2010-08-30 22:54:41 UTC) #10
scherkus (not reviewing)
I'll take a look at this tonight
10 years, 3 months ago (2010-08-30 23:20:22 UTC) #11
scherkus (not reviewing)
http://codereview.chromium.org/3215008/diff/7001/6004 File chrome/renderer/gpu_video_decoder_host.cc (right): http://codereview.chromium.org/3215008/diff/7001/6004#newcode51 chrome/renderer/gpu_video_decoder_host.cc:51: // Save the event handelr before we perform initialization ...
10 years, 3 months ago (2010-08-31 03:03:30 UTC) #12
Alpha Left Google
http://codereview.chromium.org/3215008/diff/7001/6004 File chrome/renderer/gpu_video_decoder_host.cc (right): http://codereview.chromium.org/3215008/diff/7001/6004#newcode51 chrome/renderer/gpu_video_decoder_host.cc:51: // Save the event handelr before we perform initialization ...
10 years, 3 months ago (2010-08-31 19:31:16 UTC) #13
scherkus (not reviewing)
LGTM but you've declared OnGpuChannelConnected() twice -- please fix or something! http://codereview.chromium.org/3215008/diff/16001/17006 File chrome/renderer/gpu_video_service_host.h (right): ...
10 years, 3 months ago (2010-09-01 03:29:40 UTC) #14
Alpha Left Google
10 years, 3 months ago (2010-09-01 06:32:14 UTC) #15
On 2010/09/01 03:29:40, scherkus wrote:
> LGTM but you've declared OnGpuChannelConnected() twice -- please fix or
> something!
> 
> http://codereview.chromium.org/3215008/diff/16001/17006
> File chrome/renderer/gpu_video_service_host.h (right):
> 
> http://codereview.chromium.org/3215008/diff/16001/17006#newcode33
> chrome/renderer/gpu_video_service_host.h:33: void
> OnGpuChannelConnected(GpuChannelHost* channel_host,
> wait.. this method is not declared twice
> 
> what's going on here? :P

Ooops looks like there's a merge problem, will fix that.

Powered by Google App Engine
This is Rietveld 408576698