Home
last modified time | relevance | path

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

/external/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);
DGrSurfaceContext.h137 GrCPixmap src,
148 const GrCPixmap src[],
262 const GrCPixmap src[],
DGrSurfaceContext.cpp359 GrCPixmap src, in writePixels()
376 const GrCPixmap src[], in writePixels()
416 const GrCPixmap src[], in internalWritePixels()
527 GrCPixmap origSrcBase = src[0]; in internalWritePixels()
528 GrCPixmap srcBase = origSrcBase; in internalWritePixels()
530 srcBase = GrCPixmap(origSrcBase.info().makeColorType(GrColorType::kRGBA_8888), in internalWritePixels()
1368 GrCPixmap(srcInfo, src, srcInfo.minRowBytes())); in transferPixels()
DGrOpFlushState.cpp122 GrCPixmap(srcInfo, buffer, rowBytes))) { in doUpload()
DGrResourceProvider.cpp647 GrCPixmap(srcInfo, inLevel.fPixels, actualRB)); in prepare_level()
DGrDataUtils.cpp511 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels()
DGrDirectContext.cpp532 SkAutoSTArray<15, GrCPixmap> tmpSrc(numLevels); in update_texture_with_pixmaps()
/external/skia/tools/gpu/
DProxyUtils.h18 class GrCPixmap; variable
29 GrCPixmap pixmap);
DProxyUtils.cpp55 GrCPixmap pixmap) { in MakeTextureProxyViewFromData()
/external/skia/tests/
DTransferPixelsTest.cpp195 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
196 GrCPixmap(dstInfo, dstBuffer.get(), dstRowBytes), in basic_transfer_to_test()
247 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
248 GrCPixmap(dstInfo, dstBuffer.get(), dstRowBytes), in basic_transfer_to_test()
370 ComparePixels(GrCPixmap(textureDataInfo, textureData.get(), textureDataRowBytes), in basic_transfer_from_test()
371 GrCPixmap( transferInfo, transferData.get(), fullBufferRowBytes), in basic_transfer_from_test()
404 ComparePixels(GrCPixmap(textureDataInfo, textureDataStart, textureDataRowBytes), in basic_transfer_from_test()
405 GrCPixmap(transferInfo , transferData.get(), partialBufferRowBytes), in basic_transfer_from_test()
DTestUtils.h64 bool ComparePixels(const GrCPixmap& a,
65 const GrCPixmap& b,
DTestUtils.cpp158 bool ComparePixels(const GrCPixmap& a, in ComparePixels()
159 const GrCPixmap& b, in ComparePixels()
221 GrCPixmap srcPixmap(srcInfo, col.vec(), floatBpp); in CheckSolidPixels()
DFloatingPointTextureTest.cpp53 GrCPixmap controlPixmap(info, controlPixelData.begin(), info.minRowBytes()); in runFPTest()
DReadWritePixelsGpuTest.cpp1125 SkTArray<GrCPixmap> levels; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1152 GrCPixmap savedLevel = levels[1]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1162 levels[1] = GrCPixmap(levels[1].info(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1210 GrCPixmap a = levels[i]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1211 GrCPixmap b = read; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1216 a = GrCPixmap(a.info().makeColorType(GrColorType::kRGBA_8888), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1219 b = GrCPixmap(b.info().makeColorType(GrColorType::kRGBA_8888), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCopySurfaceTest.cpp81 GrCPixmap srcPM(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp105 GrCPixmap pixmap(info, pixels.get(), dstContext->width()*sizeof(uint32_t)); in test_copy_to_surface()
DSRGBReadWritePixelsTest.cpp214 GrCPixmap dataPM(writeII, data.get(), kW*sizeof(uint32_t)); in test_write_read()