Lines Matching refs:Surface
66 Surface::Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp) in Surface() function in android::Surface
116 Surface::~Surface() { in ~Surface()
118 Surface::disconnect(NATIVE_WINDOW_API_CPU); in ~Surface()
122 sp<ISurfaceComposer> Surface::composerService() const { in composerService()
126 nsecs_t Surface::now() const { in now()
130 sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const { in getIGraphicBufferProducer()
134 void Surface::setSidebandStream(const sp<NativeHandle>& stream) { in setSidebandStream()
138 void Surface::allocateBuffers() { in allocateBuffers()
145 status_t Surface::setGenerationNumber(uint32_t generation) { in setGenerationNumber()
153 uint64_t Surface::getNextFrameNumber() const { in getNextFrameNumber()
158 String8 Surface::getConsumerName() const { in getConsumerName()
162 status_t Surface::setDequeueTimeout(nsecs_t timeout) { in setDequeueTimeout()
166 status_t Surface::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, in getLastQueuedBuffer()
172 status_t Surface::getDisplayRefreshCycleDuration(nsecs_t* outRefreshDuration) { in getDisplayRefreshCycleDuration()
186 void Surface::enableFrameTimestamps(bool enable) { in enableFrameTimestamps()
198 status_t Surface::getCompositorTiming( in getCompositorTiming()
278 status_t Surface::getFrameTimestamps(uint64_t frameNumber, in getFrameTimestamps()
341 status_t Surface::getWideColorSupport(bool* supported) { in getWideColorSupport()
354 status_t Surface::getHdrSupport(bool* supported) { in getHdrSupport()
374 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { in hook_setSwapInterval()
375 Surface* c = getSelf(window); in hook_setSwapInterval()
379 int Surface::hook_dequeueBuffer(ANativeWindow* window, in hook_dequeueBuffer()
381 Surface* c = getSelf(window); in hook_dequeueBuffer()
387 return interceptor(window, Surface::dequeueBufferInternal, data, buffer, fenceFd); in hook_dequeueBuffer()
393 int Surface::dequeueBufferInternal(ANativeWindow* window, ANativeWindowBuffer** buffer, in dequeueBufferInternal()
395 Surface* c = getSelf(window); in dequeueBufferInternal()
399 int Surface::hook_cancelBuffer(ANativeWindow* window, in hook_cancelBuffer()
401 Surface* c = getSelf(window); in hook_cancelBuffer()
407 return interceptor(window, Surface::cancelBufferInternal, data, buffer, fenceFd); in hook_cancelBuffer()
413 int Surface::cancelBufferInternal(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in cancelBufferInternal()
414 Surface* c = getSelf(window); in cancelBufferInternal()
418 int Surface::hook_queueBuffer(ANativeWindow* window, in hook_queueBuffer()
420 Surface* c = getSelf(window); in hook_queueBuffer()
426 return interceptor(window, Surface::queueBufferInternal, data, buffer, fenceFd); in hook_queueBuffer()
432 int Surface::queueBufferInternal(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in queueBufferInternal()
433 Surface* c = getSelf(window); in queueBufferInternal()
437 int Surface::hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, in hook_dequeueBuffer_DEPRECATED()
439 Surface* c = getSelf(window); in hook_dequeueBuffer_DEPRECATED()
458 int Surface::hook_cancelBuffer_DEPRECATED(ANativeWindow* window, in hook_cancelBuffer_DEPRECATED()
460 Surface* c = getSelf(window); in hook_cancelBuffer_DEPRECATED()
464 int Surface::hook_lockBuffer_DEPRECATED(ANativeWindow* window, in hook_lockBuffer_DEPRECATED()
466 Surface* c = getSelf(window); in hook_lockBuffer_DEPRECATED()
470 int Surface::hook_queueBuffer_DEPRECATED(ANativeWindow* window, in hook_queueBuffer_DEPRECATED()
472 Surface* c = getSelf(window); in hook_queueBuffer_DEPRECATED()
476 int Surface::hook_perform(ANativeWindow* window, int operation, ...) { in hook_perform()
479 Surface* c = getSelf(window); in hook_perform()
487 result = c->mPerformInterceptor(window, Surface::performInternal, in hook_perform()
498 int Surface::performInternal(ANativeWindow* window, int operation, va_list args) { in performInternal()
499 Surface* c = getSelf(window); in performInternal()
503 int Surface::hook_query(const ANativeWindow* window, int what, int* value) { in hook_query()
504 const Surface* c = getSelf(window); in hook_query()
510 return interceptor(window, Surface::queryInternal, data, what, value); in hook_query()
516 int Surface::queryInternal(const ANativeWindow* window, int what, int* value) { in queryInternal()
517 const Surface* c = getSelf(window); in queryInternal()
521 int Surface::setSwapInterval(int interval) { in setSwapInterval()
619 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { in dequeueBuffer()
738 int Surface::cancelBuffer(android_native_buffer_t* buffer, in cancelBuffer()
766 int Surface::getSlotFromBufferLocked( in getSlotFromBufferLocked()
778 int Surface::lockBuffer_DEPRECATED(android_native_buffer_t* buffer __attribute__((unused))) { in lockBuffer_DEPRECATED()
784 int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) { in queueBuffer()
944 void Surface::querySupportedTimestampsLocked() const { in querySupportedTimestampsLocked()
967 int Surface::query(int what, int* value) const { in query()
1058 int Surface::perform(int operation, va_list args) in perform()
1211 int Surface::dispatchConnect(va_list args) { in dispatchConnect()
1216 int Surface::dispatchDisconnect(va_list args) { in dispatchDisconnect()
1221 int Surface::dispatchSetUsage(va_list args) { in dispatchSetUsage()
1226 int Surface::dispatchSetUsage64(va_list args) { in dispatchSetUsage64()
1231 int Surface::dispatchSetCrop(va_list args) { in dispatchSetCrop()
1236 int Surface::dispatchSetBufferCount(va_list args) { in dispatchSetBufferCount()
1241 int Surface::dispatchSetBuffersGeometry(va_list args) { in dispatchSetBuffersGeometry()
1252 int Surface::dispatchSetBuffersDimensions(va_list args) { in dispatchSetBuffersDimensions()
1258 int Surface::dispatchSetBuffersUserDimensions(va_list args) { in dispatchSetBuffersUserDimensions()
1264 int Surface::dispatchSetBuffersFormat(va_list args) { in dispatchSetBuffersFormat()
1269 int Surface::dispatchSetScalingMode(va_list args) { in dispatchSetScalingMode()
1274 int Surface::dispatchSetBuffersTransform(va_list args) { in dispatchSetBuffersTransform()
1279 int Surface::dispatchSetBuffersStickyTransform(va_list args) { in dispatchSetBuffersStickyTransform()
1284 int Surface::dispatchSetBuffersTimestamp(va_list args) { in dispatchSetBuffersTimestamp()
1289 int Surface::dispatchLock(va_list args) { in dispatchLock()
1295 int Surface::dispatchUnlockAndPost(va_list args __attribute__((unused))) { in dispatchUnlockAndPost()
1299 int Surface::dispatchSetSidebandStream(va_list args) { in dispatchSetSidebandStream()
1306 int Surface::dispatchSetBuffersDataSpace(va_list args) { in dispatchSetBuffersDataSpace()
1311 int Surface::dispatchSetBuffersSmpte2086Metadata(va_list args) { in dispatchSetBuffersSmpte2086Metadata()
1317 int Surface::dispatchSetBuffersCta8613Metadata(va_list args) { in dispatchSetBuffersCta8613Metadata()
1323 int Surface::dispatchSetBuffersHdr10PlusMetadata(va_list args) { in dispatchSetBuffersHdr10PlusMetadata()
1329 int Surface::dispatchSetSurfaceDamage(va_list args) { in dispatchSetSurfaceDamage()
1336 int Surface::dispatchSetSharedBufferMode(va_list args) { in dispatchSetSharedBufferMode()
1341 int Surface::dispatchSetAutoRefresh(va_list args) { in dispatchSetAutoRefresh()
1346 int Surface::dispatchGetDisplayRefreshCycleDuration(va_list args) { in dispatchGetDisplayRefreshCycleDuration()
1351 int Surface::dispatchGetNextFrameId(va_list args) { in dispatchGetNextFrameId()
1357 int Surface::dispatchEnableFrameTimestamps(va_list args) { in dispatchEnableFrameTimestamps()
1363 int Surface::dispatchGetCompositorTiming(va_list args) { in dispatchGetCompositorTiming()
1371 int Surface::dispatchGetFrameTimestamps(va_list args) { in dispatchGetFrameTimestamps()
1389 int Surface::dispatchGetWideColorSupport(va_list args) { in dispatchGetWideColorSupport()
1394 int Surface::dispatchGetHdrSupport(va_list args) { in dispatchGetHdrSupport()
1399 int Surface::dispatchGetConsumerUsage64(va_list args) { in dispatchGetConsumerUsage64()
1404 int Surface::dispatchSetAutoPrerotation(va_list args) { in dispatchSetAutoPrerotation()
1409 int Surface::dispatchGetLastDequeueStartTime(va_list args) { in dispatchGetLastDequeueStartTime()
1415 int Surface::dispatchSetDequeueTimeout(va_list args) { in dispatchSetDequeueTimeout()
1420 int Surface::dispatchGetLastDequeueDuration(va_list args) { in dispatchGetLastDequeueDuration()
1426 int Surface::dispatchGetLastQueueDuration(va_list args) { in dispatchGetLastQueueDuration()
1432 int Surface::dispatchSetFrameRate(va_list args) { in dispatchSetFrameRate()
1438 int Surface::dispatchAddCancelInterceptor(va_list args) { in dispatchAddCancelInterceptor()
1448 int Surface::dispatchAddDequeueInterceptor(va_list args) { in dispatchAddDequeueInterceptor()
1458 int Surface::dispatchAddPerformInterceptor(va_list args) { in dispatchAddPerformInterceptor()
1467 int Surface::dispatchAddQueueInterceptor(va_list args) { in dispatchAddQueueInterceptor()
1477 int Surface::dispatchAddQueryInterceptor(va_list args) { in dispatchAddQueryInterceptor()
1486 int Surface::dispatchGetLastQueuedBuffer(va_list args) { in dispatchGetLastQueuedBuffer()
1510 bool Surface::transformToDisplayInverse() { in transformToDisplayInverse()
1515 int Surface::connect(int api) { in connect()
1520 int Surface::connect(int api, const sp<IProducerListener>& listener) { in connect()
1524 int Surface::connect( in connect()
1532 int Surface::connect( in connect()
1568 int Surface::disconnect(int api, IGraphicBufferProducer::DisconnectMode mode) { in disconnect()
1597 int Surface::detachNextBuffer(sp<GraphicBuffer>* outBuffer, in detachNextBuffer()
1639 int Surface::attachBuffer(ANativeWindowBuffer* buffer) in attachBuffer()
1667 int Surface::setUsage(uint64_t reqUsage) in setUsage()
1678 int Surface::setCrop(Rect const* rect) in setCrop()
1697 int Surface::setBufferCount(int bufferCount) in setBufferCount()
1722 int Surface::setMaxDequeuedBufferCount(int maxDequeuedBuffers) { in setMaxDequeuedBufferCount()
1735 int Surface::setAsyncMode(bool async) { in setAsyncMode()
1747 int Surface::setSharedBufferMode(bool sharedBufferMode) { in setSharedBufferMode()
1763 int Surface::setAutoRefresh(bool autoRefresh) { in setAutoRefresh()
1777 int Surface::setBuffersDimensions(uint32_t width, uint32_t height) in setBuffersDimensions()
1794 int Surface::setBuffersUserDimensions(uint32_t width, uint32_t height) in setBuffersUserDimensions()
1811 int Surface::setBuffersFormat(PixelFormat format) in setBuffersFormat()
1823 int Surface::setScalingMode(int mode) in setScalingMode()
1844 int Surface::setBuffersTransform(uint32_t transform) in setBuffersTransform()
1860 int Surface::setBuffersStickyTransform(uint32_t transform) in setBuffersStickyTransform()
1869 int Surface::setBuffersTimestamp(int64_t timestamp) in setBuffersTimestamp()
1877 int Surface::setBuffersDataSpace(Dataspace dataSpace) in setBuffersDataSpace()
1885 int Surface::setBuffersSmpte2086Metadata(const android_smpte2086_metadata* metadata) { in setBuffersSmpte2086Metadata()
1897 int Surface::setBuffersCta8613Metadata(const android_cta861_3_metadata* metadata) { in setBuffersCta8613Metadata()
1909 int Surface::setBuffersHdr10PlusMetadata(const size_t size, const uint8_t* metadata) { in setBuffersHdr10PlusMetadata()
1922 Dataspace Surface::getBuffersDataSpace() { in getBuffersDataSpace()
1928 void Surface::freeAllBuffers() { in freeAllBuffers()
1934 status_t Surface::getAndFlushBuffersFromSlots(const std::vector<int32_t>& slots, in getAndFlushBuffersFromSlots()
1956 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { in setSurfaceDamage()
2042 status_t Surface::lock( in lock()
2051 int err = Surface::connect(NATIVE_WINDOW_API_CPU); in lock()
2137 status_t Surface::unlockAndPost() in unlockAndPost()
2157 bool Surface::waitForNextFrame(uint64_t lastFrame, nsecs_t timeout) { in waitForNextFrame()
2165 status_t Surface::getUniqueId(uint64_t* outId) const { in getUniqueId()
2170 int Surface::getConsumerUsage(uint64_t* outUsage) const { in getConsumerUsage()
2175 status_t Surface::getAndFlushRemovedBuffers(std::vector<sp<GraphicBuffer>>* out) { in getAndFlushRemovedBuffers()
2187 status_t Surface::attachAndQueueBufferWithDataspace(Surface* surface, sp<GraphicBuffer> buffer, in attachAndQueueBufferWithDataspace()
2218 int Surface::setAutoPrerotation(bool autoPrerotation) { in setAutoPrerotation()
2236 void Surface::ProducerListenerProxy::onBuffersDiscarded(const std::vector<int32_t>& slots) { in onBuffersDiscarded()
2238 sp<Surface> parent = mParent.promote(); in onBuffersDiscarded()
2254 status_t Surface::setFrameRate(float frameRate, int8_t compatibility) { in setFrameRate()