/third_party/skia/docs/examples/ |
H A D | Pixmap_writable_addr.cpp | 11 SkDebugf("pixmap.writable_addr() %c= (void *)storage\n", in REG_FIDDLE() 12 pixmap.writable_addr() == (void *)storage ? '=' : '!'); in REG_FIDDLE() 14 *(SkPMColor*)pixmap.writable_addr() = 0xFFFFFFFF; in REG_FIDDLE()
|
H A D | Pixmap_writable_addr_2.cpp | 11 SkDebugf("pixmap.writable_addr() %c= (void *)storage\n", in REG_FIDDLE() 12 pixmap.writable_addr() == (void *)storage ? '=' : '!'); in REG_FIDDLE() 14 *(SkPMColor*)pixmap.writable_addr(1, 2) = 0xFFFFFFFF; in REG_FIDDLE()
|
/third_party/skia/include/core/ |
H A D | SkPixmap.h | 454 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr() function in SkPixmap 465 void* writable_addr(int x, int y) const { in writable_addr() function in SkPixmap 483 /** Returns writable_addr pixel address at (x, y). Result is addressable as unsigned 619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels() 640 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), 0, 0); in readPixels()
|
H A D | SkImageGenerator.h | 87 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes()); in getPixels()
|
H A D | SkBitmap.h | 264 void* getPixels() const { return fPixmap.writable_addr(); } in getPixels()
|
H A D | SkSurface.h | 79 return MakeRasterDirect(pm.info(), pm.writable_addr(), pm.rowBytes(), props); in MakeRasterDirect()
|
/third_party/skia/gm/ |
H A D | imagefromyuvtextures.cpp | 69 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes() 70 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes() 71 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes() 72 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes()
|
H A D | mac_aa_explorer.cpp | 67 auto ctx = CGBitmapContextCreate(pm.writable_addr(), pm.width(), pm.height(), 8, pm.rowBytes(), in make_cg_ctx()
|
/third_party/skia/src/image/ |
H A D | SkReadPixelsRec.h | 27 : fPixels(pm.writable_addr()) in SkReadPixelsRec()
|
H A D | SkImage_Lazy.cpp | 313 yuvaPixmaps.plane(i).writable_addr(), in textureProxyViewFromPlanes()
|
/third_party/skia/include/utils/mac/ |
H A D | SkCGUtils.h | 51 return SkCopyPixelsFromCGImage(dst.info(), dst.rowBytes(), dst.writable_addr(), src); in SkCopyPixelsFromCGImage()
|
/third_party/skia/tools/ |
H A D | imgcvt.cpp | 131 pixmap.writable_addr(), fmt,alpha, &dst_profile, in main()
|
H A D | ToolUtils.h | 283 return fPM.writable_addr(fLoc.fX, fLoc.fY); in next()
|
/third_party/skia/src/gpu/ |
H A D | GrPixmap.h | 94 : GrPixmapBase(pixmap.info(), pixmap.writable_addr(), pixmap.rowBytes()) {} in GrPixmap()
|
/third_party/skia/src/codec/ |
H A D | SkJpegCodec.cpp | 922 rowptrs[i] = static_cast<JSAMPLE*>(planes[0].writable_addr()) + i* planes[0].rowBytes(); in onGetYUVAPlanes() 926 static_cast<JSAMPLE*>(planes[1].writable_addr()) + i* planes[1].rowBytes(); in onGetYUVAPlanes() 928 static_cast<JSAMPLE*>(planes[2].writable_addr()) + i* planes[2].rowBytes(); in onGetYUVAPlanes()
|
/third_party/skia/src/core/ |
H A D | SkBlitter_Sprite.cpp | 86 char* dst = (char*)fDst.writable_addr(x, y);
|
H A D | SkPixmap.cpp | 248 dst.writable_addr(), in scalePixels() 585 auto surf = SkSurface::MakeRasterDirect(dst.info(), dst.writable_addr(), dst.rowBytes()); in draw_orientation()
|
H A D | SkRasterPipelineBlitter.cpp | 269 void* p = dst->writable_addr(x,y); in Create() 293 blitter->fDst.writable_addr(), in Create()
|
H A D | SkBitmap.cpp | 326 return this->installPixels(pixmap.info(), pixmap.writable_addr(), pixmap.rowBytes(), in installPixels() 471 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
|
H A D | SkYUVAPixmaps.cpp | 220 SkRectMemcpy(d.writable_addr(), in MakeCopy()
|
/third_party/skia/src/utils/mac/ |
H A D | SkCreateCGImageRef.cpp | 172 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext()
|
/third_party/skia/src/utils/ |
H A D | SkCanvasStateUtils.cpp | 216 layerState->raster.pixels = pmap.writable_addr(); in CaptureCanvasState()
|
/third_party/skia/include/codec/ |
H A D | SkCodec.h | 382 return this->getPixels(pm.info(), pm.writable_addr(), pm.rowBytes(), opts); in getPixels()
|
/third_party/skia/src/gpu/ops/ |
H A D | SmallPathRenderer.cpp | 410 sk_bzero(dst.writable_addr(), dst.computeByteSize()); in addDFPathToAtlas() 489 sk_bzero(dst.writable_addr(), dst.computeByteSize()); in addBMPathToAtlas()
|
/third_party/skia/experimental/graphite/src/ |
H A D | Device.cpp | 135 memcpy(pm.writable_addr(), mappedMemory, size); in onReadPixels()
|