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

1234

/frameworks/rs/
H A DrsScriptC_LibGL.cpp49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument
52 pf->bindTexture(rsc, slot, a);
55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument
58 pf->bindAllocation(rsc, a, slot);
61 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { argument
64 pv->bindAllocation(rsc, a, slot);
67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { argument
70 pf->bindSampler(rsc, slot, s);
73 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { argument
75 rsc
78 rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) argument
83 rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) argument
88 rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) argument
93 rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) argument
99 rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) argument
105 rsrClearFrameBufferObjectColorTarget(Context *rsc, uint32_t slot) argument
110 rsrClearFrameBufferObjectDepthTarget(Context *rsc) argument
115 rsrClearFrameBufferObjectTargets(Context *rsc) argument
124 rsrVpLoadProjectionMatrix(Context *rsc, const rsc_Matrix *m) argument
128 rsrVpLoadModelMatrix(Context *rsc, const rsc_Matrix *m) argument
132 rsrVpLoadTextureMatrix(Context *rsc, const rsc_Matrix *m) argument
136 rsrPfConstantColor(Context *rsc, ProgramFragment *pf, float r, float g, float b, float a) argument
142 rsrVpGetProjectionMatrix(Context *rsc, rsc_Matrix *m) argument
151 rsrDrawPath(Context *rsc, Path *sm) argument
159 rsrDrawMesh(Context *rsc, Mesh *sm) argument
167 rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) argument
175 rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex, uint32_t start, uint32_t len) argument
184 rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm, float *minX, float *minY, float *minZ, float *maxX, float *maxY, float *maxZ) argument
203 rsrColor(Context *rsc, float r, float g, float b, float a) argument
208 rsrPrepareClear(Context *rsc) argument
213 rsrGetWidth(Context *rsc) argument
217 rsrGetHeight(Context *rsc) argument
221 rsrDrawTextAlloc(Context *rsc, Allocation *a, int x, int y) argument
228 rsrDrawText(Context *rsc, const char *text, int x, int y) argument
249 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
260 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
268 rsrBindFont(Context *rsc, Font *font) argument
273 rsrFontColor(Context *rsc, float r, float g, float b, float a) argument
[all...]
H A DrsScriptIntrinsic.cpp24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { argument
34 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { argument
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
50 void ScriptIntrinsic::setupScript(Context *rsc) { argument
53 uint32_t ScriptIntrinsic::run(Context *rsc) { argument
59 void ScriptIntrinsic::runForEach(Context *rsc, argument
67 rsc->mHal.funcs.script.invokeForEach(rsc, thi
70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
82 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
85 serialize(Context *rsc, OStream *stream) const argument
98 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
217 updateSize(Context *rsc) argument
234 deinit(Context *rsc) argument
244 rsi_ProgramVertexCreate(Context *rsc, const char * shaderText, size_t shaderLength, const char** textureNames, size_t textureNamesCount, const size_t *textureNamesLength, const uintptr_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 Drs_hal.h103 bool (*init)(const Context *rsc, ScriptC *s,
109 bool (*initIntrinsic)(const Context *rsc, Script *s,
113 void (*invokeFunction)(const Context *rsc, Script *s,
117 int (*invokeRoot)(const Context *rsc, Script *s);
118 void (*invokeForEach)(const Context *rsc,
126 void (*invokeInit)(const Context *rsc, Script *s);
127 void (*invokeFreeChildren)(const Context *rsc, Script *s);
129 void (*setGlobalVar)(const Context *rsc, const Script *s,
133 void (*getGlobalVar)(const Context *rsc, const Script *s,
137 void (*setGlobalVarWithElemDims)(const Context *rsc, cons
[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.cpp25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, argument
28 : Program(rsc, shaderText, shaderLength, params, paramLength) {
42 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { argument
45 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program");
50 rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocation is missing");
57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
63 void ProgramFragment::setup(Context *rsc, ProgramFragmentStat argument
80 serialize(Context *rsc, OStream *stream) const argument
83 createFromStream(Context *rsc, IStream *stream) argument
96 init(Context *rsc) argument
128 deinit(Context *rsc) argument
136 rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, size_t shaderLength, const char** textureNames, size_t textureNamesCount, const size_t *textureNamesLength, const uintptr_t * params, size_t paramLength) argument
[all...]
H A DrsScriptC.cpp37 Context * rsc = tls->mContext; \
40 ScriptC::ScriptC(Context *rsc) : Script(rsc) { argument
98 void ScriptC::setupScript(Context *rsc) { argument
111 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
115 void ScriptC::setupGLState(Context *rsc) { argument
118 rsc->setProgramStore(mEnviroment.mFragmentStore.get());
121 rsc->setProgramFragment(mEnviroment.mFragment.get());
124 rsc
132 run(Context *rsc) argument
157 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
187 runForEach(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
219 Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) argument
234 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
374 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.cpp247 bool Context::loadRuntime(const char* filename, Context* rsc) { argument
276 if (!(*halInit)(rsc, 0, 0)) {
291 Context *rsc = static_cast<Context *>(vrsc); local
293 rsc->mNativeThreadId = gettid();
295 if (!rsc->isSynchronous()) {
296 setpriority(PRIO_PROCESS, rsc->mNativeThreadId, ANDROID_PRIORITY_DISPLAY);
298 rsc->mThreadPriority = ANDROID_PRIORITY_DISPLAY;
300 if (!rsc->isSynchronous()) {
301 setpriority(PRIO_PROCESS, rsc->mNativeThreadId, -4);
303 rsc
494 Context *rsc = (Context *)ctx; local
533 Context * rsc = new Context(); local
552 Context * rsc = new Context(); local
814 rsi_ContextFinish(Context *rsc) argument
818 rsi_ContextBindRootScript(Context *rsc, RsScript vs) argument
825 rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) argument
837 rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) argument
842 rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) argument
847 rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) argument
852 rsi_ContextBindProgramVertex(Context *rsc, RsProgramVertex vpv) argument
857 rsi_ContextBindFont(Context *rsc, RsFont vfont) argument
863 rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, size_t name_length) argument
868 rsi_ObjDestroy(Context *rsc, void *optr) argument
875 rsi_ContextPause(Context *rsc) argument
879 rsi_ContextResume(Context *rsc) argument
883 rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) argument
888 rsi_ContextSetPriority(Context *rsc, int32_t p) argument
892 rsi_ContextDump(Context *rsc, int32_t bits) argument
896 rsi_ContextDestroyWorker(Context *rsc) argument
900 rsi_ContextDestroy(Context *rsc) argument
907 rsi_ContextPeekMessage(Context *rsc, size_t * receiveLen, size_t receiveLen_length, uint32_t * subID, size_t subID_length) argument
913 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
921 rsi_ContextInitToClient(Context *rsc) argument
925 rsi_ContextDeinitToClient(Context *rsc) argument
929 rsi_ContextSendMessage(Context *rsc, uint32_t id, const uint8_t *data, size_t len) argument
935 LF_ObjDestroy_handcode(const Context *rsc, RsAsyncVoidPtr objPtr) argument
966 Context *rsc = Context::createContext(dev, NULL, ct, flags); local
979 Context *rsc = Context::createContext(dev, &sc); 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, 0);
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 DrsScriptC_Lib.cpp84 time_t rsrTime(Context *rsc, time_t *timer) { argument
88 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { argument
95 pthread_mutex_lock(&rsc->gLibMutex);
103 pthread_mutex_unlock(&rsc->gLibMutex);
107 int64_t rsrUptimeMillis(Context *rsc) { argument
115 int64_t rsrUptimeNanos(Context *rsc) { argument
123 float rsrGetDt(Context *rsc, const Script *sc) { argument
137 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { argument
138 //ALOGE("setObjectRef %p,%p %p", rsc, dst, src);
150 void rsrSetObject(const Context *rsc, voi argument
159 rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) argument
169 rsrClearObject(const Context *rsc, void *dst) argument
179 rsrClearObject(const Context *rsc, rs_object_base *dst) argument
194 rsrIsObject(const Context *rsc, rs_object_base o) argument
200 rsrToClient(Context *rsc, int cmdID, const void *data, int len) argument
205 rsrToClientBlocking(Context *rsc, int cmdID, const void *data, int len) argument
212 rsrToClient(Context *rsc, int cmdID, void *data, int len) argument
216 rsrToClientBlocking(Context *rsc, int cmdID, void *data, int len) argument
220 rsrAllocationIoSend(Context *rsc, Allocation *src) argument
224 rsrAllocationIoReceive(Context *rsc, Allocation *src) argument
228 rsrForEach(Context *rsc, Script *target, Allocation *in, Allocation *out, const void *usr, uint32_t usrBytes, const RsScriptCall *call) argument
236 rsrAllocationSyncAll(Context *rsc, Allocation *a, RsAllocationUsageType usage) argument
240 rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, Allocation *srcAlloc, uint32_t srcOff, uint32_t srcMip) argument
251 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
[all...]
H A DrsFBOCache.cpp39 void FBOCache::init(Context *rsc) { argument
40 rsc->mHal.funcs.framebuffer.init(rsc, this);
43 void FBOCache::deinit(Context *rsc) { argument
44 rsc->mHal.funcs.framebuffer.destroy(rsc, this);
47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument
63 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { argument
85 void FBOCache::setup(Context *rsc) { argument
90 rsc
[all...]
H A DrsAllocation.cpp30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
32 : ObjectBase(rsc) {
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
61 Allocation *a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
63 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
64 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
93 void Allocation::syncAll(Context *rsc, RsAllocationUsageTyp argument
97 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
115 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
132 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, size_t stride) argument
138 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
145 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
161 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, size_t stride) argument
179 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
191 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
216 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
279 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
328 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
336 packVec3Allocation(Context *rsc, OStream *stream) const argument
351 serialize(Context *rsc, OStream *stream) const argument
375 createFromStream(Context *rsc, IStream *stream) argument
441 callUpdateCacheObject(const Context *rsc, void *dstObj) const argument
465 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
468 resize1D(Context *rsc, uint32_t dimX) argument
484 resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) argument
495 getSurface(const Context *rsc) argument
516 setSurface(const Context *rsc, RsNativeWindow sur) argument
521 ioSend(const Context *rsc) argument
525 ioReceive(const Context *rsc) argument
564 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
570 rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) argument
575 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
582 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
588 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
594 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
600 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, size_t stride) argument
606 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
613 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
625 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
630 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
635 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
646 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
668 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
706 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
723 rsi_AllocationCopy3DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstMip, uint32_t width, uint32_t height, uint32_t depth, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcMip) argument
739 rsi_AllocationGetSurface(Context *rsc, RsAllocation valloc) argument
745 rsi_AllocationSetSurface(Context *rsc, RsAllocation valloc, RsNativeWindow sur) argument
750 rsi_AllocationIoSend(Context *rsc, RsAllocation valloc) argument
755 rsi_AllocationIoReceive(Context *rsc, RsAllocation valloc) argument
760 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
769 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
[all...]
/frameworks/rs/driver/
H A DrsdElement.h23 bool rsdElementInit(const android::renderscript::Context *rsc,
26 void rsdElementDestroy(const android::renderscript::Context *rsc,
29 void rsdElementUpdateCachedObject(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 DrsdSampler.h23 bool rsdSamplerInit(const android::renderscript::Context *rsc,
26 void rsdSamplerDestroy(const android::renderscript::Context *rsc,
29 void rsdSamplerUpdateCachedObject(const android::renderscript::Context *rsc,
H A DrsdType.h23 bool rsdTypeInit(const android::renderscript::Context *rsc,
26 void rsdTypeDestroy(const android::renderscript::Context *rsc,
29 void rsdTypeUpdateCachedObject(const android::renderscript::Context *rsc,
H A DrsdScriptGroup.h22 bool rsdScriptGroupInit(const android::renderscript::Context *rsc,
24 void rsdScriptGroupSetInput(const android::renderscript::Context *rsc,
28 void rsdScriptGroupSetOutput(const android::renderscript::Context *rsc,
32 void rsdScriptGroupExecute(const android::renderscript::Context *rsc,
34 void rsdScriptGroupDestroy(const android::renderscript::Context *rsc,
36 void rsdScriptGroupUpdateCachedObject(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...]

Completed in 267 milliseconds

1234