/third_party/skia/src/core/ |
D | SkPixmap.cpp | 305 uint32_t value = *this->addr32(x, y); in getColor() 311 uint32_t value = *this->addr32(x, y); in getColor() 317 uint32_t value = *this->addr32(x, y); in getColor() 321 uint32_t value = *this->addr32(x, y); in getColor() 326 uint32_t value = *this->addr32(x, y); in getColor() 336 uint32_t value = *this->addr32(x, y); in getColor() 355 uint32_t value = *this->addr32(x, y); in getColor() 363 uint32_t value = *this->addr32(x, y); in getColor() 372 uint32_t value = *this->addr32(x, y); in getColor() 513 const SkPMColor* row = this->addr32(0, y); in computeIsOpaque() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 39 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect() 71 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
|
D | SkBitmapProcState.cpp | 43 const SkPMColor* src = s.fPixmap.addr32(0, dstY); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 308 const SkPMColor* row = s.fPixmap.addr32(0, iy); in Clamp_S32_D32_nofilter_trans_shaderproc() 370 const SkPMColor* row = s.fPixmap.addr32(0, iy); in Repeat_S32_D32_nofilter_trans_shaderproc() 495 const SkPMColor* row0 = s.fPixmap.addr32(0, iY0); in S32_D32_constX_shaderproc() 499 const SkPMColor* row1 = s.fPixmap.addr32(0, iY1); in S32_D32_constX_shaderproc()
|
D | SkSpriteBlitter_RGB565.cpp | 43 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect() 132 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
|
/third_party/skia/include/core/ |
D | SkPixmap.h | 323 const uint32_t* addr32() const { in addr32() function 405 const uint32_t* addr32(int x, int y) const { in addr32() function 408 return (const uint32_t*)((const char*)this->addr32() + (size_t)y * fRowBytes + (x << 2)); in addr32() 509 return const_cast<uint32_t*>(this->addr32(x, y)); in writable_addr32()
|
/third_party/skia/docs/examples/ |
D | Bitmap_pixmap.cpp | 17 SkPMColor pmWhite = *pixmap.addr32(0, 0); in draw() 20 SkDebugf("%c", *pixmap.addr32(x, y) == pmWhite ? '-' : 'x'); in draw()
|
D | Pixmap_addr32.cpp | 13 pixmap.addr32() == storage ? '=' : '!'); in draw()
|
D | Pixmap_addr32_2.cpp | 13 pixmap.addr32(1, 2) == &storage[1 + 2 * w] ? '=' : '!'); in draw()
|
D | Bitmap_peekPixels.cpp | 16 const SkPMColor* pixels = pixmap.addr32(); in draw()
|
D | Canvas_copy_const_SkBitmap.cpp | 16 const SkPMColor* pixels = pixmap.addr32(); // points to top-left of bitmap in draw()
|
D | Surface_MakeRasterN32Premul.cpp | 12 const uint32_t* colorPtr = pixmap.addr32(); in draw()
|
D | Canvas_const_SkBitmap_const_SkSurfaceProps.cpp | 16 const SkPMColor* pixels = pixmap.addr32(); // points to top-left of bitmap in draw()
|
D | Image_peekPixels.cpp | 17 const SkPMColor* pixels = pixmap.addr32();
|
D | Surface_MakeRaster_2.cpp | 13 const uint32_t* colorPtr = pixmap.addr32(); in draw()
|
D | Surface_MakeRaster.cpp | 14 const uint32_t* colorPtr = pixmap.addr32(); in draw()
|
/third_party/skia/tools/ |
D | image_diff_metric.cpp | 45 const uint8_t* row1 = reinterpret_cast<const uint8_t*>(bm[0].pixmap().addr32(0, y)); in main() 46 const uint8_t* row2 = reinterpret_cast<const uint8_t*>(bm[1].pixmap().addr32(0, y)); in main()
|
/third_party/skia/tests/ |
D | SurfaceTest.cpp | 232 REPORTER_ASSERT(reporter, pmcolor == *pmap.addr32()); in test_canvas_peek() 686 REPORTER_ASSERT(reporter, *pixmap.addr32(i, j) == 0); in DEF_TEST() 772 uint32_t pixel = readback.addr32()[y * w + x]; in test_surface_context_clear() 869 REPORTER_ASSERT(reporter, rectColorPM == readback.addr32()[x + y * kW]); in test_surface_draw_partially() 870 if (rectColorPM != readback.addr32()[x + y * kW]) { in test_surface_draw_partially() 872 readback.addr32()[x + y * kW], rectColorPM, x, y); in test_surface_draw_partially() 880 REPORTER_ASSERT(reporter, origColorPM == readback.addr32()[x + y * kW]); in test_surface_draw_partially() 881 if (origColorPM != readback.addr32()[x + y * kW]) { in test_surface_draw_partially() 883 readback.addr32()[x + y * kW], origColorPM, x, y); in test_surface_draw_partially() 1066 auto found = *pm.addr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GrSurfaceTest.cpp | 277 if (!checkColor(combo, readback.addr32()[i])) { in DEF_GPUTEST() 308 if (!checkColor(combo, readback.addr32()[i])) { in DEF_GPUTEST() 385 fillPixels(&write, [&srcPixmap](int x, int y) { return ~*srcPixmap.addr32(); }); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 395 write.addr32(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | TestUtils.cpp | 43 if (pm.addr32()[i] != expectedPixelValues[i]) { in TestReadPixels() 45 testName, i, expectedPixelValues[i], pm.addr32()[i]); in TestReadPixels()
|
D | ImageTest.cpp | 78 REPORTER_ASSERT(reporter, !memcmp(pmapA.addr32(0, y), pmapB.addr32(0, y), widthBytes)); in assert_equal() 210 const bool sameMutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST() 219 const bool sameImmutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST() 804 REPORTER_ASSERT(reporter, SkPreMultiplyColor(SK_ColorWHITE) == *pm.addr32(0, 0)); in test_peek() 1316 uint32_t pixel = *pmap->addr32(x, y); in check_scaled_pixels()
|
/third_party/skia/src/pdf/ |
D | SkPDFBitmap.cpp | 54 const SkColor* scanline = bm.addr32(0, y); in get_neighbor_avg_color() 112 const uint32_t* ptr = pm.addr32(); in do_deflated_alpha() 168 const SkColor* src = pm.addr32(0, y); in do_deflated_image()
|
/third_party/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 62 uint32_t v = SkGetPackedR32(*pmap.addr32(x, y)) + SkGetPackedR32(*pmap.addr32(x, y + 1)); in draw_path_cell()
|
/third_party/skia/tools/skqp/ |
D | make_skqp_model.cpp | 32 memcpy(color, pm.addr32(x, y), 4); in update()
|
/third_party/skia/tools/skqp/src/ |
D | skqp_model.cpp | 25 return *pm.addr32(p.x(), p.y()); in color()
|
/third_party/skia/src/opts/ |
D | SkBitmapProcState_opts.h | 53 const uint32_t* row0 = s.fPixmap.addr32(0,y0); in S32_alpha_D32_filter_DX() 54 const uint32_t* row1 = s.fPixmap.addr32(0,y1); in S32_alpha_D32_filter_DX()
|