Lines Matching refs:st
30 #define IMG_LOGE(x, ...) ALOGE("[%s] " x, st.mName.string(), ##__VA_ARGS__)
188 sk_sp<SkImage> ImageConsumer::dequeueImage(bool* queueEmpty, SurfaceTexture& st, in dequeueImage() argument
192 err = st.acquireBufferLocked(&item, 0); in dequeueImage()
197 int slot = st.mCurrentTexture; in dequeueImage()
200 mImageSlots[slot].createIfNeeded(st.mSlots[slot].mGraphicBuffer, in dequeueImage()
201 st.mCurrentDataSpace, false, renderState.getRenderThread().getGrContext()); in dequeueImage()
219 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage()
226 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
235 err = eglManager.createReleaseFence(st.mUseFenceSync, &mImageSlots[slot].eglFence(), in dequeueImage()
242 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage()
248 status_t err = st.addReleaseFenceLocked( in dequeueImage()
249 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, releaseFence); in dequeueImage()
252 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage()
259 status_t status = st.releaseBufferLocked( in dequeueImage()
260 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueImage()
261 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueImage()
270 st.mCurrentTexture = slot; in dequeueImage()
271 st.mCurrentCrop = item.mCrop; in dequeueImage()
272 st.mCurrentTransform = item.mTransform; in dequeueImage()
273 st.mCurrentScalingMode = item.mScalingMode; in dequeueImage()
274 st.mCurrentTimestamp = item.mTimestamp; in dequeueImage()
275 st.mCurrentDataSpace = item.mDataSpace; in dequeueImage()
276 st.mCurrentFence = item.mFence; in dequeueImage()
277 st.mCurrentFenceTime = item.mFenceTime; in dequeueImage()
278 st.mCurrentFrameNumber = item.mFrameNumber; in dequeueImage()
279 st.computeCurrentTransformMatrixLocked(); in dequeueImage()
282 mImageSlots[slot].createIfNeeded(st.mSlots[slot].mGraphicBuffer, item.mDataSpace, true, in dequeueImage()