OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dstBmp
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/core/
SkConfig8888.h
49
inline void SkCopyConfig8888ToBitmap(const SkBitmap&
dstBmp
,
75
inline void SkCopyConfig8888ToBitmap(const SkBitmap&
dstBmp
,
79
SkASSERT(SkBitmap::kARGB_8888_Config ==
dstBmp
.config());
80
SkAutoLockPixels alp(
dstBmp
);
81
int w =
dstBmp
.width();
82
int h =
dstBmp
.height();
83
size_t dstRowBytes =
dstBmp
.rowBytes();
84
uint32_t* dstPixels = reinterpret_cast<uint32_t*>(
dstBmp
.getPixels());
SkDevice.cpp
229
SkBitmap
dstBmp
= this->accessBitmap(true);
232
SkIRect devRect = SkIRect::MakeWH(
dstBmp
.width(),
dstBmp
.height());
239
if (SkBitmap::kARGB_8888_Config ==
dstBmp
.config() && !
dstBmp
.isNull()) {
241
dstBmp
.extractSubset(&
dstBmp
, spriteRect);
245
dstBmp
.setConfig(SkBitmap::kARGB_8888_Config,
248
if (!
dstBmp
.allocPixels()) {
254
// copy pixels to
dstBmp
and convert from config8888 to native config
[
all
...]
Completed in 514 milliseconds