Searched refs:decode_file (Results 1 – 13 of 13) sorted by relevance
/external/skia/samplecode/ |
D | DecodeFile.h | 16 static inline bool decode_file(const char* filename, SkBitmap* bitmap, 37 static inline sk_sp<SkImage> decode_file(const char filename[]) { in decode_file() function
|
D | SampleLighting.cpp | 41 decode_file(diffusePath.c_str(), &fDiffuseBitmap); in LightingView() 43 decode_file(normalPath.c_str(), &fNormalBitmap); in LightingView()
|
D | SampleFilter2.cpp | 37 decode_file(gNames[i], &fBitmaps[i]); in Filter2View() 40 decode_file(gNames[i-fBitmapCount/2], &fBitmaps[i], kRGB_565_SkColorType); in Filter2View()
|
D | SampleIdentityScale.cpp | 29 if (!decode_file(resourcePath.c_str(), &fBM)) { in IdentityScaleView()
|
D | SampleCamera.cpp | 36 if (decode_file(str.c_str(), &bm)) { in CameraView()
|
D | SampleLines.cpp | 63 decode_file("/kill.gif", &bm); in onDrawContent()
|
D | SampleAll.cpp | 471 decode_file("/Users/caryclark/Desktop/bugcirc.gif", &fBug); in startTest() 472 decode_file("/Users/caryclark/Desktop/tbcirc.gif", &fTb); in startTest() 473 decode_file("/Users/caryclark/Desktop/05psp04.gif", &fTx); in startTest()
|
D | SampleShaders.cpp | 45 decode_file("/skimages/logo.gif", &fBitmap); in ShaderView()
|
D | SampleSubpixelTranslate.cpp | 30 if (!decode_file(resourcePath.c_str(), &fBM)) { in SubpixelTranslateView()
|
D | SampleUnpremul.cpp | 166 fDecodeSucceeded = decode_file(fCurrFile.c_str(), &fBitmap, kN32_SkColorType, !fPremul); in decodeCurrFile()
|
D | SamplePictFile.cpp | 150 if (sk_sp<SkImage> img = decode_file(path)) { in LoadPicture()
|
D | SamplePatch.cpp | 35 decode_file("/skimages/logo.png", &bm); in make_shader0()
|
D | SampleSlides.cpp | 316 decode_file("/skimages/logo.gif", &bm); in make_shader0()
|