Home
last modified time | relevance | path

Searched refs:GrCPixmap (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/gpu/
DGrPixmap.h118 class GrCPixmap : public GrPixmapBase<const void, GrCPixmap> {
120 GrCPixmap() = default;
121 GrCPixmap(const GrCPixmap&) = default;
122 GrCPixmap(GrCPixmap&&) = default;
123 GrCPixmap& operator=(const GrCPixmap&) = default;
124 GrCPixmap& operator=(GrCPixmap&&) = default;
126 /* implicit*/ GrCPixmap(const GrPixmap& pixmap) { in GrCPixmap() function
128 *this = GrCPixmap(pixmap.info(), std::move(storage), pixmap.rowBytes()); in GrCPixmap()
130 *this = GrCPixmap(pixmap.info(), pixmap.addr(), pixmap.rowBytes()); in GrCPixmap()
134 /* implicit */ GrCPixmap(const SkPixmap& pixmap) in GrCPixmap() function
[all …]
DGrDataUtils.h16 class GrCPixmap; variable
39 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY = false);
DSurfaceContext.h120 GrCPixmap src,
131 const GrCPixmap src[],
243 const GrCPixmap src[],
DSurfaceContext.cpp264 GrCPixmap src, in writePixels()
281 const GrCPixmap src[], in writePixels()
321 const GrCPixmap src[], in internalWritePixels()
438 GrCPixmap origSrcBase = src[0]; in internalWritePixels()
439 GrCPixmap srcBase = origSrcBase; in internalWritePixels()
441 srcBase = GrCPixmap(origSrcBase.info().makeColorType(GrColorType::kRGBA_8888), in internalWritePixels()
1293 GrCPixmap(srcInfo, src, srcInfo.minRowBytes())); in transferPixels()
DGrOpFlushState.cpp127 GrCPixmap(srcInfo, buffer, rowBytes))) { in doUpload()
DGrResourceProvider.cpp794 GrCPixmap(srcInfo, inLevel.fPixels, actualRB)); in prepare_level()
DGrDataUtils.cpp571 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels()
DGrDirectContext.cpp621 SkAutoSTArray<15, GrCPixmap> tmpSrc(numLevels); in update_texture_with_pixmaps()
/third_party/skia/tests/
DTransferPixelsTest.cpp214 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
215 GrCPixmap(dstInfo, dstBuffer.get(), dstRowBytes), in basic_transfer_to_test()
276 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
277 GrCPixmap(dstInfo, dstBuffer.get(), dstRowBytes), in basic_transfer_to_test()
408 ComparePixels(GrCPixmap(textureDataInfo, textureData.get(), textureDataRowBytes), in basic_transfer_from_test()
409 GrCPixmap( transferInfo, transferData.get(), fullBufferRowBytes), in basic_transfer_from_test()
446 ComparePixels(GrCPixmap(textureDataInfo, textureDataStart, textureDataRowBytes), in basic_transfer_from_test()
447 GrCPixmap(transferInfo , transferData.get(), partialBufferRowBytes), in basic_transfer_from_test()
DTestUtils.h64 bool ComparePixels(const GrCPixmap& a,
65 const GrCPixmap& b,
DTestUtils.cpp157 bool ComparePixels(const GrCPixmap& a, in ComparePixels()
158 const GrCPixmap& b, in ComparePixels()
220 GrCPixmap srcPixmap(srcInfo, col.vec(), floatBpp); in CheckSolidPixels()
DReadWritePixelsGpuTest.cpp1129 SkTArray<GrCPixmap> levels; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1156 GrCPixmap savedLevel = levels[1]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1166 levels[1] = GrCPixmap(levels[1].info(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1214 GrCPixmap a = levels[i]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1215 GrCPixmap b = read; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1220 a = GrCPixmap(a.info().makeColorType(GrColorType::kRGBA_8888), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1223 b = GrCPixmap(b.info().makeColorType(GrColorType::kRGBA_8888), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFloatingPointTextureTest.cpp53 GrCPixmap controlPixmap(info, controlPixelData.begin(), info.minRowBytes()); in runFPTest()
DCopySurfaceTest.cpp80 GrCPixmap srcPM(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp106 GrCPixmap pixmap(info, pixels.get(), dstContext->width()*sizeof(uint32_t)); in test_copy_to_surface()
DSRGBReadWritePixelsTest.cpp220 GrCPixmap dataPM(writeII, data.get(), kW*sizeof(uint32_t)); in test_write_read()
/third_party/skia/tools/gpu/
DProxyUtils.h18 class GrCPixmap; variable
29 GrCPixmap pixmap);
DProxyUtils.cpp58 GrCPixmap pixmap) { in MakeTextureProxyViewFromData()