Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 11 of 11) sorted by relevance

/system/core/libpixelflinger/
Dclear.cpp30 static void ggl_clearDepthx(void* c, GGLclampx depth);
45 c->state.clear.depth = FIXED_ONE; in ggl_init_clear()
111 if (c->state.buffers.depth.format == 0) in ggl_clear()
136 uint32_t depth = fixedToZ(c->state.clear.depth); in ggl_clear() local
137 c->state.clear.depthPacked = (depth<<16)|depth; in ggl_clear()
140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h); in ggl_clear()
157 static void ggl_clearDepthx(void* con, GGLclampx depth) in ggl_clearDepthx() argument
160 c->state.clear.depth = gglClampx(depth); in ggl_clearDepthx()
Dpixelflinger.cpp139 ggl_set_surface(c, &(c->state.buffers.depth), surface); in ggl_depthBuffer()
141 c->state.buffers.depth.format = GGL_PIXEL_FORMAT_NONE; in ggl_depthBuffer()
532 if (c->state.mask.depth != flag?1:0) { in ggl_depthMask()
533 c->state.mask.depth = flag?1:0; in ggl_depthMask()
671 if (c->state.buffers.depth.format == 0) in ggl_enable_depth_test()
799 c->state.mask.depth = 0; in ggl_init_context()
Dpicker.cpp122 p |= GGL_BUILD_NEEDS(c->state.mask.depth&1, P_MASK_Z); in ggl_pick()
Dscanline.cpp856 if (c->state.buffers.depth.format) { in scanline()
858 surface_t* cb = &(c->state.buffers.depth); in scanline()
861 uint16_t depth = *p; in scanline() local
864 case GGL_LESS: if (zz<depth) break; goto discard; in scanline()
865 case GGL_EQUAL: if (zz==depth) break; goto discard; in scanline()
866 case GGL_LEQUAL: if (zz<=depth) break; goto discard; in scanline()
867 case GGL_GREATER: if (zz>depth) break; goto discard; in scanline()
868 case GGL_NOTEQUAL: if (zz!=depth) break; goto discard; in scanline()
869 case GGL_GEQUAL: if (zz>=depth) break; goto discard; in scanline()
880 if (c->state.mask.depth) { in scanline()
/system/core/toolbox/
Ddu.c78 int depth; in du_main() local
85 depth = INT_MAX; in du_main()
107 depth = atoi(optarg); in du_main()
108 if (depth < 0 || depth > SHRT_MAX) { in du_main()
168 depth = 0; in du_main()
198 if (p->fts_level <= depth in du_main()
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp614 size_t depth = testCase->treeDepth(); in testTraverse() local
615 for (size_t i = 0; i < depth; i++) { in testTraverse()
624 for (size_t j = 0; j < depth; j++) { in testTraverse()
663 int expectedDirs = depth + 1; in testTraverse()
669 int expectedFiles = depth * depth; in testTraverse()
/system/core/include/private/pixelflinger/
Dggl_context.h290 uint8_t depth;
299 GGLclampx depth;
431 surface_t depth;
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp430 CONTEXT_LOAD(Rs, state.buffers.depth.stride); in build_scanline_prolog()
431 CONTEXT_LOAD(zbase, state.buffers.depth.data); in build_scanline_prolog()
765 int depth = scratches.obtain(); in build_depth_test() local
773 LDRH(AL, depth, zbase); // stall in build_depth_test()
774 CMP(AL, depth, reg_imm(z, LSR, 16)); in build_depth_test()
782 MOV(AL, 0, depth, reg_imm(z, LSR, 16)); in build_depth_test()
783 STRH(ic, depth, zbase); in build_depth_test()
/system/core/adb/
DSERVICES.TXT186 depth: uint32_t: framebuffer depth
191 With the current implementation, depth is always 16, and
/system/core/include/pixelflinger/
Dpixelflinger.h298 void (*clearDepthx)(void* c, GGLclampx depth);
/system/core/sh/
DTOUR61 MKINIT int funcnest; /* depth of function calls */