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: src/lazy/SkPurgeableMemoryBlock_common.cpp
Issue
12433020
:
Improvements/additions to SkImageCache/SkLazyPixelRef. (Closed)
Base URL: https://skia.googlecode.com/svn/trunk
Patch Set:
Created 7 years, 9 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:
gyp/core.gypi
gyp/ports.gyp
gyp/tools.gyp
include/lazy/SkBitmapFactory.h
include/lazy/SkImageCache.h
include/lazy/SkLruImageCache.h
include/lazy/SkPurgeableImageCache.h
include/ports/SkAshmemImageCache.h
src/lazy/SkBitmapFactory.cpp
src/lazy/SkLazyPixelRef.h
src/lazy/SkLazyPixelRef.cpp
src/lazy/SkLruImageCache.cpp
src/lazy/SkPurgeableImageCache.cpp
src/lazy/SkPurgeableMemoryBlock.h
src/lazy/SkPurgeableMemoryBlock_common.cpp
src/ports/SkAshmemImageCache.cpp
src/ports/SkPurgeableMemoryBlock_android.cpp
src/ports/SkPurgeableMemoryBlock_mac.cpp
src/ports/SkPurgeableMemoryBlock_none.cpp
tests/BitmapFactoryTest.cpp
tools/PictureRenderingFlags.h
tools/PictureRenderingFlags.cpp
tools/bench_pictures_main.cpp
tools/render_pictures_main.cpp
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« src/lazy/SkPurgeableMemoryBlock.h
('k') |
src/ports/SkAshmemImageCache.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 2013 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
#include "SkPurgeableMemoryBlock.h"
9
10
SkPurgeableMemoryBlock* SkPurgeableMemoryBlock::CreatePurgeableMemoryBlock(size_ t size) {
11
SkASSERT(PlatformSupportsPurgeableMemory());
12
if (!PlatformSupportsPurgeableMemory()) {
13
return NULL;
14
}
15
return SkNEW_ARGS(SkPurgeableMemoryBlock, (size));
16
}
17
OLD
NEW
« no previous file with comments
|
« src/lazy/SkPurgeableMemoryBlock.h
('k') |
src/ports/SkAshmemImageCache.cpp »
('j') |
no next file with comments »
Issue 12433020: Improvements/additions to SkImageCache/SkLazyPixelRef. (Closed)
Created 7 years, 9 months ago by scroggo
Modified 7 years, 9 months ago
Reviewers: reed1, djsollen
Base URL: https://skia.googlecode.com/svn/trunk
Comments: 13
This is Rietveld
408576698