Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/
DGrImageInfo.h15 class GrImageInfo {
17 GrImageInfo() = default;
19 /* implicit */ GrImageInfo(const SkImageInfo& info) in GrImageInfo() function
22 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, int w, int h) in GrImageInfo() function
25 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, const SkISize& dimensions) in GrImageInfo() function
28 GrImageInfo(const GrColorInfo& info, const SkISize& dimensions) in GrImageInfo() function
31 GrImageInfo(GrColorInfo&& info, const SkISize& dimensions) in GrImageInfo() function
34 GrImageInfo(const GrImageInfo&) = default;
35 GrImageInfo(GrImageInfo&&) = default;
36 GrImageInfo& operator=(const GrImageInfo&) = default;
[all …]
DGrPixmap.h17 const GrImageInfo& info() const { return fInfo; } in info()
63 GrPixmapBase(GrImageInfo info, T* addr, size_t rowBytes) in GrPixmapBase()
70 GrPixmapBase(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmapBase()
78 GrImageInfo fInfo;
91 GrPixmap(GrImageInfo info, void* addr, size_t rowBytes) : GrPixmapBase(info, addr, rowBytes) {} in GrPixmap()
100 static GrPixmap Allocate(const GrImageInfo& info) { in Allocate()
110 GrPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmap()
137 GrCPixmap(GrImageInfo info, const void* addr, size_t rowBytes) in GrCPixmap()
141 GrCPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrCPixmap()
DGrRecordingContextPriv.h17 class GrImageInfo; variable
138 std::unique_ptr<skgpu::SurfaceContext> makeSC(const GrImageInfo&,
153 GrImageInfo,
184 GrImageInfo,
DGrDataUtils.h15 class GrImageInfo; variable
42 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color);
DGrRecordingContextPriv.cpp117 std::unique_ptr<skgpu::SurfaceContext> GrRecordingContextPriv::makeSC(const GrImageInfo& info, in makeSC()
152 std::unique_ptr<skgpu::SurfaceFillContext> GrRecordingContextPriv::makeSFC(GrImageInfo info, in makeSFC()
249 GrImageInfo info(GrColorType::kUnknown, alphaType, std::move(colorSpace), dimensions); in makeSFC()
265 GrImageInfo info, in makeSFCWithFallback()
DSurfaceContext.h63 GrImageInfo imageInfo() const { return {fColorInfo, fReadView.proxy()->dimensions()}; } in imageInfo()
159 std::unique_ptr<skgpu::SurfaceFillContext> rescale(const GrImageInfo& info,
DSurfaceContext.cpp149 GrImageInfo tempInfo(colorType, in readPixels()
231 GrImageInfo tmpInfo(supportedRead.fColorType, in readPixels()
507 GrImageInfo tmpInfo(allowedColorType, in internalWritePixels()
1063 std::unique_ptr<skgpu::SurfaceFillContext> SurfaceContext::rescale(const GrImageInfo& info, in rescale()
1133 GrImageInfo ii(GrColorType::kRGBA_F16, in rescaleInto()
1184 GrImageInfo nextInfo(input->colorInfo(), nextDims); in rescaleInto()
1290 GrImageInfo srcInfo(supportedRead.fColorType, at, nullptr, w, h); in transferPixels()
1291 GrImageInfo dstInfo(dstCT, at, nullptr, w, h); in transferPixels()
DGrOpFlushState.cpp124 GrImageInfo srcInfo(colorType, kAT, nullptr, rect.size()); in doUpload()
125 GrImageInfo tmpInfo(supportedWrite.fColorType, kAT, nullptr, rect.size()); in doUpload()
DGrDirectContextPriv.h20 class GrImageInfo; variable
DGrResourceProvider.cpp791 GrImageInfo srcInfo( origColorType, kUnpremul_SkAlphaType, nullptr, dimensions); in prepare_level()
792 GrImageInfo dstInfo(allowedColorType, kUnpremul_SkAlphaType, nullptr, dimensions); in prepare_level()
DGrSurfaceProxy.cpp288 GrImageInfo info(GrColorType::kUnknown, kUnknown_SkAlphaType, nullptr, {width, height}); in Copy()
/third_party/skia/tests/
DTransferPixelsTest.cpp43 GrImageInfo srcInfo(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
44 GrImageInfo dstInfo(dstType, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
93 GrImageInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
94 GrImageInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
212 GrImageInfo srcInfo(allowedSrc.fColorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
213 GrImageInfo dstInfo( colorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
341 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
396 GrImageInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
407 GrImageInfo textureDataInfo(colorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
DTestUtils.cpp179 GrImageInfo floatInfo(GrColorType::kRGBA_F32, in ComparePixels()
216 GrImageInfo srcInfo(GrColorType::kRGBA_F32, in CheckSolidPixels()
221 GrImageInfo dstInfo = in CheckSolidPixels()
258 const GrImageInfo& info, in CreateSurfaceContext()
DWrappedSurfaceCopyOnWriteTest.cpp85 GrImageInfo info(GrColorType::kRGBA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 GrImageInfo ii(GrColorType::kRGBA_8888, kPremul_SkAlphaType, /*color space*/ nullptr, 10, 10); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp102 GrImageInfo info(GrColorType::kRGBA_8888, in test_copy_to_surface()
174 GrImageInfo grII = ii; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTestUtils.h91 const GrImageInfo&,
DFloatingPointTextureTest.cpp52 GrImageInfo info(colorType, kPremul_SkAlphaType, nullptr, {DEV_W, DEV_H}); in runFPTest()
DBackendAllocationTest.cpp223 GrImageInfo ii(ct, kUnpremul_SkAlphaType, nullptr, {1, 1}); in get_expected_color()
229 GrImageInfo resultII(GrColorType::kRGBA_F32, kUnpremul_SkAlphaType, nullptr, {1, 1}); in get_expected_color()
380 GrImageInfo info(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, {32, 32}); in check_mipmaps()
DSRGBReadWritePixelsTest.cpp194 GrImageInfo info(GrColorType::kRGBA_8888, in make_surface_context()
DGrSurfaceTest.cpp289 GrImageInfo info(combo.fColorType, in DEF_GPUTEST()
/third_party/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp296 GrImageInfo info(ctx.grColorType(), kPremul_SkAlphaType, ctx.refColorSpace(), bounds.size()); in filterImageGPU()
DSkMorphologyImageFilter.cpp453 GrImageInfo info(colorType, kPremul_SkAlphaType, colorSpace, rect.size()); in apply_morphology()
477 GrImageInfo info(colorType, kPremul_SkAlphaType, colorSpace, rect.size()); in apply_morphology()
DSkArithmeticImageFilter.cpp405 GrImageInfo info(ctx.grColorType(), kPremul_SkAlphaType, ctx.refColorSpace(), bounds.size()); in filterImageGPU()
DSkDisplacementMapImageFilter.cpp310 GrImageInfo info(ctx.grColorType(), in onFilterImage()
/third_party/skia/src/image/
DSkImage_Lazy.cpp330 GrImageInfo info(SkColorTypeToGrColorType(this->colorType()), in textureProxyViewFromPlanes()

12