/third_party/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 | SurfaceContext.cpp | 65 bool SurfaceContext::readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint pt) { in readPixels() 164 dst = GrPixmap(dst.info().makeColorType(GrColorType::kRGBA_8888), in readPixels() 227 GrPixmap tmp; in readPixels() 512 GrPixmap tmpPM(tmpInfo, tmp, tmpRB); in internalWritePixels() 735 GrPixmap pm = GrPixmap::Allocate(ii); in asyncReadPixels() 962 GrPixmap yPmp = GrPixmap::Allocate(yInfo); in asyncRescaleAndReadPixelsYUV420() 963 GrPixmap uPmp = GrPixmap::Allocate(uvInfo); in asyncRescaleAndReadPixelsYUV420() 964 GrPixmap vPmp = GrPixmap::Allocate(uvInfo); in asyncRescaleAndReadPixelsYUV420() 1292 GrConvertPixels( GrPixmap(dstInfo, dst, dstInfo.minRowBytes()), in transferPixels()
|
D | GrDataUtils.cpp | 571 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels() 589 GrPixmap temp = GrPixmap::Allocate(dst.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels() 606 GrPixmap temp = GrPixmap::Allocate(src.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
|
D | GrDirectContextPriv.cpp | 272 GrPixmap firstReadPM( upmII, firstRead, kSize*sizeof(uint32_t)); in test_for_preserving_PM_conversions() 273 GrPixmap secondReadPM(upmII, secondRead, kSize*sizeof(uint32_t)); in test_for_preserving_PM_conversions()
|
D | SurfaceContext.h | 86 bool readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint srcPt);
|
D | GrOpFlushState.cpp | 126 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
|
D | BUILD.bazel | 120 "GrPixmap.h",
|
D | GrResourceProvider.cpp | 793 return GrConvertPixels( GrPixmap(dstInfo, data->get(), tempRB), in prepare_level()
|
/third_party/skia/tests/ |
D | PremulAlphaRoundTripTest.cpp | 120 GrPixmap src = GrPixmap::Allocate(upmInfo); in DEF_TEST() 128 GrPixmap surf = GrPixmap::Allocate(pmInfo); in DEF_TEST() 131 GrPixmap read1 = GrPixmap::Allocate(upmInfo); in DEF_TEST() 134 GrPixmap surf2 = GrPixmap::Allocate(pmInfo); in DEF_TEST() 137 GrPixmap read2 = GrPixmap::Allocate(upmInfo); in DEF_TEST() 140 auto get_pixel = [](const GrPixmap& pm, int x, int y) { in DEF_TEST()
|
D | TestUtils.cpp | 184 GrPixmap floatA = GrPixmap::Allocate(floatInfo); in ComparePixels() 185 GrPixmap floatB = GrPixmap::Allocate(floatInfo); in ComparePixels() 213 GrPixmap colorPixmap; in CheckSolidPixels() 223 colorPixmap = GrPixmap::Allocate(dstInfo); in CheckSolidPixels() 230 GrPixmap f32Pixmap = GrPixmap::Allocate(pixmap.info().makeColorType(kRGBA_F32_SkColorType)); in CheckSolidPixels()
|
D | SurfaceDrawContextTest.cpp | 62 GrPixmap dstPM = GrPixmap::Allocate(dstInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | CopySurfaceTest.cpp | 81 GrPixmap dstPM(ii, dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 163 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() 96 return GrConvertPixels(GrPixmap(dstInfo, dst, rowBytes), in read_pixels_from_texture() 97 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()
|
D | FloatingPointTextureTest.cpp | 66 GrPixmap readPixmap(info, readBuffer.begin(), info.minRowBytes()); in runFPTest()
|
D | DMSAATest.cpp | 68 GrPixmap pixmap = GrPixmap::Allocate(info); in check_sdc_color()
|
D | SRGBReadWritePixelsTest.cpp | 130 GrPixmap readPM = GrPixmap::Allocate(dstInfo); in read_and_check_pixels()
|
D | SkSLCross.cpp | 108 GrPixmap resultPM(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kPremul_SkAlphaType), in run_test()
|
D | ReadWritePixelsGpuTest.cpp | 1132 auto level = GrPixmap::Allocate(info.makeWH(std::max(w, 1), std::max(h, 1))); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1155 GrPixmap keepAlive; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1161 keepAlive = GrPixmap::Allocate(levels[1].info().makeWH(w, h)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1202 GrPixmap read = GrPixmap::Allocate(readInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrMeshTest.cpp | 599 GrPixmap resultPM = GrPixmap::Allocate(gold.info());
|
D | GrPipelineDynamicStateTest.cpp | 238 GrPixmap resultPM(ii, resultPx, kScreenSize*sizeof(uint32_t)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | BackendAllocationTest.cpp | 230 GrConvertPixels(GrPixmap(resultII, &result.fR, sizeof(result)), in get_expected_color() 231 GrPixmap( ii, data.get(), ii.minRowBytes())); in get_expected_color()
|
D | SkRuntimeEffectTest.cpp | 937 GrPixmap pixmap(info, &actual, sizeof(GrColor)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProcessorTest.cpp | 235 GrPixmap resultPM(ii, outBuffer, sdc->width()*sizeof(uint32_t)); in render_fp()
|
/third_party/skia/gn/ |
D | gpu.gni | 140 "$_src/gpu/GrPixmap.h",
|