Home
last modified time | relevance | path

Searched refs:cull (Results 1 – 17 of 17) sorted by relevance

/frameworks/rs/
DrsProgramRaster.cpp24 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() argument
29 mHal.state.cull = cull; in ProgramRaster()
80 RsCullMode cull) { in getProgramRaster() argument
86 if (existing->mHal.state.cull != cull) continue; in getProgramRaster()
93 ProgramRaster *pr = new ProgramRaster(rsc, pointSprite, cull); in getProgramRaster()
106 RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) { in rsi_ProgramRasterCreate() argument
107 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate()
DrsProgramRaster.h42 RsCullMode cull; member
55 RsCullMode cull);
63 RsCullMode cull);
Drsg.spec18 param RsCullMode cull
/frameworks/native/opengl/libagl/
Dvertex.cpp32 c->cull.enable = GL_FALSE; in ogles_init_vertex()
33 c->cull.cullFace = GL_BACK; in ogles_init_vertex()
34 c->cull.frontFace = GL_CCW; in ogles_init_vertex()
99 c->arrays.cull &= clip; in clipFrustumPerspective()
144 c->arrays.cull = 0; in ogles_vertex_perspective2D()
Darray.cpp545 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
549 if (!c->arrays.cull) { in drawPrimitivesPoints()
570 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
586 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
599 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
630 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
634 if (!c->arrays.cull) { in drawPrimitivesLines()
660 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
680 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
699 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
[all …]
Dstate.cpp156 c->cull.enable = enabled; in enable_disable()
265 c->cull.cullFace = mode; in glCullFace()
279 c->cull.frontFace = mode; in glFrontFace()
Dcontext.h207 uint16_t cull; member
615 culling_t cull; member
Dprimitives.cpp828 if (ggl_likely(c->cull.enable)) { in cull_triangle()
830 const GLenum face = (winding == c->cull.frontFace) ? GL_FRONT : GL_BACK; in cull_triangle()
831 if (face == c->cull.cullFace) in cull_triangle()
/frameworks/rs/driver/
DrsdProgramRaster.cpp36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DRenderable.java64 public void setCullType(int cull) { in setCullType() argument
65 mData.cullType = cull; in setCullType()
DSceneManager.java482 mCullScript = new ScriptC_cull(rs, res, R.raw.cull); in initRS()
Dscenegraph_objects.rsh132 int cullType; // specifies whether to frustum cull
/frameworks/rs/driver/runtime/
Drs_structs.h128 rs_cull_mode cull; member
Drs_program.c109 return prog->mHal.state.cull; in rsgProgramRasterGetCullMode()
/frameworks/rs/scriptc/
Drs_program.rsh108 * Get program raster cull mode
/frameworks/base/docs/html/training/graphics/opengl/
Dshapes.jd94 want to have drawn, and the back face, which you can choose to not draw using the OpenGL ES cull
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1508 nProgramRasterCreate(JNIEnv *_env, jobject _this, jlong con, jboolean pointSprite, jint cull) in nProgramRasterCreate() argument
1510 …API("nProgramRasterCreate, con(%p), pointSprite(%i), cull(%i)", (RsContext)con, pointSprite, cull); in nProgramRasterCreate()
1511 return (jlong)(uintptr_t)rsProgramRasterCreate((RsContext)con, pointSprite, (RsCullMode)cull); in nProgramRasterCreate()