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

Issue 414493002: Revert "Revert of Use the GrCacheable ID to eliminate the need for notifications to GrGpuGL when te… (Closed)

Created:
6 years, 5 months ago by bsalomon
Modified:
6 years, 5 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@removestuff
Visibility:
Public.

Description

Revert "Revert of Use the GrCacheable ID to eliminate the need for notifications to GrGpuGL when textures and RTs are… (https://codereview.chromium.org/376703009/)" This reverts commit 249171e7d29b5559f3eefe9dbd437030bfad3fda. Uses 32 bit id instead of 64. Renamed instanceID to uniqueID to match existing code. Committed: https://skia.googlesource.com/skia/+/1c63bf6e90f160c9a0d7484dedfaf87c0aa341e9

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : Address round 2 of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -55 lines) Patch
M include/core/SkTypes.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrCacheable.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/GrBitmapTextContext.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrCacheable.cpp View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLTexture.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.h View 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 15 chunks +20 lines, -35 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bsalomon
6 years, 5 months ago (2014-07-22 17:57:01 UTC) #1
robertphillips
Questions https://codereview.chromium.org/414493002/diff/1/include/gpu/GrCacheable.h File include/gpu/GrCacheable.h (right): https://codereview.chromium.org/414493002/diff/1/include/gpu/GrCacheable.h#newcode87 include/gpu/GrCacheable.h:87: GrResourceCacheEntry* fCacheEntry; // NULL if not in cache ...
6 years, 5 months ago (2014-07-22 18:15:46 UTC) #2
bsalomon
PTAL https://codereview.chromium.org/414493002/diff/1/include/gpu/GrCacheable.h File include/gpu/GrCacheable.h (right): https://codereview.chromium.org/414493002/diff/1/include/gpu/GrCacheable.h#newcode87 include/gpu/GrCacheable.h:87: GrResourceCacheEntry* fCacheEntry; // NULL if not in cache ...
6 years, 5 months ago (2014-07-22 18:48:45 UTC) #3
robertphillips
https://codereview.chromium.org/414493002/diff/20001/src/gpu/GrCacheable.cpp File src/gpu/GrCacheable.cpp (right): https://codereview.chromium.org/414493002/diff/20001/src/gpu/GrCacheable.cpp#newcode15 src/gpu/GrCacheable.cpp:15: id = static_cast<uint32_t>(sk_atomic_inc(&gCacheableID) + 1); Is this test right? ...
6 years, 5 months ago (2014-07-22 19:27:37 UTC) #4
bsalomon
https://codereview.chromium.org/414493002/diff/20001/src/gpu/GrCacheable.cpp File src/gpu/GrCacheable.cpp (right): https://codereview.chromium.org/414493002/diff/20001/src/gpu/GrCacheable.cpp#newcode15 src/gpu/GrCacheable.cpp:15: id = static_cast<uint32_t>(sk_atomic_inc(&gCacheableID) + 1); On 2014/07/22 19:27:37, robertphillips ...
6 years, 5 months ago (2014-07-22 19:49:10 UTC) #5
robertphillips
lgtm
6 years, 5 months ago (2014-07-22 19:53:00 UTC) #6
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 5 months ago (2014-07-22 19:55:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/414493002/40001
6 years, 5 months ago (2014-07-22 19:56:03 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 20:09:50 UTC) #9
Message was sent while issue was closed.
Change committed as 1c63bf6e90f160c9a0d7484dedfaf87c0aa341e9

Powered by Google App Engine
This is Rietveld 408576698