Home
last modified time | relevance | path

Searched refs:depthFunc (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/driver/
DrsdProgramStore.cpp36 GLenum depthFunc; member
49 switch (ps->mHal.state.depthFunc) { in rsdProgramStoreInit()
52 drv->depthFunc = GL_ALWAYS; in rsdProgramStoreInit()
55 drv->depthFunc = GL_LESS; in rsdProgramStoreInit()
58 drv->depthFunc = GL_LEQUAL; in rsdProgramStoreInit()
61 drv->depthFunc = GL_GREATER; in rsdProgramStoreInit()
64 drv->depthFunc = GL_GEQUAL; in rsdProgramStoreInit()
67 drv->depthFunc = GL_EQUAL; in rsdProgramStoreInit()
70 drv->depthFunc = GL_NOTEQUAL; in rsdProgramStoreInit()
175 RSD_CALL_GL(glDepthFunc, drv->depthFunc); in rsdProgramStoreSetActive()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dprogram_store.rs12 rs_program_store depthFunc;
17 _RS_ASSERT(rsgProgramStoreGetDepthFunc(depthFunc) == RS_DEPTH_FUNC_GREATER);
18 _RS_ASSERT(rsgProgramStoreIsDepthMaskEnabled(depthFunc) == false);
19 _RS_ASSERT(rsgProgramStoreIsColorMaskRedEnabled(depthFunc) == false);
20 _RS_ASSERT(rsgProgramStoreIsColorMaskGreenEnabled(depthFunc) == false);
21 _RS_ASSERT(rsgProgramStoreIsColorMaskBlueEnabled(depthFunc) == false);
22 _RS_ASSERT(rsgProgramStoreIsColorMaskAlphaEnabled( depthFunc) == false);
23 _RS_ASSERT(rsgProgramStoreIsDitherEnabled(depthFunc) == false);
24 _RS_ASSERT(rsgProgramStoreGetBlendSrcFunc(depthFunc) == RS_BLEND_SRC_ZERO);
25 _RS_ASSERT(rsgProgramStoreGetBlendDstFunc(depthFunc) == RS_BLEND_DST_ZERO);
DUT_program_store.java38 ProgramStore depthFunc; field in UT_program_store
83 depthFunc = b.setDepthFunc(ProgramStore.DepthFunc.GREATER).create(); in initializeGlobals()
93 s.set_depthFunc(depthFunc); in initializeGlobals()
/frameworks/rs/
DrsProgramStore.cpp28 RsDepthFunc depthFunc) : ProgramBase(rsc) { in ProgramStore() argument
41 mHal.state.depthFunc = depthFunc; in ProgramStore()
91 RsDepthFunc depthFunc) { in getProgramStore() argument
104 if (existing->mHal.state.depthFunc != depthFunc) continue; in getProgramStore()
115 srcFunc, destFunc, depthFunc); in getProgramStore()
150 RsDepthFunc depthFunc) { in rsi_ProgramStoreCreate() argument
157 srcFunc, destFunc, depthFunc); in rsi_ProgramStoreCreate()
DrsProgramStore.h54 RsDepthFunc depthFunc; member
70 RsDepthFunc depthFunc);
81 RsDepthFunc depthFunc);
Drs.spec360 param RsDepthFunc depthFunc
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java446 final ProgramStore.DepthFunc depthFunc = mForceBlendCardsWithZ ? in initProgramStore() local
453 .setDepthFunc(depthFunc) in initProgramStore()
462 .setDepthFunc(depthFunc) in initProgramStore()
575 final ProgramStore.DepthFunc depthFunc = depthReads ? in setStoreConfigs() local
582 .setDepthFunc(depthFunc) in setStoreConfigs()
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_structs.h84 rs_depth_func depthFunc; member
Drs_program.c14 return prog->mHal.state.depthFunc; in rsgProgramStoreGetDepthFunc()
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java574 int srcMode, int dstMode, int depthFunc); in rsnProgramStoreCreate() argument
577 int srcMode, int dstMode, int depthFunc) { in nProgramStoreCreate() argument
580 dstMode, depthFunc); in nProgramStoreCreate()
/frameworks/native/opengl/libagl/
Dstate.cpp546 c->rasterizer.procs.depthFunc(c, func); in glDepthFunc()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp1081 jint depthFunc) in nProgramStoreCreate() argument
1086 (RsBlendDstFunc)destFunc, (RsDepthFunc)depthFunc); in nProgramStoreCreate()