Home
last modified time | relevance | path

Searched refs:origInfo (Results 1 – 6 of 6) 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/skqp/gm/
Dgamut.cpp132 SkImageInfo origInfo = canvas->imageInfo(); in draw_gamut_grid() local
135 switch (origInfo.colorType()) { in draw_gamut_grid()
154 SkImageInfo srgbGamutInfo = SkImageInfo::Make(gRectSize, gRectSize, origInfo.colorType(), in draw_gamut_grid()
156 SkImageInfo wideGamutInfo = SkImageInfo::Make(gRectSize, gRectSize, origInfo.colorType(), in draw_gamut_grid()
187 origInfo.colorSpace()); in draw_gamut_grid()
193 origInfo.colorSpace()); in draw_gamut_grid()
/external/skqp/src/core/
DSkBitmapDevice.cpp90 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, in Create() argument
93 SkAlphaType newAT = origInfo.alphaType(); in Create()
94 if (!valid_for_bitmap_device(origInfo, &newAT)) { in Create()
99 const SkImageInfo info = origInfo.makeAlphaType(newAT); in Create()
/external/skia/src/core/
DSkBitmapDevice.cpp90 SkBitmapDevice* SkBitmapDevice::Create(const SkImageInfo& origInfo, in Create() argument
93 SkAlphaType newAT = origInfo.alphaType(); in Create()
94 if (!valid_for_bitmap_device(origInfo, &newAT)) { in Create()
99 const SkImageInfo info = origInfo.makeAlphaType(newAT); in Create()
/external/skia/src/gpu/
DSkGpuDevice.cpp148 const SkImageInfo& origInfo, in MakeRenderTargetContext() argument
153 if (kUnknown_SkColorType == origInfo.colorType() || in MakeRenderTargetContext()
154 origInfo.width() < 0 || origInfo.height() < 0) { in MakeRenderTargetContext()
162 GrPixelConfig config = SkImageInfo2GrPixelConfig(origInfo, *context->caps()); in MakeRenderTargetContext()
170 origInfo.width(), origInfo.height(), in MakeRenderTargetContext()
171 config, origInfo.refColorSpace(), sampleCount, in MakeRenderTargetContext()
/external/skqp/src/gpu/
DSkGpuDevice.cpp147 const SkImageInfo& origInfo, in MakeRenderTargetContext() argument
152 if (kUnknown_SkColorType == origInfo.colorType() || in MakeRenderTargetContext()
153 origInfo.width() < 0 || origInfo.height() < 0) { in MakeRenderTargetContext()
161 GrPixelConfig config = SkImageInfo2GrPixelConfig(origInfo, *context->caps()); in MakeRenderTargetContext()
166 origInfo.width(), origInfo.height(), in MakeRenderTargetContext()
167 config, origInfo.refColorSpace(), sampleCount, in MakeRenderTargetContext()