Searched defs:bitmap1 (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/ui/gfx/image/
H A Dimage_util_unittest.cc32 SkBitmap bitmap1; local
33 bitmap1.allocN32Pixels(16, 16);
34 bitmap1.eraseColor(SK_ColorTRANSPARENT);
35 bitmap1.eraseArea(SkIRect::MakeLTRB(3, 3, 14, 14), SK_ColorYELLOW);
36 gfx::ImageSkia img = gfx::ImageSkia::CreateFrom1xBitmap(bitmap1);
H A Dimage_unittest.cc148 const SkBitmap* bitmap1 = image.ToSkBitmap(); local
150 EXPECT_TRUE(bitmap1);
151 EXPECT_FALSE(bitmap1->isNull());
152 EXPECT_EQ(bitmap1, bitmap2);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dbitmap.c23 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, argument
30 dst[k] = bitmap1[k] | bitmap2[k];
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dbrowser_action_apitest.cc62 SkBitmap bitmap1 = i1.GetRepresentation(scale).sk_bitmap(); local
64 return gfx::BitmapsAreEqual(bitmap1, bitmap2);
/external/chromium_org/ui/gfx/
H A Dskia_util.cc150 bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2) { argument
156 bitmap1.lockPixels();
157 addr1 = bitmap1.getAddr32(0, 0);
158 size1 = bitmap1.getSize();
159 bitmap1.unlockPixels();
166 return (size1 == size2) && (0 == memcmp(addr1, addr2, bitmap1.getSize()));
/external/chromium_org/components/search_provider_logos/
H A Dlogo_tracker_unittest.cc46 bool AreImagesSameSize(const SkBitmap& bitmap1, const SkBitmap& bitmap2) { argument
47 return bitmap1.width() == bitmap2.width() &&
48 bitmap1.height() == bitmap2.height();
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
H A Dmeta.c2623 const GLubyte *bitmap1)
2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1);
2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1);
2740 if (!bitmap1) {
2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1,
2620 _mesa_meta_Bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap1) argument
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c2623 const GLubyte *bitmap1)
2646 _swrast_Bitmap(ctx, x, y, width, height, unpack, bitmap1);
2739 bitmap1 = _mesa_map_pbo_source(ctx, &unpackSave, bitmap1);
2740 if (!bitmap1) {
2748 _mesa_expand_bitmap(width, height, &unpackSave, bitmap1,
2620 _mesa_meta_Bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap1) argument

Completed in 453 milliseconds