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

Issue 7659001: Support multiple HW video decoders per context. (Closed)

Created:
9 years, 4 months ago by Ami GONE FROM CHROMIUM
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, apatrick_chromium, cfreeman, vhiremath, vjain, piman
Visibility:
Public.

Description

Support multiple HW video decoders per context. Enhanced gles2.cc to display two decoders in the same context to demo this capability. BUG=92598 TEST=ovdatest passes, gles2 works, trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97066

Patch Set 1 #

Patch Set 2 : . #

Total comments: 18

Patch Set 3 : . #

Total comments: 7

Patch Set 4 : . #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -176 lines) Patch
M content/common/gpu/gpu_channel.h View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 2 chunks +4 lines, -3 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 chunk +8 lines, -7 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.h View 3 chunks +9 lines, -5 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.cc View 1 4 chunks +19 lines, -12 lines 0 comments Download
M content/renderer/gpu/gpu_channel_host.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_channel_host.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.h View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.cc View 5 chunks +16 lines, -14 lines 0 comments Download
M ppapi/examples/gles2/gles2.cc View 1 2 3 14 chunks +163 lines, -113 lines 0 comments Download
M ppapi/examples/gles2/gles2.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Ami GONE FROM CHROMIUM
apatrick: please OWNERS-review and sanity check my changes to expose routing a little more than ...
9 years, 4 months ago (2011-08-15 23:50:55 UTC) #1
apatrick_chromium
LGTM for GPU stuff.
9 years, 4 months ago (2011-08-16 00:08:55 UTC) #2
vrk (LEFT CHROMIUM)
As we discussed in person: Try making struct DecoderState -> class DecoderClient, but if that's ...
9 years, 4 months ago (2011-08-16 22:06:21 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7659001/diff/2001/content/renderer/gpu/gpu_video_decode_accelerator_host.h File content/renderer/gpu/gpu_video_decode_accelerator_host.h (right): http://codereview.chromium.org/7659001/diff/2001/content/renderer/gpu/gpu_video_decode_accelerator_host.h#newcode23 content/renderer/gpu/gpu_video_decode_accelerator_host.h:23: // |router| is used to dispatch IPC messages to ...
9 years, 4 months ago (2011-08-16 22:56:26 UTC) #4
vrk (LEFT CHROMIUM)
LGTM with nits http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.cc File ppapi/examples/gles2/gles2.cc (right): http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.cc#newcode78 ppapi/examples/gles2/gles2.cc:78: class DecoderState { nit: change class ...
9 years, 4 months ago (2011-08-16 23:53:11 UTC) #5
Ami GONE FROM CHROMIUM
9 years, 4 months ago (2011-08-17 00:01:58 UTC) #6
http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.cc
File ppapi/examples/gles2/gles2.cc (right):

http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.c...
ppapi/examples/gles2/gles2.cc:78: class DecoderState {
On 2011/08/16 23:53:11, Victoria Kirst wrote:
> nit: change class name + comment? Feels like there's too much behavior for
this
> to be "State"; I defer to you though!

I'm not crazy about it, but s/state/done/g

http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.c...
ppapi/examples/gles2/gles2.cc:85: void DecodeNextNALU();
On 2011/08/16 23:53:11, Victoria Kirst wrote:
> I think this and the next 3 methods can be private.

Done.

http://codereview.chromium.org/7659001/diff/8001/ppapi/examples/gles2/gles2.c...
ppapi/examples/gles2/gles2.cc:92: PP_Size dimensions);
On 2011/08/16 23:53:11, Victoria Kirst wrote:
> nit: indentation

Done.

Powered by Google App Engine
This is Rietveld 408576698