Home
last modified time | relevance | path

Searched refs:bufferAge (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DFrame.h30 Frame(int32_t width, int32_t height, int32_t bufferAge) in Frame() argument
33 , mBufferAge(bufferAge) { } in Frame()
40 int32_t bufferAge() const { return mBufferAge; } in bufferAge() function
DEglManager.cpp77 bool bufferAge = false; member
112 if (Properties::useBufferAge && EglExtensions.bufferAge && !Properties::isSkiaEnabled()) { in initialize()
150 EglExtensions.bufferAge = extensions.has("EGL_EXT_buffer_age") in initExtensions()
295 EGLint bufferAge; in queryBufferAge() local
296 eglQuerySurface(mEglDisplay, surface, EGL_BUFFER_AGE_EXT, &bufferAge); in queryBufferAge()
297 return bufferAge; in queryBufferAge()
DCanvasContext.cpp710 } else if (mHaveNewSurface || frame.bufferAge() == 0) { in computeDirtyRect()
735 if (frame.bufferAge() > 1) { in computeDirtyRect()
736 if (frame.bufferAge() > (int) mSwapHistory.size()) { in computeDirtyRect()
745 i > ((int) mSwapHistory.size()) - frame.bufferAge(); i--) { in computeDirtyRect()