Home
last modified time | relevance | path

Searched refs:addr32 (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/src/core/
DSkPixmap.cpp305 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 …]
DSkSpriteBlitter_ARGB32.cpp39 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()
DSkBitmapProcState.cpp43 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()
DSkSpriteBlitter_RGB565.cpp43 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/
DSkPixmap.h323 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/
DBitmap_pixmap.cpp17 SkPMColor pmWhite = *pixmap.addr32(0, 0); in draw()
20 SkDebugf("%c", *pixmap.addr32(x, y) == pmWhite ? '-' : 'x'); in draw()
DPixmap_addr32.cpp13 pixmap.addr32() == storage ? '=' : '!'); in draw()
DPixmap_addr32_2.cpp13 pixmap.addr32(1, 2) == &storage[1 + 2 * w] ? '=' : '!'); in draw()
DBitmap_peekPixels.cpp16 const SkPMColor* pixels = pixmap.addr32(); in draw()
DCanvas_copy_const_SkBitmap.cpp16 const SkPMColor* pixels = pixmap.addr32(); // points to top-left of bitmap in draw()
DSurface_MakeRasterN32Premul.cpp12 const uint32_t* colorPtr = pixmap.addr32(); in draw()
DCanvas_const_SkBitmap_const_SkSurfaceProps.cpp16 const SkPMColor* pixels = pixmap.addr32(); // points to top-left of bitmap in draw()
DImage_peekPixels.cpp17 const SkPMColor* pixels = pixmap.addr32();
DSurface_MakeRaster_2.cpp13 const uint32_t* colorPtr = pixmap.addr32(); in draw()
DSurface_MakeRaster.cpp14 const uint32_t* colorPtr = pixmap.addr32(); in draw()
/third_party/skia/tools/
Dimage_diff_metric.cpp45 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/
DSurfaceTest.cpp232 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 …]
DGrSurfaceTest.cpp277 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()
DTestUtils.cpp43 if (pm.addr32()[i] != expectedPixelValues[i]) { in TestReadPixels()
45 testName, i, expectedPixelValues[i], pm.addr32()[i]); in TestReadPixels()
DImageTest.cpp78 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/
DSkPDFBitmap.cpp54 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/
Dpath_stroke_with_zero_length.cpp62 uint32_t v = SkGetPackedR32(*pmap.addr32(x, y)) + SkGetPackedR32(*pmap.addr32(x, y + 1)); in draw_path_cell()
/third_party/skia/tools/skqp/
Dmake_skqp_model.cpp32 memcpy(color, pm.addr32(x, y), 4); in update()
/third_party/skia/tools/skqp/src/
Dskqp_model.cpp25 return *pm.addr32(p.x(), p.y()); in color()
/third_party/skia/src/opts/
DSkBitmapProcState_opts.h53 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()

12