/external/skia/dm/ |
H A D | DMReplayTask.cpp | 32 SkBitmap bitmap; local 33 AllocatePixels(fReference, &bitmap); 34 DrawPicture(recorded, &bitmap); 35 if (!BitmapsEqual(bitmap, fReference)) { 37 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
|
/external/skia/experimental/Intersection/ |
H A D | EdgeWalkerQuadralaterals_Test.cpp | 11 static SkBitmap bitmap; variable 25 testSimplify(path, true, out, bitmap); 40 testSimplify(path, true, out, bitmap); 55 testSimplify(path, true, out, bitmap); 70 testSimplify(path, true, out, bitmap); 85 testSimplify(path, true, out, bitmap); 100 testSimplify(path, true, out, bitmap);
|
H A D | EdgeWalker_Test.h | 15 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap); 24 SkBitmap& bitmap); 47 SkBitmap bitmap; member in struct:State4
|
/external/skia/gm/ |
H A D | bitmappremul.cpp | 14 * This GM checks that bitmap pixels are unpremultiplied before being exported 18 * This tests both the ARGB4444 and ARGB8888 bitmap configurations. 25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { argument 26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, 28 bitmap->eraseColor(SK_ColorWHITE); 32 SkBitmap bitmap; local 33 init_bitmap(kN32_SkColorType, &bitmap); 36 uint32_t* dst = bitmap.getAddr32(0, y); 45 return bitmap; 49 SkBitmap bitmap; local 66 SkBitmap bitmap; local 85 SkBitmap bitmap; local [all...] |
H A D | extractbitmap.cpp | 17 static void create_bitmap(SkBitmap* bitmap) { argument 20 bitmap->allocN32Pixels(W, H); 22 SkCanvas canvas(*bitmap); 44 SkBitmap bitmap; variable 45 create_bitmap(&bitmap); variable 46 int x = bitmap.width() / 2; 47 int y = bitmap.height() / 2; 51 canvas->drawBitmap(bitmap, 0, 0); 56 // Draw the bottom right fourth of the bitmap over the top left 58 bitmap [all...] |
H A D | peekpixels.cpp | 42 SkBitmap bitmap; variable 49 if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) { 50 canvas->drawBitmap(bitmap, 0, 0, NULL); 57 if (ropixels.asROBitmap(&bitmap)) { 58 canvas->drawBitmap(bitmap, 0, 0, NULL);
|
/external/skia/include/effects/ |
H A D | SkBitmapSource.h | 16 static SkBitmapSource* Create(const SkBitmap& bitmap) { argument 17 return SkNEW_ARGS(SkBitmapSource, (bitmap)); 19 static SkBitmapSource* Create(const SkBitmap& bitmap, const SkRect& srcRect, argument 21 return SkNEW_ARGS(SkBitmapSource, (bitmap, srcRect, dstRect)); 28 explicit SkBitmapSource(const SkBitmap& bitmap); 29 SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect);
|
/external/skia/samplecode/ |
H A D | SampleWritePixels.cpp | 19 static void create_bitmap(SkBitmap* bitmap) { argument 22 bitmap->allocN32Pixels(W, H); 24 SkCanvas canvas(*bitmap); 47 SkBitmap bitmap; local 48 create_bitmap(&bitmap); 49 int x = bitmap.width() / 2; 50 int y = bitmap.height() / 2; 53 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 57 canvas->writePixels(bitmap, 0, 0);
|
/external/skia/src/lazy/ |
H A D | SkCachingPixelRef.cpp | 49 SkBitmap bitmap; local 54 &bitmap); 57 if ((!bitmap.setInfo(info, fRowBytes)) || !bitmap.allocPixels()) { 61 SkAutoLockPixels autoLockPixels(bitmap); 62 if (!fImageGenerator->getPixels(info, bitmap.getPixels(), fRowBytes)) { 69 bitmap); 73 // Now bitmap should contain a concrete PixelRef of the decoded 75 SkAutoLockPixels autoLockPixels(bitmap); 76 void* pixels = bitmap [all...] |
/external/skia/src/utils/ |
H A D | SkBitmapHasher.cpp | 33 /*static*/ bool SkBitmapHasher::ComputeDigestInternal(const SkBitmap& bitmap, uint64_t *result) { argument 37 write_int32_to_buffer(SkToU32(bitmap.width()), &out); 38 write_int32_to_buffer(SkToU32(bitmap.height()), &out); 42 if (!enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality)) { 52 /*static*/ bool SkBitmapHasher::ComputeDigest(const SkBitmap& bitmap, uint64_t *result) { argument 53 if (ComputeDigestInternal(bitmap, result)) { 58 // version of the bitmap it will work better? 60 if (!bitmap.copyTo(©Bitmap, kN32_SkColorType)) {
|
/external/skia/tests/ |
H A D | PathOpsOpLoopThreadedTest.cpp | 87 SkBitmap bitmap; local 88 state.fBitmap = &bitmap;
|
H A D | PipeTest.cpp | 16 // Ensures that the pipe gracefully handles drawing an invalid bitmap. 45 SkBitmap bitmap; local 46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64)); 47 SkCanvas canvas(bitmap);
|
H A D | ScaledImageCache.cpp | 18 SkBitmap bitmap; local 19 SkAssertResult(bitmap.allocN32Pixels(kBitmapSize, kBitmapSize)); 25 canvas->drawBitmapRect(bitmap,
|
H A D | TextureCompressionTest.cpp | 22 SkBitmap bitmap; local 29 bool setInfoSuccess = bitmap.setInfo(info); 32 bool allocPixelsSuccess = bitmap.allocPixels(info); 34 bitmap.unlockPixels(); 37 SkAutoDataUnref latcData(SkTextureCompressor::CompressBitmapToFormat(bitmap, kLATCFormat)); 42 * Make sure that we properly fail when we don't have the correct bitmap type. 46 SkBitmap bitmap; local 53 bool setInfoSuccess = bitmap.setInfo(info); 56 bool allocPixelsSuccess = bitmap.allocPixels(info); 58 bitmap 69 SkBitmap bitmap; local [all...] |
/external/skia/tools/ |
H A D | dump_record.cpp | 27 SkBitmap bitmap; local 28 bitmap.allocN32Pixels(w, h); 29 SkCanvas canvas(bitmap);
|
H A D | sk_tool_utils.cpp | 20 void write_pixels(SkCanvas* canvas, const SkBitmap& bitmap, int x, int y, argument 22 SkBitmap tmp(bitmap);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | p2p_hostapd.c | 96 u8 bitmap; local 105 bitmap = P2P_MAN_DEVICE_MANAGEMENT; 107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED; 108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL; 109 *eid++ = bitmap;
|
/external/wpa_supplicant_8/src/ap/ |
H A D | p2p_hostapd.c | 96 u8 bitmap; local 105 bitmap = P2P_MAN_DEVICE_MANAGEMENT; 107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED; 108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL; 109 *eid++ = bitmap;
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | p2p_hostapd.c | 96 u8 bitmap; local 105 bitmap = P2P_MAN_DEVICE_MANAGEMENT; 107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED; 108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL; 109 *eid++ = bitmap;
|
/external/chromium_org/cc/layers/ |
H A D | picture_image_layer.cc | 31 void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) { argument 36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) 39 bitmap_ = bitmap;
|
/external/chromium_org/cc/output/ |
H A D | copy_output_request.cc | 58 void CopyOutputRequest::SendBitmapResult(scoped_ptr<SkBitmap> bitmap) { argument 59 SendResult(CopyOutputResult::CreateBitmapResult(bitmap.Pass()).Pass());
|
H A D | copy_output_result.h | 25 scoped_ptr<SkBitmap> bitmap) { 26 return make_scoped_ptr(new CopyOutputResult(bitmap.Pass())); 49 explicit CopyOutputResult(scoped_ptr<SkBitmap> bitmap); 24 CreateBitmapResult( scoped_ptr<SkBitmap> bitmap) argument
|
/external/chromium_org/cc/resources/ |
H A D | picture_pile_impl_perftest.cc | 53 SkBitmap bitmap; local 54 bitmap.allocN32Pixels(1, 1); 55 SkCanvas canvas(bitmap);
|
H A D | ui_resource_bitmap.cc | 83 const UIResourceBitmap& bitmap) : bitmap_(bitmap) { 82 AutoLockUIResourceBitmap( const UIResourceBitmap& bitmap) argument
|
/external/chromium_org/cc/test/ |
H A D | pixel_test_utils.cc | 18 bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, argument 21 if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, 32 std::string GetPNGDataUrl(const SkBitmap& bitmap) { argument 34 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); 43 bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) { argument 44 DCHECK(bitmap); 49 bitmap);
|