Home
last modified time | relevance | path

Searched refs:fConfig (Results 1 – 25 of 107) sorted by relevance

12345

/external/skia/tests/
DGpuBitmapCopyTest.cpp32 SkBitmap::Config fConfig; member
131 SkGpuDevice* device = SkNEW_ARGS(SkGpuDevice, (grContext, gPairs[i].fConfig, W, H)); in TestGpuBitmapCopy()
150 bool success = src.deepCopyTo(&dst, gPairs[j].fConfig); in TestGpuBitmapCopy()
160 bool canSucceed = src.canCopyTo(gPairs[j].fConfig); in TestGpuBitmapCopy()
170 TestIndividualCopy(reporter, gPairs[j].fConfig, success, src, dst); in TestGpuBitmapCopy()
175 success = subset.copyTo(&subsetCopy, gPairs[j].fConfig); in TestGpuBitmapCopy()
178 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, in TestGpuBitmapCopy()
183 success = subset.deepCopyTo(&subsetCopy, gPairs[j].fConfig); in TestGpuBitmapCopy()
186 TestIndividualCopy(reporter, gPairs[j].fConfig, success, subset, subsetCopy, in TestGpuBitmapCopy()
DBitmapCopyTest.cpp75 SkBitmap::Config fConfig; member
233 srcOpaque.setConfig(gPairs[i].fConfig, W, H, 0, kOpaque_SkAlphaType); in DEF_TEST()
234 srcPremul.setConfig(gPairs[i].fConfig, W, H, 0, kPremul_SkAlphaType); in DEF_TEST()
235 if (SkBitmap::kIndex8_Config == gPairs[i].fConfig) { in DEF_TEST()
247 bool success = srcPremul.copyTo(&dst, gPairs[j].fConfig); in DEF_TEST()
257 bool canSucceed = srcPremul.canCopyTo(gPairs[j].fConfig); in DEF_TEST()
269 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig); in DEF_TEST()
344 tstSafeSize.setConfig(gPairs[i].fConfig, 100000000U, in DEF_TEST()
355 switch (gPairs[i].fConfig) { in DEF_TEST()
396 src.setConfig(gPairs[i].fConfig, 2 * subW + 1, subH); in DEF_TEST()
[all …]
DReadWriteAlphaTest.cpp39 desc.fConfig = kAlpha_8_GrPixelConfig; in ReadWriteAlphaTest()
59 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in ReadWriteAlphaTest()
68 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in ReadWriteAlphaTest()
96 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in ReadWriteAlphaTest()
DBitmapGetColorTest.cpp16 SkBitmap::Config fConfig; in DEF_TEST() member
39 bm.setConfig(gRec[i].fConfig, 2, 2); in DEF_TEST()
DGrSurfaceTest.cpp25 desc.fConfig = kSkia8888_GrPixelConfig; in GrSurfaceIsSameTest()
45 backendDesc.fConfig = kSkia8888_GrPixelConfig; in GrSurfaceIsSameTest()
DClipCacheTest.cpp30 desc.fConfig = kSkia8888_GrPixelConfig; in createTexture()
52 desc.fConfig = kAlpha_8_GrPixelConfig; in test_clip_bounds()
156 desc.fConfig = kSkia8888_GrPixelConfig; in test_cache()
DPixelRefTest.cpp9 SkBitmap::Config fConfig; in test_info() member
30 bool success = bitmap.setConfig(gRec[i].fConfig, 10, 10, 0, gRec[i].fAlphaType); in test_info()
/external/skia/bench/
DResultsWriter.h107 , fConfig(NULL) { in JSONResultsWriter()
117 fConfig = &(*fBench)[name]; in config()
120 SkASSERT(NULL != fConfig); in timer()
121 (*fConfig)[name] = ms; in timer()
133 Json::Value* fConfig; variable
DRepeatTileBench.cpp93 SkBitmap::Config fConfig; member in RepeatTileBench
98 fConfig = c; in RepeatTileBench()
101 if (SkBitmap::kIndex8_Config == fConfig) { in RepeatTileBench()
104 fBitmap.setConfig(fConfig, w, h); in RepeatTileBench()
123 if (SkBitmap::kIndex8_Config == fConfig) { in onPreDraw()
DWritePixelsBench.cpp17 : fConfig(config) in WritePixelsBench()
59 canvas->writePixels(bmp, 0, 0, fConfig); in onDraw()
64 SkCanvas::Config8888 fConfig; member in WritePixelsBench
DBitmapBench.cpp83 SkBitmap::Config fConfig; member in BitmapBench
93 , fConfig(c) { in BitmapBench()
99 fName.appendf("_%s%s", gConfigName[fConfig], in onGetName()
112 if (SkBitmap::kIndex8_Config == fConfig) { in onPreDraw()
115 bm.setConfig(fConfig, W, H); in onPreDraw()
123 if (SkBitmap::kIndex8_Config == fConfig) { in onPreDraw()
/external/skia/dm/
DDMGpuTask.cpp24 , fConfig(config) in GpuTask()
45 fConfig, in draw()
56 bitmap.setConfig(fConfig, SkScalarCeilToInt(fGM->width()), SkScalarCeilToInt(fGM->height())); in draw()
DDMCpuTask.cpp23 , fConfig(config) in CpuTask()
28 SetupBitmap(fConfig, fGM.get(), &bitmap); in draw()
51 if (SkBitmap::kRGB_565_Config == fConfig && (fGM->getFlags() & skiagm::GM::kSkip565_Flag)) { in shouldSkip()
/external/skia/include/core/
DSkBitmap.h94 Config config() const { return (Config)fConfig; } in config()
672 uint8_t fConfig; variable
787 SkASSERT(fConfig == kARGB_8888_Config); in getAddr32()
794 SkASSERT(fConfig == kRGB_565_Config || fConfig == kARGB_4444_Config); in getAddr16()
801 SkASSERT(fConfig == kA8_Config || fConfig == kIndex8_Config); in getAddr8()
808 SkASSERT(fConfig == kIndex8_Config); in getIndex8Color()
/external/chromium_org/third_party/skia/include/core/
DSkBitmap.h94 Config config() const { return (Config)fConfig; } in config()
672 uint8_t fConfig; variable
787 SkASSERT(fConfig == kARGB_8888_Config); in getAddr32()
794 SkASSERT(fConfig == kRGB_565_Config || fConfig == kARGB_4444_Config); in getAddr16()
801 SkASSERT(fConfig == kA8_Config || fConfig == kIndex8_Config); in getAddr8()
808 SkASSERT(fConfig == kIndex8_Config); in getIndex8Color()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.cpp35 temp.fConfig = config; in MakeDesc()
53 desc.fConfig, desc.fSampleCnt, in GrGLRenderTarget()
76 desc.fConfig, desc.fSampleCnt, in GrGLRenderTarget()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp35 temp.fConfig = config; in MakeDesc()
53 desc.fConfig, desc.fSampleCnt, in GrGLRenderTarget()
76 desc.fConfig, desc.fSampleCnt, in GrGLRenderTarget()
/external/skia/src/views/
DSkWindow.cpp55 fConfig = SkBitmap::kRGB_565_Config; in SkWindow()
57 fConfig = SkBitmap::kARGB_8888_Config; in SkWindow()
100 config = fConfig; in resize()
102 if (width != fBitmap.width() || height != fBitmap.height() || config != fConfig) in resize()
104 fConfig = config; in resize()
/external/chromium_org/third_party/skia/src/views/
DSkWindow.cpp55 fConfig = SkBitmap::kRGB_565_Config; in SkWindow()
57 fConfig = SkBitmap::kARGB_8888_Config; in SkWindow()
100 config = fConfig; in resize()
102 if (width != fBitmap.width() || height != fBitmap.height() || config != fConfig) in resize()
104 fConfig = config; in resize()
/external/skia/src/gpu/
DSkGr.cpp88 desc->fConfig = SkBitmapConfig2GrPixelConfig(bitmap.config()); in generate_bitmap_texture_desc()
152 bitmap->height(), desc.fConfig, in sk_gr_create_bitmap_texture()
160 desc.fConfig = SkBitmapConfig2GrPixelConfig(bitmap->config()); in sk_gr_create_bitmap_texture()
189 desc.fConfig, in sk_gr_create_bitmap_texture()
DGrRenderTarget.cpp59 if (kUnknown_GrPixelConfig == fDesc.fConfig) { in sizeInBytes()
62 colorBits = GrBytesPerPixel(fDesc.fConfig); in sizeInBytes()
/external/chromium_org/third_party/skia/src/gpu/
DSkGr.cpp88 desc->fConfig = SkBitmapConfig2GrPixelConfig(bitmap.config()); in generate_bitmap_texture_desc()
152 bitmap->height(), desc.fConfig, in sk_gr_create_bitmap_texture()
160 desc.fConfig = SkBitmapConfig2GrPixelConfig(bitmap->config()); in sk_gr_create_bitmap_texture()
189 desc.fConfig, in sk_gr_create_bitmap_texture()
DGrRenderTarget.cpp59 if (kUnknown_GrPixelConfig == fDesc.fConfig) { in sizeInBytes()
62 colorBits = GrBytesPerPixel(fDesc.fConfig); in sizeInBytes()
/external/skia/include/gpu/
DGrTypes.h419 , fConfig(kUnknown_GrPixelConfig) in GrTextureDesc()
432 GrPixelConfig fConfig; member
552 GrPixelConfig fConfig; //<! color format member
581 GrPixelConfig fConfig; //<! color format member
/external/chromium_org/third_party/skia/include/gpu/
DGrTypes.h419 , fConfig(kUnknown_GrPixelConfig) in GrTextureDesc()
432 GrPixelConfig fConfig; member
552 GrPixelConfig fConfig; //<! color format member
581 GrPixelConfig fConfig; //<! color format member

12345