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

Issue 1299713003: GLImage::OnMemoryDump Stubs + Some Impls (Closed)

Created:
5 years, 4 months ago by ericrk
Modified:
5 years, 4 months ago
Reviewers:
danakj, reveman, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org, cblume, Primiano Tucci (use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@images1.3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements GLImage*Memory::OnMemoryDump and GLImageIOSurface::OnMemoryDump and adds stubs for other types. Also adds code to iterate GLImages in TextureManager::OnMemoryDump. BUG=514914 Committed: https://crrev.com/28a82a0e2228a8c2b69ab3cb9ddd05d9350643ae Cr-Commit-Position: refs/heads/master@{#344751}

Patch Set 1 : #

Total comments: 20

Patch Set 2 : review feedback #

Total comments: 4

Patch Set 3 : \review feedback #

Patch Set 4 : Fix android build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -8 lines) Patch
M content/common/gpu/gpu_memory_buffer_factory_io_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/stream_texture_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/stream_texture_android.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 chunks +38 lines, -4 lines 0 comments Download
M ui/gfx/generic_shared_memory_id.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_image.h View 1 2 chunks +12 lines, -0 lines 0 comments Download
M ui/gl/gl_image_glx.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_glx.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M ui/gl/gl_image_io_surface.mm View 1 2 chunks +23 lines, -2 lines 0 comments Download
M ui/gl/gl_image_memory.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gl/gl_image_memory.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ui/gl/gl_image_shared_memory.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_shared_memory.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download
M ui/gl/gl_image_stub.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_surface_texture.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_surface_texture.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
ericrk
https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode1299 gpu/command_buffer/service/texture_manager.cc:1299: const std::string& dump_name) const { David, I remember you ...
5 years, 4 months ago (2015-08-18 07:39:53 UTC) #4
reveman
https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode2091 gpu/command_buffer/service/texture_manager.cc:2091: if (ref->texture()->HasImages()) { refactor this as discussed https://codereview.chromium.org/1299713003/diff/40001/ui/gl/gl_image.h File ...
5 years, 4 months ago (2015-08-18 08:32:52 UTC) #5
ericrk
Thanks for the feedback - incorporated changes from both CLs. https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1299713003/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode1299 ...
5 years, 4 months ago (2015-08-18 09:00:47 UTC) #7
reveman
https://codereview.chromium.org/1299713003/diff/80001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1299713003/diff/80001/gpu/command_buffer/service/texture_manager.cc#newcode1304 gpu/command_buffer/service/texture_manager.cc:1304: if (level_infos[level_index].image) { should we dump the memory used ...
5 years, 4 months ago (2015-08-18 09:05:57 UTC) #8
ericrk
+piman for gpu related paths +danakj for ui/gfx https://codereview.chromium.org/1299713003/diff/80001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1299713003/diff/80001/gpu/command_buffer/service/texture_manager.cc#newcode1304 gpu/command_buffer/service/texture_manager.cc:1304: if ...
5 years, 4 months ago (2015-08-18 10:03:53 UTC) #10
reveman
lgtm
5 years, 4 months ago (2015-08-18 10:06:24 UTC) #11
ericrk
5 years, 4 months ago (2015-08-18 14:19:39 UTC) #12
ericrk
5 years, 4 months ago (2015-08-18 15:04:57 UTC) #13
piman
rs lgtm
5 years, 4 months ago (2015-08-18 15:08:45 UTC) #14
danakj
ui/gfx lgtm
5 years, 4 months ago (2015-08-18 17:46:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299713003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299713003/100001
5 years, 4 months ago (2015-08-20 13:55:21 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/122344)
5 years, 4 months ago (2015-08-20 14:15:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299713003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299713003/120001
5 years, 4 months ago (2015-08-20 17:34:06 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/58398)
5 years, 4 months ago (2015-08-20 20:46:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299713003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299713003/120001
5 years, 4 months ago (2015-08-21 10:40:39 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 4 months ago (2015-08-21 13:28:41 UTC) #29
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 13:29:12 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/28a82a0e2228a8c2b69ab3cb9ddd05d9350643ae
Cr-Commit-Position: refs/heads/master@{#344751}

Powered by Google App Engine
This is Rietveld 408576698