OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dstBmp
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/skia/src/core/
SkConfig8888.h
62
static inline void SkCopyConfig8888ToBitmap(const SkBitmap&
dstBmp
,
66
SkASSERT(SkBitmap::kARGB_8888_Config ==
dstBmp
.config());
67
SkAutoLockPixels alp(
dstBmp
);
68
int w =
dstBmp
.width();
69
int h =
dstBmp
.height();
70
size_t dstRowBytes =
dstBmp
.rowBytes();
71
uint32_t* dstPixels = reinterpret_cast<uint32_t*>(
dstBmp
.getPixels());
SkBitmapDevice.cpp
152
SkBitmap
dstBmp
= this->accessBitmap(true);
155
SkIRect devRect = SkIRect::MakeWH(
dstBmp
.width(),
dstBmp
.height());
162
if (SkBitmap::kARGB_8888_Config ==
dstBmp
.config() && !
dstBmp
.isNull()) {
164
dstBmp
.extractSubset(&
dstBmp
, spriteRect);
168
dstBmp
.setConfig(SkBitmap::kARGB_8888_Config,
171
if (!
dstBmp
.allocPixels()) {
177
// copy pixels to
dstBmp
and convert from config8888 to native config
[
all
...]
/external/skia/src/core/
SkConfig8888.h
62
static inline void SkCopyConfig8888ToBitmap(const SkBitmap&
dstBmp
,
66
SkASSERT(SkBitmap::kARGB_8888_Config ==
dstBmp
.config());
67
SkAutoLockPixels alp(
dstBmp
);
68
int w =
dstBmp
.width();
69
int h =
dstBmp
.height();
70
size_t dstRowBytes =
dstBmp
.rowBytes();
71
uint32_t* dstPixels = reinterpret_cast<uint32_t*>(
dstBmp
.getPixels());
SkBitmapDevice.cpp
152
SkBitmap
dstBmp
= this->accessBitmap(true);
155
SkIRect devRect = SkIRect::MakeWH(
dstBmp
.width(),
dstBmp
.height());
162
if (SkBitmap::kARGB_8888_Config ==
dstBmp
.config() && !
dstBmp
.isNull()) {
164
dstBmp
.extractSubset(&
dstBmp
, spriteRect);
168
dstBmp
.setConfig(SkBitmap::kARGB_8888_Config,
171
if (!
dstBmp
.allocPixels()) {
177
// copy pixels to
dstBmp
and convert from config8888 to native config
[
all
...]
/external/skia/gm/
xfermodes2.cpp
108
SkBitmap
dstBmp
;
109
dstBmp
.setConfig(SkBitmap::kARGB_8888_Config, kSize, kSize);
110
dstBmp
.allocPixels();
111
SkAutoLockPixels dstAlp(
dstBmp
);
112
SkPMColor* pixels = reinterpret_cast<SkPMColor*>(
dstBmp
.getPixels());
121
fSrc.reset(SkShader::CreateBitmapShader(
dstBmp
,
Completed in 26 milliseconds