Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(1)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: src/gpu/GrCacheable.cpp
Issue
414013005
:
Merge GrGpuObject and GrCacheable. (Closed)
Base URL: https://skia.googlesource.com/skia.git@uniqueid
Patch Set: Address comments
Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
bench/GrResourceCacheBench.cpp
gyp/gpu.gypi
include/gpu/GrCacheable.h
include/gpu/GrContext.h
include/gpu/GrGpuObject.h
include/gpu/GrTexture.h
src/gpu/GrAtlas.h
src/gpu/GrCacheable.cpp
src/gpu/GrContext.cpp
src/gpu/GrGpu.h
src/gpu/GrGpuObject.cpp
src/gpu/GrResourceCache.h
src/gpu/GrResourceCache.cpp
src/gpu/GrStencilAndCoverTextContext.cpp
tests/ResourceCacheTest.cpp
View unified diff
|
Download patch
« no previous file with comments
|
« src/gpu/GrAtlas.h
('k') |
src/gpu/GrContext.cpp »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
/*
2
* Copyright 2014 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
9
#include "GrCacheable.h"
10
11
uint32_t GrCacheable::CreateUniqueID() {
12
static int32_t gCacheableID = SK_InvalidUniqueID;
13
uint32_t id;
14
do {
15
id = static_cast<uint32_t>(sk_atomic_inc(&gCacheableID) + 1);
16
} while (id == SK_InvalidUniqueID);
17
return id;
18
}
OLD
NEW
« no previous file with comments
|
« src/gpu/GrAtlas.h
('k') |
src/gpu/GrContext.cpp »
('j') |
no next file with comments »
Issue 414013005: Merge GrGpuObject and GrCacheable. (Closed)
Created 6 years, 5 months ago by bsalomon
Modified 6 years, 5 months ago
Reviewers: robertphillips
Base URL: https://skia.googlesource.com/skia.git@uniqueid
Comments: 6
This is Rietveld
408576698