Searched refs:slot (Results 51 - 75 of 109) sorted by relevance

12345

/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp656 ALOGE("Invalid object slot count!: %s", line);
668 ALOGE("Invalid object slot!: %s", line);
1046 void RsdCpuScriptImpl::invokeForEach(uint32_t slot, argument
1055 forEachKernelSetup(slot, &mtls);
1062 void RsdCpuScriptImpl::invokeForEachMulti(uint32_t slot, argument
1073 forEachKernelSetup(slot, &mtls);
1080 void RsdCpuScriptImpl::forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls) { argument
1082 mtls->fep.slot = slot;
1084 rsAssert(slot < mExecutabl
1115 invokeFunction(uint32_t slot, const void *params, size_t paramLength) argument
1129 setGlobalVar(uint32_t slot, const void *data, size_t dataLength) argument
1152 getGlobalVar(uint32_t slot, void *data, size_t dataLength) argument
1170 setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, const Element *elem, const uint32_t *dims, size_t dimLength) argument
1211 setGlobalBind(uint32_t slot, Allocation *data) argument
1235 setGlobalObj(uint32_t slot, ObjectBase *data) argument
1341 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1347 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuIntrinsicHistogram.cpp32 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength);
33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
39 void preLaunch(uint32_t slot, const Allocation * ain,
42 void postLaunch(uint32_t slot, const Allocation * ain,
83 void RsdCpuScriptIntrinsicHistogram::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
84 rsAssert(slot == 1);
88 void RsdCpuScriptIntrinsicHistogram::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument
89 rsAssert(slot == 0);
100 void RsdCpuScriptIntrinsicHistogram::preLaunch(uint32_t slot, const Allocation * ain, argument
107 switch (slot) {
145 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuScriptGroup.cpp197 uint32_t slot = kernels[ct]->mSlot; local
200 si->forEachKernelSetup(slot, &mtls);
201 si->preLaunch(slot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL);
203 si->postLaunch(slot, ins[ct], outs[ct], NULL, 0, NULL);
H A DrsCpuIntrinsic3DLUT.cpp33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
50 void RsdCpuScriptIntrinsic3DLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
51 rsAssert(slot == 0);
H A DrsCpuIntrinsicYuvToRGB.cpp41 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
58 void RsdCpuScriptIntrinsicYuvToRGB::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
59 rsAssert(slot == 0);
/frameworks/base/rs/java/android/renderscript/
H A DProgramFragmentFixedFunction.java247 * @param slot index of the texture to apply the operations on
251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument
253 if((slot < 0) || (slot >= MAX_TEXTURE)) {
256 mSlots[slot] = new Slot(env, fmt);
H A DMesh.java109 * @param slot index in the list of allocations to return
113 public Allocation getVertexAllocation(int slot) { argument
114 return mVertexBuffers[slot];
131 * @param slot locaton within the list of index set allocation
136 public Allocation getIndexSetAllocation(int slot) { argument
137 return mIndexBuffers[slot];
141 * @param slot locaiton within the list of index set primitives
145 public Primitive getPrimitive(int slot) { argument
146 return mPrimitives[slot];
/frameworks/rs/driver/
H A DrsdShaderCache.h62 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;}
64 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;}
95 int32_t slot; member in struct:RsdShaderCache::UniformData
99 int32_t slot; member in struct:RsdShaderCache::AttrData
H A DrsdShaderCache.cpp46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize);
65 data[ct].slot = glGetUniformLocation(linkedID, prog->getUniformName(ct));
73 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
79 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct));
175 ALOGV("vtx A %i, %s = %d\n", ct, vtx->getAttribName(ct).string(), e->vtxAttrs[ct].slot);
234 return mCurrent->vtxAttrs[ct].slot;
H A DrsdVertexArray.h53 void logAttrib(uint32_t idx, uint32_t slot) const;
H A DrsdShader.cpp356 int32_t slot, uint32_t arraySize ) {
359 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd);
361 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd);
363 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd);
367 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd);
370 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd);
373 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd);
376 RSD_CALL_GL(glUniform4fv, slot, arraySize, fd);
526 ALOGE("Attempting to set constants on shader id %p, but alloc at slot %u is not set",
541 int32_t slot local
355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument
[all...]
/frameworks/rs/
H A DrsFBOCache.h36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
H A Drsg.spec24 param uint32_t slot
31 param uint32_t slot
37 param uint32_t slot
H A DrsRuntime.h37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
40 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *);
45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot);
47 void rsrClearFrameBufferObjectColorTarget(Context *, uint32_t slot);
H A Drs_hal.h114 uint32_t slot,
120 uint32_t slot,
130 uint32_t slot,
134 uint32_t slot,
138 uint32_t slot,
145 uint32_t slot,
148 uint32_t slot,
154 uint32_t slot,
H A DrsSampler.h63 void bindToContext(SamplerState *, uint32_t slot);
/frameworks/native/include/gui/
H A DGLConsumer.h248 virtual status_t releaseBufferLocked(int slot,
252 status_t releaseBufferLocked(int slot, argument
254 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
259 // This releases the buffer in the slot referenced by mCurrentTexture,
279 // is primarily just one image per slot, but there is also special cases:
330 // freeBufferLocked frees up the given buffer slot. If the slot has been
332 // slot and destroy the EGLImage in that slot. Otherwise it has no effect.
349 // current slot fro
[all...]
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java224 public void setIcon(String slot, String iconPackage, int iconId, int iconLevel, argument
229 int index = mIcons.getSlotIndex(slot);
231 throw new SecurityException("invalid status bar icon slot: " + slot);
237 //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon);
250 public void setIconVisibility(String slot, boolean visible) { argument
254 int index = mIcons.getSlotIndex(slot);
256 throw new SecurityException("invalid status bar icon slot: " + slot);
278 removeIcon(String slot) argument
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp233 virtual status_t detachBuffer(int slot) { argument
236 data.writeInt32(slot);
245 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { argument
253 *slot = reply.readInt32();
438 int slot = data.readInt32(); local
439 int result = detachBuffer(slot);
447 int slot; local
448 int result = attachBuffer(&slot, buffer);
449 reply->writeInt32(slot);
H A DIGraphicBufferProducer.cpp116 virtual status_t detachBuffer(int slot) { argument
119 data.writeInt32(slot);
159 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { argument
167 *slot = reply.readInt32();
320 int slot = data.readInt32(); local
321 int result = detachBuffer(slot);
347 int slot; local
348 int result = attachBuffer(&slot, buffer);
349 reply->writeInt32(slot);
H A DStreamSplitter.cpp151 int slot; local
152 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer);
167 status = (*output)->queueBuffer(slot, queueInput, &queueOutput);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIconList.java99 public int getSlotIndex(String slot) { argument
102 if (slot.equals(mSlots[i])) {
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h104 virtual status_t detachBuffer(int slot);
107 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
133 // a producer slot switches which source it comes from, we map source slot
134 // numbers to producer slot numbers differently for each source.
160 // to keep track of which source last returned each producer slot from
162 // slot. Both mProducerSlotSource and mProducerBuffers are indexed by a
163 // "producer slot"; see the mapSlot*() functions.
192 // Producer slot numbers for the buffers to use for HWC framebuffer target
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java194 * Add a word to a slot.
196 * @param slot slot name.
202 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument
203 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag);
352 * in a grxml file, or in the <code>tag</code> slot of
661 private static native void SR_GrammarAddWordToSlot(long grammar, String slot, argument
664 // private static native void SR_GrammarAddNametagToSlot(long grammar, String slot,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java131 private void updateSlot(String slot, String iconPkg, int iconId) { argument
136 if (slot.equals(v.getTag())) {
158 v.setTag(slot);

Completed in 621 milliseconds

12345