Home | History | Annotate | Download | only in samplecode

Lines Matching refs:atlas

103         canvas->drawBitmap(fAtlas, 0, 0); // just to see the atlas
214 // Create the mixed diffuse & normal atlas
225 SkBitmap atlas;
226 atlas.allocN32Pixels(kAtlasWidth, kAtlasHeight);
231 *atlas.getAddr32(x, y) = SK_ColorTRANSPARENT;
234 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0x88, 0x88, 0xFF);
247 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0);
249 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0xFF, 0, 0);
254 sk_tool_utils::create_hemi_normal_map(&atlas,
263 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0);
267 sk_tool_utils::create_frustum_normal_map(&atlas,
281 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0);
283 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0xFF);
288 sk_tool_utils::create_hemi_normal_map(&atlas,
310 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0xFF);
312 *atlas.getAddr32(x, y) = SkPackARGB32(0, 0, 0, 0);
317 sk_tool_utils::create_tetra_normal_map(&atlas,
322 return atlas;