Lines Matching refs:Surface

53 Surface::Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp)  in Surface()  function in android::Surface
102 Surface::~Surface() { in ~Surface()
104 Surface::disconnect(NATIVE_WINDOW_API_CPU); in ~Surface()
108 sp<ISurfaceComposer> Surface::composerService() const { in composerService()
112 nsecs_t Surface::now() const { in now()
116 sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const { in getIGraphicBufferProducer()
120 void Surface::setSidebandStream(const sp<NativeHandle>& stream) { in setSidebandStream()
124 void Surface::allocateBuffers() { in allocateBuffers()
131 status_t Surface::setGenerationNumber(uint32_t generation) { in setGenerationNumber()
139 uint64_t Surface::getNextFrameNumber() const { in getNextFrameNumber()
144 String8 Surface::getConsumerName() const { in getConsumerName()
148 status_t Surface::setDequeueTimeout(nsecs_t timeout) { in setDequeueTimeout()
152 status_t Surface::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, in getLastQueuedBuffer()
158 status_t Surface::getDisplayRefreshCycleDuration(nsecs_t* outRefreshDuration) { in getDisplayRefreshCycleDuration()
172 void Surface::enableFrameTimestamps(bool enable) { in enableFrameTimestamps()
184 status_t Surface::getCompositorTiming( in getCompositorTiming()
264 status_t Surface::getFrameTimestamps(uint64_t frameNumber, in getFrameTimestamps()
327 status_t Surface::getWideColorSupport(bool* supported) { in getWideColorSupport()
340 status_t Surface::getHdrSupport(bool* supported) { in getHdrSupport()
360 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { in hook_setSwapInterval()
361 Surface* c = getSelf(window); in hook_setSwapInterval()
365 int Surface::hook_dequeueBuffer(ANativeWindow* window, in hook_dequeueBuffer()
367 Surface* c = getSelf(window); in hook_dequeueBuffer()
371 int Surface::hook_cancelBuffer(ANativeWindow* window, in hook_cancelBuffer()
373 Surface* c = getSelf(window); in hook_cancelBuffer()
377 int Surface::hook_queueBuffer(ANativeWindow* window, in hook_queueBuffer()
379 Surface* c = getSelf(window); in hook_queueBuffer()
383 int Surface::hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, in hook_dequeueBuffer_DEPRECATED()
385 Surface* c = getSelf(window); in hook_dequeueBuffer_DEPRECATED()
404 int Surface::hook_cancelBuffer_DEPRECATED(ANativeWindow* window, in hook_cancelBuffer_DEPRECATED()
406 Surface* c = getSelf(window); in hook_cancelBuffer_DEPRECATED()
410 int Surface::hook_lockBuffer_DEPRECATED(ANativeWindow* window, in hook_lockBuffer_DEPRECATED()
412 Surface* c = getSelf(window); in hook_lockBuffer_DEPRECATED()
416 int Surface::hook_queueBuffer_DEPRECATED(ANativeWindow* window, in hook_queueBuffer_DEPRECATED()
418 Surface* c = getSelf(window); in hook_queueBuffer_DEPRECATED()
422 int Surface::hook_query(const ANativeWindow* window, in hook_query()
424 const Surface* c = getSelf(window); in hook_query()
428 int Surface::hook_perform(ANativeWindow* window, int operation, ...) { in hook_perform()
431 Surface* c = getSelf(window); in hook_perform()
437 int Surface::setSwapInterval(int interval) { in setSwapInterval()
535 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { in dequeueBuffer()
654 int Surface::cancelBuffer(android_native_buffer_t* buffer, in cancelBuffer()
682 int Surface::getSlotFromBufferLocked( in getSlotFromBufferLocked()
694 int Surface::lockBuffer_DEPRECATED(android_native_buffer_t* buffer __attribute__((unused))) { in lockBuffer_DEPRECATED()
700 int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) { in queueBuffer()
860 void Surface::querySupportedTimestampsLocked() const { in querySupportedTimestampsLocked()
883 int Surface::query(int what, int* value) const { in query()
970 int Surface::perform(int operation, va_list args) in perform()
1083 int Surface::dispatchConnect(va_list args) { in dispatchConnect()
1088 int Surface::dispatchDisconnect(va_list args) { in dispatchDisconnect()
1093 int Surface::dispatchSetUsage(va_list args) { in dispatchSetUsage()
1098 int Surface::dispatchSetUsage64(va_list args) { in dispatchSetUsage64()
1103 int Surface::dispatchSetCrop(va_list args) { in dispatchSetCrop()
1108 int Surface::dispatchSetBufferCount(va_list args) { in dispatchSetBufferCount()
1113 int Surface::dispatchSetBuffersGeometry(va_list args) { in dispatchSetBuffersGeometry()
1124 int Surface::dispatchSetBuffersDimensions(va_list args) { in dispatchSetBuffersDimensions()
1130 int Surface::dispatchSetBuffersUserDimensions(va_list args) { in dispatchSetBuffersUserDimensions()
1136 int Surface::dispatchSetBuffersFormat(va_list args) { in dispatchSetBuffersFormat()
1141 int Surface::dispatchSetScalingMode(va_list args) { in dispatchSetScalingMode()
1146 int Surface::dispatchSetBuffersTransform(va_list args) { in dispatchSetBuffersTransform()
1151 int Surface::dispatchSetBuffersStickyTransform(va_list args) { in dispatchSetBuffersStickyTransform()
1156 int Surface::dispatchSetBuffersTimestamp(va_list args) { in dispatchSetBuffersTimestamp()
1161 int Surface::dispatchLock(va_list args) { in dispatchLock()
1167 int Surface::dispatchUnlockAndPost(va_list args __attribute__((unused))) { in dispatchUnlockAndPost()
1171 int Surface::dispatchSetSidebandStream(va_list args) { in dispatchSetSidebandStream()
1178 int Surface::dispatchSetBuffersDataSpace(va_list args) { in dispatchSetBuffersDataSpace()
1183 int Surface::dispatchSetBuffersSmpte2086Metadata(va_list args) { in dispatchSetBuffersSmpte2086Metadata()
1189 int Surface::dispatchSetBuffersCta8613Metadata(va_list args) { in dispatchSetBuffersCta8613Metadata()
1195 int Surface::dispatchSetBuffersHdr10PlusMetadata(va_list args) { in dispatchSetBuffersHdr10PlusMetadata()
1201 int Surface::dispatchSetSurfaceDamage(va_list args) { in dispatchSetSurfaceDamage()
1208 int Surface::dispatchSetSharedBufferMode(va_list args) { in dispatchSetSharedBufferMode()
1213 int Surface::dispatchSetAutoRefresh(va_list args) { in dispatchSetAutoRefresh()
1218 int Surface::dispatchGetDisplayRefreshCycleDuration(va_list args) { in dispatchGetDisplayRefreshCycleDuration()
1223 int Surface::dispatchGetNextFrameId(va_list args) { in dispatchGetNextFrameId()
1229 int Surface::dispatchEnableFrameTimestamps(va_list args) { in dispatchEnableFrameTimestamps()
1235 int Surface::dispatchGetCompositorTiming(va_list args) { in dispatchGetCompositorTiming()
1243 int Surface::dispatchGetFrameTimestamps(va_list args) { in dispatchGetFrameTimestamps()
1261 int Surface::dispatchGetWideColorSupport(va_list args) { in dispatchGetWideColorSupport()
1266 int Surface::dispatchGetHdrSupport(va_list args) { in dispatchGetHdrSupport()
1271 int Surface::dispatchGetConsumerUsage64(va_list args) { in dispatchGetConsumerUsage64()
1276 bool Surface::transformToDisplayInverse() { in transformToDisplayInverse()
1281 int Surface::connect(int api) { in connect()
1286 int Surface::connect(int api, const sp<IProducerListener>& listener) { in connect()
1290 int Surface::connect( in connect()
1298 int Surface::connect( in connect()
1333 int Surface::disconnect(int api, IGraphicBufferProducer::DisconnectMode mode) { in disconnect()
1359 int Surface::detachNextBuffer(sp<GraphicBuffer>* outBuffer, in detachNextBuffer()
1401 int Surface::attachBuffer(ANativeWindowBuffer* buffer) in attachBuffer()
1429 int Surface::setUsage(uint64_t reqUsage) in setUsage()
1440 int Surface::setCrop(Rect const* rect) in setCrop()
1459 int Surface::setBufferCount(int bufferCount) in setBufferCount()
1484 int Surface::setMaxDequeuedBufferCount(int maxDequeuedBuffers) { in setMaxDequeuedBufferCount()
1497 int Surface::setAsyncMode(bool async) { in setAsyncMode()
1509 int Surface::setSharedBufferMode(bool sharedBufferMode) { in setSharedBufferMode()
1525 int Surface::setAutoRefresh(bool autoRefresh) { in setAutoRefresh()
1539 int Surface::setBuffersDimensions(uint32_t width, uint32_t height) in setBuffersDimensions()
1556 int Surface::setBuffersUserDimensions(uint32_t width, uint32_t height) in setBuffersUserDimensions()
1573 int Surface::setBuffersFormat(PixelFormat format) in setBuffersFormat()
1585 int Surface::setScalingMode(int mode) in setScalingMode()
1606 int Surface::setBuffersTransform(uint32_t transform) in setBuffersTransform()
1622 int Surface::setBuffersStickyTransform(uint32_t transform) in setBuffersStickyTransform()
1631 int Surface::setBuffersTimestamp(int64_t timestamp) in setBuffersTimestamp()
1639 int Surface::setBuffersDataSpace(Dataspace dataSpace) in setBuffersDataSpace()
1647 int Surface::setBuffersSmpte2086Metadata(const android_smpte2086_metadata* metadata) { in setBuffersSmpte2086Metadata()
1659 int Surface::setBuffersCta8613Metadata(const android_cta861_3_metadata* metadata) { in setBuffersCta8613Metadata()
1671 int Surface::setBuffersHdr10PlusMetadata(const size_t size, const uint8_t* metadata) { in setBuffersHdr10PlusMetadata()
1684 Dataspace Surface::getBuffersDataSpace() { in getBuffersDataSpace()
1690 void Surface::freeAllBuffers() { in freeAllBuffers()
1696 status_t Surface::getAndFlushBuffersFromSlots(const std::vector<int32_t>& slots, in getAndFlushBuffersFromSlots()
1718 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { in setSurfaceDamage()
1804 status_t Surface::lock( in lock()
1813 int err = Surface::connect(NATIVE_WINDOW_API_CPU); in lock()
1899 status_t Surface::unlockAndPost() in unlockAndPost()
1919 bool Surface::waitForNextFrame(uint64_t lastFrame, nsecs_t timeout) { in waitForNextFrame()
1927 status_t Surface::getUniqueId(uint64_t* outId) const { in getUniqueId()
1932 int Surface::getConsumerUsage(uint64_t* outUsage) const { in getConsumerUsage()
1937 nsecs_t Surface::getLastDequeueStartTime() const { in getLastDequeueStartTime()
1942 status_t Surface::getAndFlushRemovedBuffers(std::vector<sp<GraphicBuffer>>* out) { in getAndFlushRemovedBuffers()
1954 status_t Surface::attachAndQueueBufferWithDataspace(Surface* surface, sp<GraphicBuffer> buffer, in attachAndQueueBufferWithDataspace()
1985 void Surface::ProducerListenerProxy::onBuffersDiscarded(const std::vector<int32_t>& slots) { in onBuffersDiscarded()
1987 sp<Surface> parent = mParent.promote(); in onBuffersDiscarded()