Home
last modified time | relevance | path

Searched refs:mSlots (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueue.cpp161 if (mSlots[i].mBufferState == BufferSlot::DEQUEUED) { in setBufferCount()
245 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer()
250 slot, mSlots[slot].mBufferState); in requestBuffer()
253 mSlots[slot].mRequestBufferCalled = true; in requestBuffer()
254 *buf = mSlots[slot].mGraphicBuffer; in requestBuffer()
295 assert(mSlots[i].mBufferState == BufferSlot::FREE); in dequeueBuffer()
296 if (mSlots[i].mGraphicBuffer != NULL) { in dequeueBuffer()
306 const int state = mSlots[i].mBufferState; in dequeueBuffer()
318 mSlots[i].mFrameNumber < mSlots[found].mFrameNumber) { in dequeueBuffer()
378 mSlots[buf].mBufferState = BufferSlot::DEQUEUED; in dequeueBuffer()
[all …]
DConsumerBase.cpp86 mSlots[slotIndex].mGraphicBuffer = 0; in freeBufferLocked()
87 mSlots[slotIndex].mFence = 0; in freeBufferLocked()
185 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked()
188 mSlots[item->mBuf].mFence = item->mFence; in acquireBufferLocked()
203 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked()
204 mSlots[slot].mFence = fence; in addReleaseFenceLocked()
208 mSlots[slot].mFence, fence); in addReleaseFenceLocked()
213 mSlots[slot].mFence = fence; in addReleaseFenceLocked()
216 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked()
226 mSlots[slot].mFence); in releaseBufferLocked()
[all …]
DCpuConsumer.cpp89 err = mSlots[buf].mGraphicBuffer->lock( in lockNextBuffer()
101 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth(); in lockNextBuffer()
102 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight(); in lockNextBuffer()
103 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); in lockNextBuffer()
104 nativeBuffer->stride = mSlots[buf].mGraphicBuffer->getStride(); in lockNextBuffer()
132 err = mSlots[slotIndex].mGraphicBuffer->unlock(); in unlockBuffer()
149 err = mSlots[slotIndex].mGraphicBuffer->unlock(); in freeBufferLocked()
DSurfaceTextureClient.cpp213 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); in dequeueBuffer()
261 if (mSlots[i].buffer != NULL && in getSlotFromBufferLocked()
262 mSlots[i].buffer->handle == buffer->handle) { in getSlotFromBufferLocked()
672 mSlots[i].buffer = 0; in freeAllBuffers()
793 mSlots[i].dirtyRegion.clear(); in lock()
802 Region& dirtyRegion(mSlots[backBufferSlot].dirtyRegion); in lock()
DBufferItemConsumer.cpp74 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer; in acquireBuffer()
DSurfaceTexture.cpp178 EGLImageKHR image = createImage(mEglDisplay, mSlots[slot].mGraphicBuffer); in acquireBufferLocked()
245 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) { in updateTexImage()
280 buf, mSlots[buf].mGraphicBuffer->handle); in updateTexImage()
295 mCurrentTextureBuf = mSlots[buf].mGraphicBuffer; in updateTexImage()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIconList.java25 private String[] mSlots; field in StatusBarIconList
36 this.mSlots = in.readStringArray(); in readFromParcel()
51 out.writeStringArray(mSlots); in writeToParcel()
92 String[] s = mSlots = new String[N]; in defineSlots()
100 final int N = mSlots.length; in getSlotIndex()
102 if (slot.equals(mSlots[i])) { in getSlotIndex()
110 return mSlots.length; in size()
122 return mSlots[index]; in getSlot()
140 if (that.mSlots == null) { in copyFrom()
141 this.mSlots = null; in copyFrom()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DProgramFragmentFixedFunction.java161 Slot[] mSlots; field in ProgramFragmentFixedFunction.Builder
184 switch(mSlots[i].env) { in buildShaderString()
186 switch (mSlots[i].format) { in buildShaderString()
202 switch (mSlots[i].format) { in buildShaderString()
235 mSlots = new Slot[MAX_TEXTURE]; in Builder()
258 mSlots[slot] = new Slot(env, fmt); in setTexture()
297 if(mSlots[i] != null) { in create()
/frameworks/support/renderscript/v8/rs_support/
DrsScriptC.cpp45 if (mSlots[ct].get() && !mTypes[ct].get()) { in setupScript()
46 mTypes[ct].set(mSlots[ct]->getType()); in setupScript()
51 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
177 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount]; in runCompiler()
DrsScript.cpp27 mSlots = NULL; in Script()
33 if (mSlots) { in ~Script()
34 delete [] mSlots; in ~Script()
35 mSlots = NULL; in ~Script()
50 mSlots[slot].set(a); in setSlot()
DrsScriptIntrinsic.cpp33 mSlots = new ObjectBaseRef<Allocation>[2]; in init()
DrsScript.h108 ObjectBaseRef<Allocation> *mSlots; variable
/frameworks/rs/
DrsScript.cpp27 mSlots = NULL; in Script()
33 if (mSlots) { in ~Script()
34 delete [] mSlots; in ~Script()
35 mSlots = NULL; in ~Script()
50 mSlots[slot].set(a); in setSlot()
DrsScriptC.cpp98 if (mSlots[ct].get() && !mTypes[ct].get()) { in setupScript()
99 mTypes[ct].set(mSlots[ct]->getType()); in setupScript()
104 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
331 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount]; in runCompiler()
DrsScriptIntrinsic.cpp33 mSlots = new ObjectBaseRef<Allocation>[2]; in init()
DrsScript.h118 ObjectBaseRef<Allocation> *mSlots; variable
/frameworks/native/include/gui/
DConsumerBase.h186 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS]; variable
DSurfaceTextureClient.h146 BufferSlot mSlots[NUM_BUFFER_SLOTS]; variable
DBufferQueue.h448 BufferSlot mSlots[NUM_BUFFER_SLOTS]; variable
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp103 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer; in nextBuffer()
/frameworks/base/services/input/
DInputReader.h883 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } in getSlot()
887 Slot* mSlots; variable
DInputReader.cpp1539 mCurrentSlot(-1), mSlots(NULL), mSlotCount(0), mUsingSlotsProtocol(false), in MultiTouchMotionAccumulator()
1544 delete[] mSlots; in ~MultiTouchMotionAccumulator()
1553 delete[] mSlots; in configure()
1554 mSlots = new Slot[slotCount]; in configure()
1584 if (mSlots) { in clearSlots()
1586 mSlots[i].clear(); in clearSlots()
1613 Slot* slot = &mSlots[mCurrentSlot]; in process()