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

Issue 1323593003: Log both GL and cpu-side memory in GLImage*Memory (Closed)

Created:
5 years, 3 months ago by ericrk
Modified:
5 years, 3 months ago
Reviewers:
reveman, vmiura
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log both GL and cpu-side memory in GLImage*Memory Previously we would only log cpu-side memory when tracking GLImage*Memory. Now we log both the cpu-side and GL side memory. To disambiguate this in the traces, we log these as: gpu/gl/textures/client_#/texture_#/face_#/level_#/texture_memory gpu/gl/textures/client_#/texture_#/face_#/level_#/shared_memory or gpu/gl/textures/client_#/texture_#/face_#/level_#/texture_memory gpu/gl/textures/client_#/texture_#/face_#/level_#/private_memory BUG=514914 Committed: https://crrev.com/7ab865ae23faf16ff07d0f6498e6bfb7d21c7ab4 Cr-Commit-Position: refs/heads/master@{#346676}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Review feedback #

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -5 lines) Patch
M gpu/command_buffer/service/texture_manager.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_memory.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_image_memory.cc View 1 2 3 4 5 1 chunk +16 lines, -3 lines 0 comments Download
M ui/gl/gl_image_ref_counted_memory.cc View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M ui/gl/gl_image_shared_memory.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
ericrk
5 years, 3 months ago (2015-08-28 17:51:34 UTC) #2
reveman
https://codereview.chromium.org/1323593003/diff/20001/ui/gl/gl_image_memory.cc File ui/gl/gl_image_memory.cc (right): https://codereview.chromium.org/1323593003/diff/20001/ui/gl/gl_image_memory.cc#newcode448 ui/gl/gl_image_memory.cc:448: size_t size_in_bytes = egl_texture_id_ ? SizeInBytes(size_, format_) : 0; ...
5 years, 3 months ago (2015-08-28 18:18:44 UTC) #3
ericrk
https://codereview.chromium.org/1323593003/diff/20001/ui/gl/gl_image_memory.cc File ui/gl/gl_image_memory.cc (right): https://codereview.chromium.org/1323593003/diff/20001/ui/gl/gl_image_memory.cc#newcode448 ui/gl/gl_image_memory.cc:448: size_t size_in_bytes = egl_texture_id_ ? SizeInBytes(size_, format_) : 0; ...
5 years, 3 months ago (2015-08-31 17:19:32 UTC) #5
reveman
https://codereview.chromium.org/1323593003/diff/80001/ui/gl/gl_image_memory.cc File ui/gl/gl_image_memory.cc (right): https://codereview.chromium.org/1323593003/diff/80001/ui/gl/gl_image_memory.cc#newcode449 ui/gl/gl_image_memory.cc:449: // Make sure the same image is only ever ...
5 years, 3 months ago (2015-08-31 17:38:48 UTC) #6
ericrk
https://codereview.chromium.org/1323593003/diff/80001/ui/gl/gl_image_memory.cc File ui/gl/gl_image_memory.cc (right): https://codereview.chromium.org/1323593003/diff/80001/ui/gl/gl_image_memory.cc#newcode449 ui/gl/gl_image_memory.cc:449: // Make sure the same image is only ever ...
5 years, 3 months ago (2015-08-31 18:31:14 UTC) #9
reveman
lgtm
5 years, 3 months ago (2015-08-31 22:42:24 UTC) #12
ericrk
Hey Victor, can you take a look at the comment-only change to gpu/command_buffer/service/texture_manager.cc
5 years, 3 months ago (2015-08-31 23:35:22 UTC) #16
vmiura
On 2015/08/31 23:35:22, ericrk wrote: > Hey Victor, can you take a look at the ...
5 years, 3 months ago (2015-09-01 05:37:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323593003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323593003/200001
5 years, 3 months ago (2015-09-01 15:54:46 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:200001)
5 years, 3 months ago (2015-09-01 17:08:05 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 17:09:18 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7ab865ae23faf16ff07d0f6498e6bfb7d21c7ab4
Cr-Commit-Position: refs/heads/master@{#346676}

Powered by Google App Engine
This is Rietveld 408576698