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
(2)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: tools/SkCodecTools.h
Issue
1344993003
:
Add nanobench tests for BitmapRegionDecoder (Closed)
Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Test on a few more scales
Created 5 years, 3 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/BitmapRegionDecoderBench.h
bench/BitmapRegionDecoderBench.cpp
bench/CodecBench.cpp
bench/CodecBenchPriv.h
bench/DecodingBench.cpp
bench/nanobench.cpp
bench/subset/SubsetBenchPriv.h
bench/subset/SubsetSingleBench.cpp
bench/subset/SubsetTranslateBench.cpp
bench/subset/SubsetZoomBench.cpp
dm/DM.cpp
dm/DMSrcSink.h
dm/DMSrcSink.cpp
gyp/bench.gypi
gyp/visualbench.gyp
tools/SkCodecTools.h
View unified diff
|
Download patch
« bench/nanobench.cpp
('K') |
« gyp/visualbench.gyp
('k') |
no next file »
|
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 2015 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
#ifndef SkCodecTools_DEFINED
9
#define SkCodecTools_DEFINED
10
11
inline float get_scale_from_sample_size(uint32_t sampleSize) {
12
return 1.0f / (float) sampleSize;
13
}
14
15
#endif // SkCodecTools_DEFINED
OLD
NEW
« bench/nanobench.cpp
('K') |
« gyp/visualbench.gyp
('k') |
no next file »
|
no next file with comments »
Issue 1344993003: Add nanobench tests for BitmapRegionDecoder (Closed)
Created 5 years, 3 months ago by msarett
Modified 5 years, 3 months ago
Reviewers: mtklein, scroggo
Base URL: https://skia.googlesource.com/skia.git@master
Comments: 31
This is Rietveld
408576698