Home
last modified time | relevance | path

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

/frameworks/rs/
DrsProgramRaster.cpp23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() function in android::renderscript::ProgramRaster
32 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.h37 class ProgramRaster : public ProgramBase {
53 static ProgramRaster *createFromStream(Context *rsc, IStream *stream);
55 static ObjectBaseRef<ProgramRaster> getProgramRaster(Context *rsc,
60 virtual ~ProgramRaster();
63 ProgramRaster(Context *rsc,
76 ObjectBaseRef<ProgramRaster> mDefault;
77 ObjectBaseRef<ProgramRaster> mLast;
80 std::vector<ProgramRaster *> mRasterPrograms;
DrsContext.h104 ObjectBaseRef<ProgramRaster> mRaster;
130 void setProgramRaster(ProgramRaster *);
140 ProgramRaster * getProgramRaster() {return mRaster.get();} in getProgramRaster()
176 ProgramRaster * getDefaultProgramRaster() const { in getDefaultProgramRaster()
326 ObjectBaseRef<ProgramRaster> mRaster;
DrsScript.h32 class ProgramRaster; variable
111 ObjectBaseRef<ProgramRaster> mRaster;
Drs_hal.h91 class ProgramRaster; variable
323 bool (*init)(const Context *rsc, const ProgramRaster *ps);
324 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
325 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
DrsScriptGroup.h32 class ProgramRaster; variable
DrsContext.cpp645 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster()
784 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster()
DrsScriptC_LibGL.cpp84 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster()
DrsRuntime.h40 void rsrBindProgramRaster(Context *, ProgramRaster *);
/frameworks/base/rs/java/android/renderscript/
DProgramRaster.java28 public class ProgramRaster extends BaseObj { class
56 ProgramRaster(long id, RenderScript rs) { in ProgramRaster() method in ProgramRaster
85 public static ProgramRaster CULL_BACK(RenderScript rs) { in CULL_BACK()
87 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK()
97 public static ProgramRaster CULL_FRONT(RenderScript rs) { in CULL_FRONT()
99 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT()
109 public static ProgramRaster CULL_NONE(RenderScript rs) { in CULL_NONE()
111 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE()
157 public ProgramRaster create() { in create()
160 ProgramRaster programRaster = new ProgramRaster(id, mRS); in create()
DRenderScriptGL.java328 public void bindProgramRaster(ProgramRaster p) { in bindProgramRaster()
DRenderScript.java1142 ProgramRaster mProgramRaster_CULL_BACK;
1143 ProgramRaster mProgramRaster_CULL_FRONT;
1144 ProgramRaster mProgramRaster_CULL_NONE;
/frameworks/rs/driver/
DrsdProgramRaster.cpp29 using android::renderscript::ProgramRaster;
31 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
DrsdProgramRaster.h24 const android::renderscript::ProgramRaster *);
26 const android::renderscript::ProgramRaster *);
28 const android::renderscript::ProgramRaster *);
DrsdRuntimeStubs.cpp47 using android::renderscript::ProgramRaster;
955 rsrBindProgramRaster(rsc, (ProgramRaster *)pr.p);
/frameworks/rs/driver/runtime/
Drs_structs.h137 typedef struct ProgramRaster { struct
/frameworks/rs/script_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/script_api/include/
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/config/
Dhiddenapi-greylist-max-o.txt60046 Landroid/renderscript/ProgramRaster$Builder;->mCullMode:Landroid/renderscript/ProgramRaster$CullMod…
60047 Landroid/renderscript/ProgramRaster$Builder;->mPointSprite:Z
60048 Landroid/renderscript/ProgramRaster$Builder;->mRS:Landroid/renderscript/RenderScript;
60049 …roid/renderscript/ProgramRaster$Builder;->setCullMode(Landroid/renderscript/ProgramRaster$CullMode…
60050 Landroid/renderscript/ProgramRaster$CullMode;->BACK:Landroid/renderscript/ProgramRaster$CullMode;
60051 Landroid/renderscript/ProgramRaster$CullMode;->FRONT:Landroid/renderscript/ProgramRaster$CullMode;
60052 Landroid/renderscript/ProgramRaster$CullMode;->mID:I
60053 Landroid/renderscript/ProgramRaster$CullMode;->NONE:Landroid/renderscript/ProgramRaster$CullMode;
60054 Landroid/renderscript/ProgramRaster$CullMode;->valueOf(Ljava/lang/String;)Landroid/renderscript/Pro…
60055 Landroid/renderscript/ProgramRaster$CullMode;->values()[Landroid/renderscript/ProgramRaster$CullMod…
[all …]