Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/ganesh/
DGrImageInfo.cpp15 GrImageInfo::GrImageInfo() = default;
17 GrImageInfo::GrImageInfo(const SkImageInfo& info) in GrImageInfo() function in GrImageInfo
20 GrImageInfo::GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, int w, int h) in GrImageInfo() function in GrImageInfo
23 GrImageInfo::GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, in GrImageInfo() function in GrImageInfo
27 GrImageInfo::GrImageInfo(const GrColorInfo& info, const SkISize& dimensions) in GrImageInfo() function in GrImageInfo
30 GrImageInfo::GrImageInfo(GrColorInfo&& info, const SkISize& dimensions) in GrImageInfo() function in GrImageInfo
33 GrImageInfo::GrImageInfo(const GrImageInfo&) = default;
34 GrImageInfo::GrImageInfo(GrImageInfo&&) = default;
35 GrImageInfo& GrImageInfo::operator=(const GrImageInfo&) = default;
36 GrImageInfo& GrImageInfo::operator=(GrImageInfo&&) = default;
[all …]
DGrImageInfo.h22 class GrImageInfo {
24 GrImageInfo();
25 GrImageInfo(const SkImageInfo& info);
26 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, int w, int h);
27 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, const SkISize& dimensions);
28 GrImageInfo(const GrColorInfo& info, const SkISize& dimensions);
29 GrImageInfo(GrColorInfo&& info, const SkISize& dimensions);
31 GrImageInfo(const GrImageInfo&);
32 GrImageInfo(GrImageInfo&&);
33 GrImageInfo& operator=(const GrImageInfo&);
[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.h19 class GrImageInfo; variable
144 std::unique_ptr<skgpu::v1::SurfaceContext> makeSC(const GrImageInfo&,
160 GrImageInfo,
193 GrImageInfo,
DGrDataUtils.h15 class GrImageInfo; variable
42 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color);
DGrRecordingContextPriv.cpp112 const GrImageInfo& info, in makeSC()
151 GrImageInfo info, in makeSFC()
250 GrImageInfo info(GrColorType::kUnknown, alphaType, std::move(colorSpace), dimensions); in makeSFC()
263 GrImageInfo info, in makeSFCWithFallback()
DSurfaceContext.h53 GrImageInfo imageInfo() const { return {fColorInfo, fReadView.proxy()->dimensions()}; } in imageInfo()
149 std::unique_ptr<SurfaceFillContext> rescale(const GrImageInfo& info,
DSurfaceContext.cpp153 GrImageInfo tempInfo(colorType, in readPixels()
238 GrImageInfo tmpInfo(supportedRead.fColorType, in readPixels()
516 GrImageInfo tmpInfo(allowedColorType, in internalWritePixels()
1021 std::unique_ptr<SurfaceFillContext> SurfaceContext::rescale(const GrImageInfo& info, in rescale()
1105 GrImageInfo ii(GrColorType::kRGBA_F16, in rescaleInto()
1156 GrImageInfo nextInfo(input->colorInfo(), nextDims); in rescaleInto()
1285 GrImageInfo srcInfo(supportedRead.fColorType, at, nullptr, w, h); in transferPixels()
1286 GrImageInfo dstInfo(dstCT, at, nullptr, w, h); in transferPixels()
DGrOpFlushState.cpp125 GrImageInfo srcInfo(colorType, kAT, nullptr, rect.size()); in doUpload()
126 GrImageInfo tmpInfo(supportedWrite.fColorType, kAT, nullptr, rect.size()); in doUpload()
DBUILD.bazel113 "GrImageInfo.cpp",
114 "GrImageInfo.h",
DGrDirectContextPriv.h21 class GrImageInfo; variable
DGrResourceProvider.cpp878 GrImageInfo srcInfo( origColorType, kUnpremul_SkAlphaType, nullptr, dimensions); in prepare_level()
879 GrImageInfo dstInfo(allowedColorType, kUnpremul_SkAlphaType, nullptr, dimensions); in prepare_level()
DGrSurfaceProxy.cpp312 GrImageInfo info(GrColorType::kUnknown, kUnknown_SkAlphaType, nullptr, {width, height}); in Copy()
/external/skia/tests/
DTransferPixelsTest.cpp63 GrImageInfo srcInfo(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
64 GrImageInfo dstInfo(dstType, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
113 GrImageInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
114 GrImageInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
240 GrImageInfo srcInfo(allowedSrc.fColorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
241 GrImageInfo dstInfo( colorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
376 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
435 GrImageInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
446 GrImageInfo textureDataInfo(colorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
DTestUtils.cpp204 GrImageInfo floatInfo(GrColorType::kRGBA_F32, in ComparePixels()
241 GrImageInfo srcInfo(GrColorType::kRGBA_F32, in CheckSolidPixels()
246 GrImageInfo dstInfo = in CheckSolidPixels()
283 const GrImageInfo& info, in CreateSurfaceContext()
DWrappedSurfaceCopyOnWriteTest.cpp119 GrImageInfo info(GrColorType::kRGBA_8888, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
171 GrImageInfo ii(GrColorType::kRGBA_8888, kPremul_SkAlphaType, /*color space*/ nullptr, 10, 10); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp138 GrImageInfo info(GrColorType::kRGBA_8888, in test_copy_to_surface()
209 GrImageInfo grII = ii; in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
DTestUtils.h106 const GrImageInfo&,
DFloatingPointTextureTest.cpp64 GrImageInfo info(colorType, kPremul_SkAlphaType, nullptr, {DEV_W, DEV_H}); in runFPTest()
DBackendAllocationTest.cpp284 GrImageInfo ii(ct, kUnpremul_SkAlphaType, nullptr, {1, 1}); in get_expected_color()
290 GrImageInfo resultII(GrColorType::kRGBA_F32, kUnpremul_SkAlphaType, nullptr, {1, 1}); in get_expected_color()
442 GrImageInfo info(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, {32, 32}); in check_mipmaps()
DSRGBReadWritePixelsTest.cpp218 GrImageInfo info(GrColorType::kRGBA_8888, in make_surface_context()
DGrSurfaceTest.cpp377 GrImageInfo info(combo.fColorType, in DEF_GANESH_TEST()
/external/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp316 GrImageInfo info(ctx.grColorType(), kPremul_SkAlphaType, ctx.refColorSpace(), bounds.size()); in filterImageGPU()
DSkArithmeticImageFilter.cpp431 GrImageInfo info(ctx.grColorType(), kPremul_SkAlphaType, ctx.refColorSpace(), bounds.size()); in filterImageGPU()
/external/skia/gm/
Dgpu_blur_utils.cpp62 GrImageInfo info(GrColorType::kRGBA_8888, kPremul_SkAlphaType, nullptr, resultSize); in slow_blur()

12