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
(121)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: cc/base/scale_translate2d.cc
Issue
2563743004
:
[3/5] Add translated rasterization support for RasterBuffer & below (Closed)
Patch Set: rebase
Created 3 years, 8 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:
cc/base/BUILD.gn
cc/base/scale_translate2d.h
cc/base/scale_translate2d.cc
cc/benchmarks/rasterize_and_record_benchmark_impl.cc
cc/output/software_renderer.cc
cc/raster/bitmap_raster_buffer_provider.cc
cc/raster/gpu_raster_buffer_provider.h
cc/raster/gpu_raster_buffer_provider.cc
cc/raster/one_copy_raster_buffer_provider.h
cc/raster/one_copy_raster_buffer_provider.cc
cc/raster/raster_buffer.h
cc/raster/raster_buffer_provider.h
cc/raster/raster_buffer_provider.cc
cc/raster/raster_buffer_provider_unittest.cc
cc/raster/raster_source.h
cc/raster/raster_source.cc
cc/raster/raster_source_unittest.cc
cc/raster/zero_copy_raster_buffer_provider.cc
cc/tiles/tile_manager.cc
cc/tiles/tile_manager_unittest.cc
View unified diff
|
Download patch
« cc/base/scale_translate2d.h
('K') |
« cc/base/scale_translate2d.h
('k') |
cc/benchmarks/rasterize_and_record_benchmark_impl.cc »
('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
// Copyright 2016 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "cc/base/scale_translate2d.h"
6
7
#include "third_party/skia/include/core/SkCanvas.h"
8
9
namespace cc {
10
11
void ScaleTranslate2d::ApplyToCanvas(SkCanvas* canvas) const {
12
canvas->translate(translation_.x(), translation_.y());
13
canvas->scale(scale_, scale_);
14
}
15
16
} // namespace cc
OLD
NEW
« cc/base/scale_translate2d.h
('K') |
« cc/base/scale_translate2d.h
('k') |
cc/benchmarks/rasterize_and_record_benchmark_impl.cc »
('j') |
no next file with comments »
Issue 2563743004: [3/5] Add translated rasterization support for RasterBuffer & below (Closed)
Created 4 years ago by trchen
Modified 3 years, 8 months ago
Reviewers: enne (OOO), danakj
Base URL:
Comments: 33
This is Rietveld
408576698