OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pixelRef
(Results
1 - 10
of
10
) sorted by null
/frameworks/base/native/graphics/jni/
bitmap.cpp
65
SkPixelRef*
pixelRef
= GraphicsJNI::refSkPixelRef(env, jbitmap);
66
if (!
pixelRef
) {
70
pixelRef
->lockPixels();
71
void* addr =
pixelRef
->pixels();
73
pixelRef
->unlockPixels();
74
pixelRef
->unref();
89
SkPixelRef*
pixelRef
= GraphicsJNI::refSkPixelRef(env, jbitmap);
90
if (!
pixelRef
) {
98
pixelRef
->notifyPixelsChanged();
100
pixelRef
->unlockPixels()
[
all
...]
/external/skia/tests/
JpegTest.cpp
471
SkPixelRef*
pixelRef
= bitmap.
pixelRef
();
473
bool sizesComputed = (NULL !=
pixelRef
) &&
pixelRef
->getYUV8Planes(yuvSizes, NULL, NULL, NULL);
498
REPORTER_ASSERT(reporter,
pixelRef
->getYUV8Planes(yuvSizes, planes, rowBytes, NULL));
/frameworks/base/libs/hwui/
AssetAtlas.cpp
85
ssize_t index = mEntries.indexOfKey(bitmap->
pixelRef
());
90
ssize_t index = mEntries.indexOfKey(bitmap->
pixelRef
());
120
SkPixelRef*
pixelRef
= reinterpret_cast<SkPixelRef*>(map[i++]);
130
if (!
pixelRef
) continue;
133
x / width, (x +
pixelRef
->info().width()) / width,
134
y / height, (y +
pixelRef
->info().height()) / height);
137
texture->blend = !SkAlphaTypeIsOpaque(
pixelRef
->info().alphaType());
138
texture->width =
pixelRef
->info().width();
139
texture->height =
pixelRef
->info().height();
141
Entry* entry = new Entry(
pixelRef
, texture, mapper, *this)
[
all
...]
AssetAtlas.h
48
* Entry representing the texture and uvMapper of a
PixelRef
in the
78
SkPixelRef*
pixelRef
;
85
Entry(SkPixelRef*
pixelRef
, Texture* texture, const UvMapper& mapper,
89
,
pixelRef
(
pixelRef
)
/external/skia/src/gpu/
SkGrPixelRef.cpp
96
SkGrPixelRef*
pixelRef
= SkNEW_ARGS(SkGrPixelRef, (info, dst));
98
return
pixelRef
;
SkGr.cpp
194
SkPixelRef*
pixelRef
,
231
GrTexture* stretched = create_texture_for_bmp(context, optionalKey, rtDesc,
pixelRef
, NULL, 0);
257
SkAutoTUnref<SkData> data(bm.
pixelRef
()->refEncodedData());
300
return create_texture_for_bmp(ctx, optionalKey, desc, bm.
pixelRef
(), bytes, 0);
306
// Subsets are not supported, the whole
pixelRef
is loaded when using YUV decoding
307
SkPixelRef*
pixelRef
= bm.
pixelRef
();
308
if ((NULL ==
pixelRef
) ||
309
(
pixelRef
->info().width() != bm.info().width()) ||
310
(
pixelRef
->info().height() != bm.info().height()))
[
all
...]
/external/skia/src/core/
SkWriteBuffer.cpp
186
SkPixelRef*
pixelRef
= bitmap.
pixelRef
();
187
if (
pixelRef
) {
188
// see if the
pixelref
already has an encoded version
189
SkAutoDataUnref existingData(
pixelRef
->refEncodedData());
209
// offset to share, since we are effectively creating a new
pixelref
SkBitmap.cpp
206
// ignore dx,dy if there is no
pixelref
441
dst == NULL || (getPixels() == NULL &&
pixelRef
() == NULL)) {
788
SkPixelRef*
pixelRef
= fPixelRef->deepCopy(this->colorType(), this->profileType(), &subset);
789
if (
pixelRef
!= NULL) {
794
dst.setPixelRef(
pixelRef
)->unref();
815
// share the
pixelref
with a custom offset
941
if (dst->
pixelRef
() && dst->
pixelRef
()->info() == fPixelRef->info()) {
942
dst->
pixelRef
()->cloneGenID(*fPixelRef);
982
//
pixelRef
must be non NULL or tmpDst.readyToDraw() would hav
[
all
...]
/external/skia/include/core/
SkBitmap.h
104
/** Return true iff the bitmap has no
pixelref
. Note: this can return true even if the
167
underlying
pixelref
. This state can be set, but it cannot be
169
that share the same
pixelref
.
221
* is non-null, call it to allcoate the
pixelref
. If the ImageInfo requires
270
* Install a
pixelref
that wraps the specified pixels and rowBytes, and
282
* of the created bitmap (and its
pixelRef
).
291
* of the created bitmap (and its
pixelRef
).
296
will automatically release any
pixelref
previously installed. Only call
328
/** Use the standard HeapAllocator to create the
pixelref
that manages the
330
If this is called multiple times, a new
pixelref
object will be create
[
all
...]
/frameworks/base/core/jni/android/graphics/
Bitmap.cpp
86
// on calling rowBytes() on an unlocked
pixelref
, which it will be
[
all
...]
Completed in 1362 milliseconds