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

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)

Created:
4 years, 3 months ago by ccameron
Modified:
4 years, 3 months ago
Reviewers:
erikchen
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, piman+watch_chromium.org, kalyank, cc-bugs_chromium.org, danakj+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't include the tracing in gpu_memory_buffer.h This will be included in blink, and we should avoid taking up these dependencies. It turns out that this file was pulling in many required headers in many files. Do these includes directly. TBR=hubbe,torne,piman BUG=648707 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/9c48d1d4786798ab90251e4131a2e808faffe525 Cr-Commit-Position: refs/heads/master@{#420232}

Patch Set 1 #

Patch Set 2 : Add missed files #

Patch Set 3 : More and more and more #

Patch Set 4 : Fix Android build #

Total comments: 2

Patch Set 5 : Fix windows and android (hopefully) #

Patch Set 6 : fix windows build #

Patch Set 7 : more windows fixes #

Patch Set 8 : More windows fixes #

Patch Set 9 : Rebase #

Patch Set 10 : And erik's patch #

Patch Set 11 : Fix linux build again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -30 lines) Patch
M android_webview/browser/render_thread_manager.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/quads/render_pass.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/raster/one_copy_raster_buffer_provider.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/raster/staging_buffer_pool.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/raster/staging_buffer_pool.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/video_resource_updater_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/test_in_process_context_provider.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/picture_layer_tiling_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/tile.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/display_compositor/yuv_readback_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/software_output_device_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/surface_utils.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/canvas_capture_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/canvas_capture_handler_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/html_video_element_capturer_source_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/tests/es3_misc_functions_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_fence_sync_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/client/gpu_memory_buffer_impl_test_template.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/base/android/stream_texture_wrapper.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/base/video_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/capture/video/file_video_capture_device.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/capture/video/mac/video_capture_device_avfoundation_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/test/utility/barcode.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/test/utility/video_utility.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/cdm/simple_cdm_allocator.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/vpx_video_decoder_fuzzertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M media/gpu/media_foundation_video_encode_accelerator_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M media/gpu/media_foundation_video_encode_accelerator_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/vt_video_encode_accelerator_mac.h View 1 chunk +6 lines, -0 lines 0 comments Download
M media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/services/mojo_cdm_allocator.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/muxers/webm_muxer.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M media/muxers/webm_muxer_fuzzertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gpu_memory_buffer.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/gfx/gpu_memory_buffer.cc View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
A ui/gfx/gpu_memory_buffer_tracing.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
A + ui/gfx/gpu_memory_buffer_tracing.cc View 1 2 3 4 2 chunks +2 lines, -14 lines 0 comments Download

Messages

Total messages: 48 (42 generated)
ccameron
So, that ended up being a really long thread to pull ... This takes the ...
4 years, 3 months ago (2016-09-20 20:21:23 UTC) #17
erikchen
yay for IWYU. minor nit, lgtm. https://codereview.chromium.org/2354903003/diff/60001/ui/gfx/gpu_memory_buffer.cc File ui/gfx/gpu_memory_buffer.cc (right): https://codereview.chromium.org/2354903003/diff/60001/ui/gfx/gpu_memory_buffer.cc#newcode18 ui/gfx/gpu_memory_buffer.cc:18: buffer_id); Why is ...
4 years, 3 months ago (2016-09-20 20:33:27 UTC) #18
ccameron
Thanks! Trying to ram this through now (terribly moving target ... Linux builds got 2 ...
4 years, 3 months ago (2016-09-22 00:07:21 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2354903003/200001
4 years, 3 months ago (2016-09-22 00:08:12 UTC) #44
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-22 01:46:43 UTC) #46
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 01:48:14 UTC) #48
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/9c48d1d4786798ab90251e4131a2e808faffe525
Cr-Commit-Position: refs/heads/master@{#420232}

Powered by Google App Engine
This is Rietveld 408576698