Home
last modified time | relevance | path

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

/frameworks/rs/
DrsProgramRaster.cpp23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() argument
28 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()
103 RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) { in rsi_ProgramRasterCreate() argument
104 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate()
DrsProgramRaster.h44 RsCullMode cull; member
57 RsCullMode cull);
65 RsCullMode cull);
Drsg.spec18 param RsCullMode cull
DrsApiStubs.cpp799 …"C" RsProgramRaster rsProgramRasterCreate (RsContext ctxWrapper, bool pointSprite, RsCullMode cull) in rsProgramRasterCreate() argument
801 return RS_DISPATCH(ctxWrapper, ProgramRasterCreate, pointSprite, cull); in rsProgramRasterCreate()
DrsApiStubs.h138 extern "C" RsProgramRaster rsProgramRasterCreate (RsContext rsc, bool pointSprite, 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.cpp543 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
547 if (!c->arrays.cull) { in drawPrimitivesPoints()
568 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
584 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
597 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
628 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
632 if (!c->arrays.cull) { in drawPrimitivesLines()
658 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
678 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
697 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.h208 uint16_t cull; member
616 culling_t cull; member
Dprimitives.cpp829 if (ggl_likely(c->cull.enable)) { in cull_triangle()
831 const GLenum face = (winding == c->cull.frontFace) ? GL_FRONT : GL_BACK; in cull_triangle()
832 if (face == c->cull.cullFace) in cull_triangle()
/frameworks/rs/driver/
DrsdProgramRaster.cpp36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp445 DrawAtlas(const SkImage* atlas, int count, SkBlendMode xfermode, const SkRect* cull, in DrawAtlas()
448 if (cull) { in DrawAtlas()
449 this->cull = *cull; in DrawAtlas()
458 SkRect cull = kUnset; member
466 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, maybe_unset(cull), &paint); in draw()
663 const SkRect* cull, const SkPaint* paint) { in drawAtlas() argument
669 this->push<DrawAtlas>(bytes, atlas, count, xfermode, cull, paint, colors != nullptr); in drawAtlas()
973 SkBlendMode bmode, const SkRect* cull, const SkPaint* paint) { in onDrawAtlas() argument
974 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
/frameworks/rs/driver/runtime/
Drs_program.c109 return prog->mHal.state.cull; in rsgProgramRasterGetCullMode()
Drs_structs.h143 rs_cull_mode cull; member
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h64 SkBlendMode, const SkRect* cull, const SkPaint*) { in onDrawAtlas() argument
/frameworks/rs/script_api/
Drs_graphics.spec856 summary: Get program raster cull mode
858 Get program raster cull mode
/frameworks/rs/cpp/
DrsDispatch.h111 …def RsProgramRaster (*ProgramRasterCreateFnPtr) (RsContext rsc, bool pointSprite, RsCullMode cull);
/frameworks/rs/script_api/include/
Drs_graphics.rsh1292 * rsgProgramRasterGetCullMode: Get program raster cull mode
1296 * Get program raster cull mode
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2562 nProgramRasterCreate(JNIEnv *_env, jobject _this, jlong con, jboolean pointSprite, jint cull) in nProgramRasterCreate() argument
2566 pointSprite, cull); in nProgramRasterCreate()
2568 return (jlong)(uintptr_t)rsProgramRasterCreate((RsContext)con, pointSprite, (RsCullMode)cull); in nProgramRasterCreate()
/frameworks/native/vulkan/api/
Dvulkan.api4509 …VkBool32 shaderCullDistance /// cull dis…
4641 … maxCullDistances /// max number of cull distances