Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkLights.cpp37 sk_sp<SkImage> depthMap; in MakeFromBuffer() local
40 if (!(depthMap = buf.readImage())) { in MakeFromBuffer()
50 light.setShadowMap(depthMap); in MakeFromBuffer()
54 light.setShadowMap(depthMap); in MakeFromBuffer()
DSkCanvas.cpp3018 sk_sp<SkImage> depthMap; in onDrawShadowedPicture() local
3059 depthMap = surf->makeImageSnapshot(); in onDrawShadowedPicture()
3090 depthMap = surf->makeImageSnapshot(); in onDrawShadowedPicture()
3094 fLights->light(i).setShadowMap(std::move(depthMap)); in onDrawShadowedPicture()
3107 blurSurf->getCanvas()->drawImage(std::move(depthMap), 0, 0, &blurPaint); in onDrawShadowedPicture()
/external/mesa3d/src/mesa/main/
Dreadpix.c468 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
475 GL_MAP_READ_BIT, &depthMap, &depthStride); in fast_read_depth_stencil_pixels_separate()
476 if (!depthMap) { in fast_read_depth_stencil_pixels_separate()
493 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate()
501 depthMap += depthStride; in fast_read_depth_stencil_pixels_separate()
529 GLubyte *depthMap, *stencilMap; in slow_read_depth_stencil_pixels_separate() local
539 GL_MAP_READ_BIT, &depthMap, &depthStride); in slow_read_depth_stencil_pixels_separate()
540 if (!depthMap) { in slow_read_depth_stencil_pixels_separate()
556 stencilMap = depthMap; in slow_read_depth_stencil_pixels_separate()
565 _mesa_unpack_float_z_row(depthRb->Format, width, depthMap, depthVals); in slow_read_depth_stencil_pixels_separate()
[all …]