Home
last modified time | relevance | path

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

/frameworks/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(Context *rsc, 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.h35 class ProgramRaster : public ProgramBase {
51 static ProgramRaster *createFromStream(Context *rsc, IStream *stream);
53 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
58 virtual ~ProgramRaster();
61 ProgramRaster(Context *rsc,
74 ObjectBaseRef<ProgramRaster> mDefault;
75 ObjectBaseRef<ProgramRaster> mLast;
78 Vector<ProgramRaster *> mRasterPrograms;
DrsContext.h114 ObjectBaseRef<ProgramRaster> mRaster;
140 void setProgramRaster(ProgramRaster *);
150 ProgramRaster * getProgramRaster() {return mRaster.get();} in getProgramRaster()
186 ProgramRaster * getDefaultProgramRaster() const { in getDefaultProgramRaster()
336 ObjectBaseRef<ProgramRaster> mRaster;
DrsScript.h32 class ProgramRaster; variable
111 ObjectBaseRef<ProgramRaster> mRaster;
Drs_hal.h91 class ProgramRaster; variable
320 bool (*init)(const Context *rsc, const ProgramRaster *ps);
321 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
322 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
DrsScriptGroup.h32 class ProgramRaster; variable
DrsContext.cpp682 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster()
824 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster()
DrsRuntime.h44 void rsrBindProgramRaster(Context *, ProgramRaster *);
DrsScriptC_LibGL.cpp88 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster()
/frameworks/base/rs/java/android/renderscript/
DProgramRaster.java26 public class ProgramRaster extends BaseObj { class
54 ProgramRaster(long id, RenderScript rs) { in ProgramRaster() method in ProgramRaster
83 public static ProgramRaster CULL_BACK(RenderScript rs) { in CULL_BACK()
85 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK()
95 public static ProgramRaster CULL_FRONT(RenderScript rs) { in CULL_FRONT()
97 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT()
107 public static ProgramRaster CULL_NONE(RenderScript rs) { in CULL_NONE()
109 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE()
152 public ProgramRaster create() { in create()
155 ProgramRaster programRaster = new ProgramRaster(id, mRS); in create()
DRenderScriptGL.java320 public void bindProgramRaster(ProgramRaster p) { in bindProgramRaster()
DRenderScript.java1129 ProgramRaster mProgramRaster_CULL_BACK;
1130 ProgramRaster mProgramRaster_CULL_FRONT;
1131 ProgramRaster mProgramRaster_CULL_NONE;
/frameworks/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()
55 void rsdProgramRasterDestroy(const Context *, const ProgramRaster *) { in rsdProgramRasterDestroy() argument
DrsdRuntimeStubs.cpp894 rsrBindProgramRaster(rsc, (ProgramRaster *)pr.p);
/frameworks/rs/driver/runtime/
Drs_structs.h137 typedef struct ProgramRaster { struct
/frameworks/rs/api/
Drs_graphics.spec167 summary: Handle to a ProgramRaster
169 Opaque handle to a RenderScript ProgramRaster object.
170 See: android.renderscript.ProgramRaster
318 summary: Bind a ProgramRaster
320 Bind a new ProgramRaster to the rendering context.
/frameworks/rs/scriptc/
Drs_graphics.rsh235 * rs_program_raster: Handle to a ProgramRaster
239 * Opaque handle to a RenderScript ProgramRaster object.
240 * See: android.renderscript.ProgramRaster
565 * rsgBindProgramRaster: Bind a ProgramRaster
569 * Bind a new ProgramRaster to the rendering context.
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd81 <b>Deprecated</b>. Handle to a ProgramRaster
156 <b>Deprecated</b>. Bind a ProgramRaster
672 <span class='normal'>: Handle to a ProgramRaster</span>
678 <p> Opaque handle to a RenderScript ProgramRaster object.
679 See: android.renderscript.ProgramRaster
892 <span class='normal'>: Bind a ProgramRaster</span>
906 <p> Bind a new ProgramRaster to the rendering context.
Dindex.jd2558 <b>Deprecated</b>. Handle to a ProgramRaster
2657 <b>Deprecated</b>. Bind a ProgramRaster