Home
last modified time | relevance | path

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

/frameworks/base/libs/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.h37 RsCullMode cull);
43 RsCullMode cull; member
56 RsCullMode cull);
Drs.spec333 param RsCullMode cull
/frameworks/base/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.cpp541 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
545 if (!c->arrays.cull) { in drawPrimitivesPoints()
566 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
582 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
595 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
626 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
630 if (!c->arrays.cull) { in drawPrimitivesLines()
656 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
676 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
695 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
[all …]
Dstate.cpp155 c->cull.enable = enabled; in enable_disable()
264 c->cull.cullFace = mode; in glCullFace()
278 c->cull.frontFace = mode; in glFrontFace()
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/base/libs/rs/driver/
DrsdProgramRaster.cpp36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
/frameworks/base/include/private/opengles/
Dgl_context.h203 uint16_t cull; member
611 culling_t cull; member
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp1056 nProgramRasterCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean pointSprite, jint cull) in nProgramRasterCreate() argument
1058 LOG_API("nProgramRasterCreate, con(%p), pointSprite(%i), cull(%i)", con, pointSprite, cull); in nProgramRasterCreate()
1059 return (jint)rsProgramRasterCreate(con, pointSprite, (RsCullMode)cull); in nProgramRasterCreate()