Home
last modified time | relevance | path

Searched refs:ProgramRaster (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/rs/
DrsProgramRaster.cpp24 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() function in ProgramRaster
33 void ProgramRaster::preDestroy() const { in preDestroy()
42 ProgramRaster::~ProgramRaster() { in ~ProgramRaster()
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { in setup()
56 void ProgramRaster::serialize(OStream *stream) const { in serialize()
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
70 mDefault.set(ProgramRaster::getProgramRaster(rsc, false, RS_CULL_BACK).get()); in init()
78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster()
81 ObjectBaseRef<ProgramRaster> returnRef; in getProgramRaster()
84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; in getProgramRaster()
[all …]
DrsProgramRaster.h28 class ProgramRaster : public ProgramBase {
33 static ProgramRaster *createFromStream(Context *rsc, IStream *stream);
35 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
51 virtual ~ProgramRaster();
54 ProgramRaster(Context *rsc,
67 ObjectBaseRef<ProgramRaster> mDefault;
68 ObjectBaseRef<ProgramRaster> mLast;
71 Vector<ProgramRaster *> mRasterPrograms;
DrsContext.h93 ObjectBaseRef<ProgramRaster> mRaster;
114 void setProgramRaster(ProgramRaster *);
124 ProgramRaster * getProgramRaster() {return mRaster.get();} in getProgramRaster()
157 ProgramRaster * getDefaultProgramRaster() const { in getDefaultProgramRaster()
240 ObjectBaseRef<ProgramRaster> mRaster;
DrsScript.h29 class ProgramRaster; variable
66 ObjectBaseRef<ProgramRaster> mRaster;
Drs_hal.h34 class ProgramRaster; variable
166 bool (*init)(const Context *rsc, const ProgramRaster *ps);
167 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
168 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
DrsContext.cpp507 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster()
624 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster()
DrsRuntime.h37 void rsrBindProgramRaster(Context *, Script *, ProgramRaster *);
DrsScriptC_LibGL.cpp74 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster()
/frameworks/base/graphics/java/android/renderscript/
DProgramRaster.java27 public class ProgramRaster extends BaseObj { class
46 ProgramRaster(int id, RenderScript rs) { in ProgramRaster() method in ProgramRaster
57 public static ProgramRaster CULL_BACK(RenderScript rs) { in CULL_BACK()
59 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK()
66 public static ProgramRaster CULL_FRONT(RenderScript rs) { in CULL_FRONT()
68 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT()
75 public static ProgramRaster CULL_NONE(RenderScript rs) { in CULL_NONE()
77 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE()
105 public ProgramRaster create() { in create()
108 return new ProgramRaster(id, mRS); in create()
DRenderScriptGL.java293 public void bindProgramRaster(ProgramRaster p) { in bindProgramRaster()
DRenderScript.java675 ProgramRaster mProgramRaster_CULL_BACK;
676 ProgramRaster mProgramRaster_CULL_FRONT;
677 ProgramRaster mProgramRaster_CULL_NONE;
/frameworks/base/libs/rs/driver/
DrsdProgramRaster.h24 const android::renderscript::ProgramRaster *);
26 const android::renderscript::ProgramRaster *);
28 const android::renderscript::ProgramRaster *);
DrsdProgramRaster.cpp31 bool rsdProgramRasterInit(const Context *, const ProgramRaster *) { in rsdProgramRasterInit() argument
35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { in rsdProgramRasterSetActive()
52 void rsdProgramRasterDestroy(const Context *, const ProgramRaster *) { in rsdProgramRasterDestroy() argument
DrsdRuntimeStubs.cpp112 static void SC_BindProgramRaster(ProgramRaster *pr) { in SC_BindProgramRaster()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java593 mScript.set_gCullBack(ProgramRaster.CULL_BACK(mRS)); in initProgramRaster()
594 mScript.set_gCullFront(ProgramRaster.CULL_FRONT(mRS)); in initProgramRaster()
595 mScript.set_gCullNone(ProgramRaster.CULL_NONE(mRS)); in initProgramRaster()
637 mTorusScript.set_gCullFront(ProgramRaster.CULL_FRONT(mRS)); in initTorusScript()
638 mTorusScript.set_gCullBack(ProgramRaster.CULL_BACK(mRS)); in initTorusScript()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java78 private ProgramRaster mRasterProgram;
365 ProgramRaster.Builder programRasterBuilder = new ProgramRaster.Builder(mRS); in initRasterProgram()
/frameworks/base/libs/rs/scriptc/
Drs_types.rsh153 * \brief Opaque handle to a Renderscript ProgramRaster object.
155 * See: android.renderscript.ProgramRaster
Drs_graphics.rsh95 * Bind a new ProgramRaster to the rendering context.
/frameworks/base/docs/html/guide/topics/renderscript/
Dgraphics.jd538 <td>{@link android.renderscript.ProgramRaster}</td>
/frameworks/base/api/
Dcurrent.txt18194 public class ProgramRaster extends android.renderscript.BaseObj {
18195 …method public static android.renderscript.ProgramRaster CULL_BACK(android.renderscript.RenderScrip…
18196 …method public static android.renderscript.ProgramRaster CULL_FRONT(android.renderscript.RenderScri…
18197 …method public static android.renderscript.ProgramRaster CULL_NONE(android.renderscript.RenderScrip…
18200 public static class ProgramRaster.Builder {
18201 ctor public ProgramRaster.Builder(android.renderscript.RenderScript);
18202 method public android.renderscript.ProgramRaster create();
18203 …method public android.renderscript.ProgramRaster.Builder setCullMode(android.renderscript.ProgramR…
18204 method public android.renderscript.ProgramRaster.Builder setPointSpriteEnabled(boolean);
18207 public static final class ProgramRaster.CullMode extends java.lang.Enum {
[all …]
D14.txt18194 public class ProgramRaster extends android.renderscript.BaseObj {
18195 …method public static android.renderscript.ProgramRaster CULL_BACK(android.renderscript.RenderScrip…
18196 …method public static android.renderscript.ProgramRaster CULL_FRONT(android.renderscript.RenderScri…
18197 …method public static android.renderscript.ProgramRaster CULL_NONE(android.renderscript.RenderScrip…
18200 public static class ProgramRaster.Builder {
18201 ctor public ProgramRaster.Builder(android.renderscript.RenderScript);
18202 method public android.renderscript.ProgramRaster create();
18203 …method public android.renderscript.ProgramRaster.Builder setCullMode(android.renderscript.ProgramR…
18204 method public android.renderscript.ProgramRaster.Builder setPointSpriteEnabled(boolean);
18207 public static final class ProgramRaster.CullMode extends java.lang.Enum {
[all …]