Searched refs:rsc (Results 1 - 25 of 121) sorted by relevance

12345

/frameworks/rs/
H A DrsScriptC_LibGL.cpp49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument
52 pf->bindTexture(rsc, slot, a);
55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument
58 pf->bindAllocation(rsc, a, slot);
61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { argument
64 pv->bindAllocation(rsc, a, slot);
67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { argument
70 pf->bindSampler(rsc, slot, s);
73 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { argument
75 rsc
78 rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) argument
83 rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) argument
88 rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) argument
93 rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) argument
99 rsrBindFrameBufferObjectDepthTarget(Context *rsc, Script *sc, Allocation *a) argument
105 rsrClearFrameBufferObjectColorTarget(Context *rsc, Script *sc, uint32_t slot) argument
110 rsrClearFrameBufferObjectDepthTarget(Context *rsc, Script *sc) argument
115 rsrClearFrameBufferObjectTargets(Context *rsc, Script *sc) argument
124 rsrVpLoadProjectionMatrix(Context *rsc, Script *sc, const rsc_Matrix *m) argument
128 rsrVpLoadModelMatrix(Context *rsc, Script *sc, const rsc_Matrix *m) argument
132 rsrVpLoadTextureMatrix(Context *rsc, Script *sc, const rsc_Matrix *m) argument
136 rsrPfConstantColor(Context *rsc, Script *sc, ProgramFragment *pf, float r, float g, float b, float a) argument
142 rsrVpGetProjectionMatrix(Context *rsc, Script *sc, rsc_Matrix *m) argument
151 rsrDrawPath(Context *rsc, Script *sc, Path *sm) argument
159 rsrDrawMesh(Context *rsc, Script *sc, Mesh *sm) argument
167 rsrDrawMeshPrimitive(Context *rsc, Script *sc, Mesh *sm, uint32_t primIndex) argument
175 rsrDrawMeshPrimitiveRange(Context *rsc, Script *sc, Mesh *sm, uint32_t primIndex, uint32_t start, uint32_t len) argument
184 rsrMeshComputeBoundingBox(Context *rsc, Script *sc, Mesh *sm, float *minX, float *minY, float *minZ, float *maxX, float *maxY, float *maxZ) argument
203 rsrColor(Context *rsc, Script *sc, float r, float g, float b, float a) argument
208 rsrPrepareClear(Context *rsc, Script *sc) argument
213 rsrGetWidth(Context *rsc, Script *sc) argument
217 rsrGetHeight(Context *rsc, Script *sc) argument
221 rsrDrawTextAlloc(Context *rsc, Script *sc, Allocation *a, int x, int y) argument
228 rsrDrawText(Context *rsc, Script *sc, const char *text, int x, int y) argument
249 rsrMeasureTextAlloc(Context *rsc, Script *sc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
260 rsrMeasureText(Context *rsc, Script *sc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
268 rsrBindFont(Context *rsc, Script *sc, Font *font) argument
273 rsrFontColor(Context *rsc, Script *sc, float r, float g, float b, float a) argument
[all...]
H A DrsScriptIntrinsic.cpp24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { argument
30 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { argument
36 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
46 void ScriptIntrinsic::setupScript(Context *rsc) { argument
49 uint32_t ScriptIntrinsic::run(Context *rsc) { argument
55 void ScriptIntrinsic::runForEach(Context *rsc, argument
63 rsc->mHal.funcs.script.invokeForEach(rsc, thi
66 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
69 serialize(Context *rsc, OStream *stream) const argument
82 rsi_ScriptIntrinsicCreate(Context *rsc, uint32_t id, RsElement ve) argument
[all...]
H A DrsProgramVertex.cpp25 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength, argument
29 : Program(rsc, shaderText, shaderLength, params, paramLength) {
38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument
45 rsc->setError(RS_ERROR_FATAL_UNKNOWN,
49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
50 rsc, mHal.state.constants[0]));
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
64 rsc->mHal.funcs.vertex.setActive(rsc, thi
67 setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const argument
85 setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const argument
103 setTextureMatrix(Context *rsc, const rsc_Matrix *m) const argument
121 getProjectionMatrix(Context *rsc, rsc_Matrix *m) const argument
138 transformToScreen(Context *rsc, float *v4out, const float *v3in) const argument
151 serialize(Context *rsc, OStream *stream) const argument
154 createFromStream(Context *rsc, IStream *stream) argument
167 init(Context *rsc) argument
221 updateSize(Context *rsc) argument
238 deinit(Context *rsc) argument
248 rsi_ProgramVertexCreate(Context *rsc, const char * shaderText, size_t shaderLength, const char** textureNames, size_t textureNamesCount, const size_t *textureNamesLength, const uint32_t * params, size_t paramLength) argument
[all...]
H A DrsPath.cpp24 Path::Path(Context *rsc) : ObjectBase(rsc) { argument
27 Path::Path(Context *rsc, RsPathPrimitive pp, bool isStatic, argument
29 : ObjectBase(rsc) {
36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops);
41 Path::Path(Context *rsc, uint32_t vertexBuffersCount, uint32_t primitivesCount) argument
42 : ObjectBase(rsc) {
59 void Path::render(Context *rsc) { argument
62 void Path::serialize(Context *rsc, OStrea argument
73 rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, RsAllocation vtx, RsAllocation loops, float quality) argument
[all...]
H A DrsScriptC.cpp34 Context * rsc = tls->mContext; \
37 ScriptC::ScriptC(Context *rsc) : Script(rsc) { argument
93 void ScriptC::setupScript(Context *rsc) { argument
104 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
108 void ScriptC::setupGLState(Context *rsc) { argument
110 rsc->setProgramStore(mEnviroment.mFragmentStore.get());
113 rsc->setProgramFragment(mEnviroment.mFragment.get());
116 rsc
123 run(Context *rsc) argument
148 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
163 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
213 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
340 rsi_ScriptCCreate(Context *rsc, const char *resName, size_t resName_length, const char *cacheDir, size_t cacheDir_length, const char *text, size_t text_length) argument
[all...]
H A DrsProgramRaster.cpp24 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) argument
25 : ProgramBase(rsc) {
30 rsc->mHal.funcs.raster.init(rsc, this);
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument
53 rsc->mHal.funcs.raster.setActive(rsc, this);
56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const { argument
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { argument
69 void ProgramRasterState::init(Context *rsc) { argument
73 deinit(Context *rsc) argument
78 getProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) argument
106 rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) argument
[all...]
H A DrsProgramFragment.cpp23 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, argument
27 : Program(rsc, shaderText, shaderLength, params, paramLength) {
41 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { argument
44 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program");
49 rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocation is missing");
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 void ProgramFragment::setup(Context *rsc, ProgramFragmentStat argument
79 serialize(Context *rsc, OStream *stream) const argument
82 createFromStream(Context *rsc, IStream *stream) argument
95 init(Context *rsc) argument
125 deinit(Context *rsc) argument
133 rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, size_t shaderLength, const char** textureNames, size_t textureNamesCount, const size_t *textureNamesLength, const uint32_t * params, size_t paramLength) argument
[all...]
H A DrsAdapter.cpp24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { argument
28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { argument
40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes);
44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { argument
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { argument
55 Adapter1D *a = new Adapter1D(rsc);
60 rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) argument
66 rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
95 Adapter2D(Context *rsc) argument
99 Adapter2D(Context *rsc, Allocation *a) argument
111 data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
117 serialize(Context *rsc, OStream *stream) const argument
120 createFromStream(Context *rsc, IStream *stream) argument
128 rsi_Adapter2DCreate(Context *rsc) argument
134 rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) argument
140 rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
[all...]
H A Drs_hal.h92 bool (*init)(const Context *rsc, ScriptC *s,
98 bool (*initIntrinsic)(const Context *rsc, Script *s,
102 void (*invokeFunction)(const Context *rsc, Script *s,
106 int (*invokeRoot)(const Context *rsc, Script *s);
107 void (*invokeForEach)(const Context *rsc,
115 void (*invokeInit)(const Context *rsc, Script *s);
116 void (*invokeFreeChildren)(const Context *rsc, Script *s);
118 void (*setGlobalVar)(const Context *rsc, const Script *s,
122 void (*setGlobalVarWithElemDims)(const Context *rsc, const Script *s,
129 void (*setGlobalBind)(const Context *rsc, cons
[all...]
H A DrsAllocation.cpp28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
30 : ObjectBase(rsc) {
41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
46 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
72 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { argument
73 rsc->mHal.funcs.allocation.syncAll(rsc, thi
76 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
91 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
108 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) argument
113 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
127 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
141 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
146 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
174 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
240 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
289 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
297 packVec3Allocation(Context *rsc, OStream *stream) const argument
312 serialize(Context *rsc, OStream *stream) const argument
338 createFromStream(Context *rsc, IStream *stream) argument
417 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
420 resize1D(Context *rsc, uint32_t dimX) argument
436 resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) argument
440 getSurfaceTextureID(const Context *rsc) argument
446 setSurfaceTexture(const Context *rsc, SurfaceTexture *st) argument
458 setSurface(const Context *rsc, RsNativeWindow sur) argument
471 ioSend(const Context *rsc) argument
475 ioReceive(const Context *rsc) argument
486 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
492 rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) argument
497 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
504 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
510 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument
516 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
522 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
528 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
540 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
545 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
550 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, uint32_t usages, uint32_t ptr) argument
561 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
583 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
621 rsi_AllocationCopy2DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
638 rsi_AllocationGetSurfaceTextureID(Context *rsc, RsAllocation valloc) argument
643 rsi_AllocationGetSurfaceTextureID2(Context *rsc, RsAllocation valloc, void *vst, size_t len) argument
648 rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) argument
653 rsi_AllocationIoSend(Context *rsc, RsAllocation valloc) argument
658 rsi_AllocationIoReceive(Context *rsc, RsAllocation valloc) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptIntrinsic.cpp24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { argument
30 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { argument
36 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
46 void ScriptIntrinsic::setupScript(Context *rsc) { argument
49 uint32_t ScriptIntrinsic::run(Context *rsc) { argument
55 void ScriptIntrinsic::runForEach(Context *rsc, argument
63 rsc->mHal.funcs.script.invokeForEach(rsc, thi
66 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
69 serialize(Context *rsc, OStream *stream) const argument
82 rsi_ScriptIntrinsicCreate(Context *rsc, uint32_t id, RsElement ve) argument
[all...]
H A DrsScriptC.cpp27 Context * rsc = tls->mContext; \
30 ScriptC::ScriptC(Context *rsc) : Script(rsc) { argument
40 void ScriptC::setupScript(Context *rsc) { argument
51 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
55 void ScriptC::setupGLState(Context *rsc) { argument
58 uint32_t ScriptC::run(Context *rsc) { argument
60 rsc->setError(RS_ERROR_BAD_SCRIPT, "Attempted to run bad script");
64 setupGLState(rsc);
83 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
98 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
148 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
186 rsi_ScriptCCreate(Context *rsc, const char *resName, size_t resName_length, const char *cacheDir, size_t cacheDir_length, const char *text, size_t text_length) argument
[all...]
H A DrsContext.cpp164 Context *rsc = static_cast<Context *>(vrsc); local
166 rsc->mNativeThreadId = gettid();
168 setpriority(PRIO_PROCESS, rsc->mNativeThreadId, /* ANDROID_PRIORITY_DISPLAY */ -4);
169 rsc->mThreadPriority = /* ANDROID_PRIORITY_DISPLAY */ -4;
171 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0;
172 rsc->props.mLogScripts = getProp("debug.rs.script") != 0;
173 rsc->props.mLogObjects = getProp("debug.rs.object") != 0;
174 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0;
175 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0;
176 rsc
208 Context *rsc = (Context *)ctx; local
242 Context * rsc = new Context(); local
252 Context * rsc = new Context(); local
395 rsi_ContextFinish(Context *rsc) argument
398 rsi_ContextBindRootScript(Context *rsc, RsScript vs) argument
403 rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) argument
414 rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) argument
419 rsi_ObjDestroy(Context *rsc, void *optr) argument
425 rsi_ContextSetPriority(Context *rsc, int32_t p) argument
429 rsi_ContextDump(Context *rsc, int32_t bits) argument
433 rsi_ContextDestroyWorker(Context *rsc) argument
437 rsi_ContextDestroy(Context *rsc) argument
445 rsi_ContextPeekMessage(Context *rsc, size_t * receiveLen, size_t receiveLen_length, uint32_t * subID, size_t subID_length) argument
451 rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length, size_t * receiveLen, size_t receiveLen_length, uint32_t * subID, size_t subID_length) argument
459 rsi_ContextInitToClient(Context *rsc) argument
463 rsi_ContextDeinitToClient(Context *rsc) argument
474 Context *rsc = Context::createContext(dev, NULL); local
[all...]
H A DrsAdapter.cpp24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { argument
28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { argument
40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes);
44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { argument
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { argument
55 Adapter1D *a = new Adapter1D(rsc);
60 rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) argument
66 rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
95 Adapter2D(Context *rsc) argument
99 Adapter2D(Context *rsc, Allocation *a) argument
111 data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
117 serialize(Context *rsc, OStream *stream) const argument
120 createFromStream(Context *rsc, IStream *stream) argument
128 rsi_Adapter2DCreate(Context *rsc) argument
134 rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) argument
140 rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
[all...]
H A Drs_hal.h92 bool (*init)(const Context *rsc, ScriptC *s,
98 bool (*initIntrinsic)(const Context *rsc, Script *s,
102 void (*invokeFunction)(const Context *rsc, Script *s,
106 int (*invokeRoot)(const Context *rsc, Script *s);
107 void (*invokeForEach)(const Context *rsc,
115 void (*invokeInit)(const Context *rsc, Script *s);
116 void (*invokeFreeChildren)(const Context *rsc, Script *s);
118 void (*setGlobalVar)(const Context *rsc, const Script *s,
122 void (*setGlobalVarWithElemDims)(const Context *rsc, const Script *s,
129 void (*setGlobalBind)(const Context *rsc, cons
[all...]
/frameworks/rs/driver/
H A DrsdSampler.h23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,
H A DrsdFrameBuffer.h22 bool rsdFrameBufferInit(const android::renderscript::Context *rsc,
24 void rsdFrameBufferSetActive(const android::renderscript::Context *rsc,
26 void rsdFrameBufferDestroy(const android::renderscript::Context *rsc,
H A DrsdProgramRaster.h23 bool rsdProgramRasterInit(const android::renderscript::Context *rsc,
25 void rsdProgramRasterSetActive(const android::renderscript::Context *rsc,
27 void rsdProgramRasterDestroy(const android::renderscript::Context *rsc,
H A DrsdProgramStore.h23 bool rsdProgramStoreInit(const android::renderscript::Context *rsc,
25 void rsdProgramStoreSetActive(const android::renderscript::Context *rsc,
27 void rsdProgramStoreDestroy(const android::renderscript::Context *rsc,
H A DrsdMesh.h23 bool rsdMeshInit(const android::renderscript::Context *rsc,
25 void rsdMeshDraw(const android::renderscript::Context *rsc,
28 void rsdMeshDestroy(const android::renderscript::Context *rsc,
H A DrsdProgramFragment.h23 bool rsdProgramFragmentInit(const android::renderscript::Context *rsc,
28 void rsdProgramFragmentSetActive(const android::renderscript::Context *rsc,
30 void rsdProgramFragmentDestroy(const android::renderscript::Context *rsc,
H A DrsdProgramVertex.h22 bool rsdProgramVertexInit(const android::renderscript::Context *rsc,
27 void rsdProgramVertexSetActive(const android::renderscript::Context *rsc,
29 void rsdProgramVertexDestroy(const android::renderscript::Context *rsc,
H A DrsdPath.h23 bool rsdPathInitStatic(const android::renderscript::Context *rsc,
27 bool rsdPathInitDynamic(const android::renderscript::Context *rsc,
29 void rsdPathDraw(const android::renderscript::Context *rsc,
31 void rsdPathDestroy(const android::renderscript::Context *rsc,
H A DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, argument
47 static void SyncProgramConstants(const Context *rsc, const Program *p) { argument
55 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT);
60 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { argument
61 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
63 SyncProgramConstants(rsc, pv);
67 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { argument
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
73 if (rsc->props.mLogShaders) {
83 bool rsdProgramFragmentInit(const Context *rsc, cons argument
94 rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) argument
101 rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdSampler.h23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,

Completed in 285 milliseconds

12345