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

Issue 1823833003: Take advantage of MojoGetBufferInformation (Closed)

Created:
4 years, 9 months ago by johngro
Modified:
4 years, 9 months ago
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Take advantage of MojoGetBufferInformation Now that we can ask a shared buffer what size it is before we map it, stop explicitly passing the size across the media subsystem's MediaConsumer interface. BUG= R=dalesat@chromium.org, viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/a4ace9188facd5865e145c566aac329b7b1b9f66

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase and address review feedback #

Patch Set 3 : rebase and fix a type mismatch which the android build caught #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -58 lines) Patch
M mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart View 1 6 chunks +5 lines, -19 lines 0 comments Download
M mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc View 1 chunk +1 line, -3 lines 0 comments Download
M mojo/services/media/common/cpp/mapped_shared_buffer.h View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/services/media/common/cpp/mapped_shared_buffer.cc View 1 3 chunks +17 lines, -12 lines 0 comments Download
M mojo/services/media/common/interfaces/media_transport.mojom View 1 1 chunk +1 line, -1 line 0 comments Download
M services/media/common/media_pipe_base.h View 2 chunks +2 lines, -3 lines 0 comments Download
M services/media/common/media_pipe_base.cc View 1 2 2 chunks +17 lines, -6 lines 0 comments Download
M services/media/framework_mojo/mojo_consumer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/media/framework_mojo/mojo_consumer.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M services/media/framework_mojo/mojo_producer.cc View 1 4 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
johngro
4 years, 9 months ago (2016-03-22 00:45:39 UTC) #2
viettrungluu
LGTM apart from the stuff below and preferably with green trybots (not sure why the ...
4 years, 9 months ago (2016-03-22 17:58:58 UTC) #3
dalesat
LGTM after Trung's comments are addressed.
4 years, 9 months ago (2016-03-22 18:15:55 UTC) #4
johngro
re: trybots I think that some of my changes in Dale's code to make git ...
4 years, 9 months ago (2016-03-22 18:16:40 UTC) #5
johngro
4 years, 9 months ago (2016-03-22 22:06:53 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a4ace9188facd5865e145c566aac329b7b1b9f66 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698