Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrPixmap.h83 class GrPixmap : public GrPixmapBase<void, GrPixmap> {
85 GrPixmap() = default;
86 GrPixmap(const GrPixmap&) = default;
87 GrPixmap(GrPixmap&&) = default;
88 GrPixmap& operator=(const GrPixmap&) = default;
89 GrPixmap& operator=(GrPixmap&&) = default;
91 GrPixmap(GrImageInfo info, void* addr, size_t rowBytes) : GrPixmapBase(info, addr, rowBytes) {} in GrPixmap() function
93 /* implicit */ GrPixmap(const SkPixmap& pixmap) in GrPixmap() function
100 static GrPixmap Allocate(const GrImageInfo& info) { in Allocate()
106 return GrPixmap(info, SkData::MakeUninitialized(size), rb); in Allocate()
[all …]
DGrDataUtils.h17 class GrPixmap; variable
39 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY = false);
DGrSurfaceContext.cpp169 bool GrSurfaceContext::readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint pt) { in readPixels()
262 dst = GrPixmap(dst.info().makeColorType(GrColorType::kRGBA_8888), in readPixels()
325 GrPixmap tmp; in readPixels()
601 GrPixmap tmpPM(tmpInfo, tmp, tmpRB); in internalWritePixels()
824 GrPixmap pm = GrPixmap::Allocate(ii); in asyncReadPixels()
1038 GrPixmap yPmp = GrPixmap::Allocate(yInfo); in asyncRescaleAndReadPixelsYUV420()
1039 GrPixmap uPmp = GrPixmap::Allocate(uvInfo); in asyncRescaleAndReadPixelsYUV420()
1040 GrPixmap vPmp = GrPixmap::Allocate(uvInfo); in asyncRescaleAndReadPixelsYUV420()
1367 GrConvertPixels( GrPixmap(dstInfo, dst, dstInfo.minRowBytes()), in transferPixels()
DGrDataUtils.cpp511 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels()
529 GrPixmap temp = GrPixmap::Allocate(dst.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
546 GrPixmap temp = GrPixmap::Allocate(src.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
DGrSurfaceContext.h103 bool readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint srcPt);
DGrOpFlushState.cpp121 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
DGrResourceProvider.cpp646 return GrConvertPixels( GrPixmap(dstInfo, data->get(), tempRB), in prepare_level()
/external/skia/tests/
DTestUtils.cpp185 GrPixmap floatA = GrPixmap::Allocate(floatInfo); in ComparePixels()
186 GrPixmap floatB = GrPixmap::Allocate(floatInfo); in ComparePixels()
214 GrPixmap colorPixmap; in CheckSolidPixels()
224 colorPixmap = GrPixmap::Allocate(dstInfo); in CheckSolidPixels()
231 GrPixmap f32Pixmap = GrPixmap::Allocate(pixmap.info().makeColorType(kRGBA_F32_SkColorType)); in CheckSolidPixels()
DRenderTargetContextTest.cpp61 GrPixmap dstPM = GrPixmap::Allocate(dstInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDSLFPTest.cpp56 GrPixmap dstPM = GrPixmap::Allocate(dstInfo); in test_dsl_fp()
DCopySurfaceTest.cpp82 GrPixmap dstPM(ii, dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 GrPixmap readPM(ii, read.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp45 GrConvertPixels(GrPixmap(dstInfo, dstLocation(i, j), dstBpp), in fill_transfer_data()
46 GrPixmap(srcInfo, &srcPixel, 4)); in fill_transfer_data()
92 return GrConvertPixels(GrPixmap(dstInfo, dst, rowBytes), in read_pixels_from_texture()
93 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()
DFloatingPointTextureTest.cpp66 GrPixmap readPixmap(info, readBuffer.begin(), info.minRowBytes()); in runFPTest()
DSRGBReadWritePixelsTest.cpp130 GrPixmap readPM = GrPixmap::Allocate(dstInfo); in read_and_check_pixels()
DSkSLCross.cpp102 GrPixmap resultPM(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kPremul_SkAlphaType), in run_test()
DReadWritePixelsGpuTest.cpp1128 auto level = GrPixmap::Allocate(info.makeWH(std::max(w, 1), std::max(h, 1))); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1151 GrPixmap keepAlive; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1157 keepAlive = GrPixmap::Allocate(levels[1].info().makeWH(w, h)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1198 GrPixmap read = GrPixmap::Allocate(readInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrPipelineDynamicStateTest.cpp235 GrPixmap resultPM(ii, resultPx, kScreenSize*sizeof(uint32_t)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMeshTest.cpp595 GrPixmap resultPM = GrPixmap::Allocate(gold.info());
DBackendAllocationTest.cpp229 GrConvertPixels(GrPixmap(resultII, &result.fR, sizeof(result)), in get_expected_color()
230 GrPixmap( ii, data.get(), ii.minRowBytes())); in get_expected_color()
DProcessorTest.cpp249 GrPixmap resultPM(ii, outBuffer, rtc->width()*sizeof(uint32_t)); in render_fp()
/external/skia/src/gpu/effects/generated/
DGrConfigConversionEffect.cpp134 GrPixmap firstReadPM(upmII, firstRead, kSize * sizeof(uint32_t)); in TestForPreservingPMConversions()
135 GrPixmap secondReadPM(upmII, secondRead, kSize * sizeof(uint32_t)); in TestForPreservingPMConversions()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.fp68 GrPixmap firstReadPM( upmII, firstRead, kSize*sizeof(uint32_t));
69 GrPixmap secondReadPM(upmII, secondRead, kSize*sizeof(uint32_t));
/external/skia/gn/
Dgpu.gni152 "$_src/gpu/GrPixmap.h",
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1497 const GrPixmap srcData[], in copy_src_data()
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm869 const GrPixmap srcData[],