/external/skia/src/gpu/ |
D | GrPixmap.h | 83 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 …]
|
D | GrDataUtils.h | 17 class GrPixmap; variable 39 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY = false);
|
D | GrSurfaceContext.cpp | 169 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()
|
D | GrDataUtils.cpp | 511 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()
|
D | GrSurfaceContext.h | 103 bool readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint srcPt);
|
D | GrOpFlushState.cpp | 121 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
|
D | GrResourceProvider.cpp | 646 return GrConvertPixels( GrPixmap(dstInfo, data->get(), tempRB), in prepare_level()
|
/external/skia/tests/ |
D | TestUtils.cpp | 185 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()
|
D | RenderTargetContextTest.cpp | 61 GrPixmap dstPM = GrPixmap::Allocate(dstInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | DSLFPTest.cpp | 56 GrPixmap dstPM = GrPixmap::Allocate(dstInfo); in test_dsl_fp()
|
D | CopySurfaceTest.cpp | 82 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()
|
D | TransferPixelsTest.cpp | 45 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()
|
D | FloatingPointTextureTest.cpp | 66 GrPixmap readPixmap(info, readBuffer.begin(), info.minRowBytes()); in runFPTest()
|
D | SRGBReadWritePixelsTest.cpp | 130 GrPixmap readPM = GrPixmap::Allocate(dstInfo); in read_and_check_pixels()
|
D | SkSLCross.cpp | 102 GrPixmap resultPM(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kPremul_SkAlphaType), in run_test()
|
D | ReadWritePixelsGpuTest.cpp | 1128 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()
|
D | GrPipelineDynamicStateTest.cpp | 235 GrPixmap resultPM(ii, resultPx, kScreenSize*sizeof(uint32_t)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrMeshTest.cpp | 595 GrPixmap resultPM = GrPixmap::Allocate(gold.info());
|
D | BackendAllocationTest.cpp | 229 GrConvertPixels(GrPixmap(resultII, &result.fR, sizeof(result)), in get_expected_color() 230 GrPixmap( ii, data.get(), ii.minRowBytes())); in get_expected_color()
|
D | ProcessorTest.cpp | 249 GrPixmap resultPM(ii, outBuffer, rtc->width()*sizeof(uint32_t)); in render_fp()
|
/external/skia/src/gpu/effects/generated/ |
D | GrConfigConversionEffect.cpp | 134 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/ |
D | GrConfigConversionEffect.fp | 68 GrPixmap firstReadPM( upmII, firstRead, kSize*sizeof(uint32_t)); 69 GrPixmap secondReadPM(upmII, secondRead, kSize*sizeof(uint32_t));
|
/external/skia/gn/ |
D | gpu.gni | 152 "$_src/gpu/GrPixmap.h",
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1497 const GrPixmap srcData[], in copy_src_data()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 869 const GrPixmap srcData[],
|