Home
last modified time | relevance | path

Searched refs:origInfo (Results 1 – 3 of 3) sorted by relevance

/external/skia/gm/
Dgamut.cpp133 SkImageInfo origInfo = canvas->imageInfo(); in draw_gamut_grid() local
136 switch (origInfo.colorType()) { in draw_gamut_grid()
155 SkImageInfo srgbGamutInfo = SkImageInfo::Make(gRectSize, gRectSize, origInfo.colorType(), in draw_gamut_grid()
157 SkImageInfo wideGamutInfo = SkImageInfo::Make(gRectSize, gRectSize, origInfo.colorType(), in draw_gamut_grid()
188 origInfo.colorSpace()); in draw_gamut_grid()
194 origInfo.colorSpace()); in draw_gamut_grid()
/external/skia/src/core/
DSkBitmapDevice.cpp86 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, in Create() argument
89 SkAlphaType newAT = origInfo.alphaType(); in Create()
90 if (!valid_for_bitmap_device(origInfo, &newAT)) { in Create()
95 const SkImageInfo info = origInfo.makeAlphaType(newAT); in Create()
/external/skia/src/gpu/
DSkGpuDevice.cpp155 const SkImageInfo& origInfo, in MakeRenderTargetContext() argument
159 if (kUnknown_SkColorType == origInfo.colorType() || in MakeRenderTargetContext()
160 origInfo.width() < 0 || origInfo.height() < 0) { in MakeRenderTargetContext()
168 GrPixelConfig config = SkImageInfo2GrPixelConfig(origInfo, *context->caps()); in MakeRenderTargetContext()
173 origInfo.width(), origInfo.height(), in MakeRenderTargetContext()
174 config, origInfo.refColorSpace(), sampleCount, in MakeRenderTargetContext()