Lines Matching refs:window

90 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer) {  in dequeueBuffer_DEPRECATED()  argument
91 if (!window->oem[1]) in dequeueBuffer_DEPRECATED()
93 *buffer = reinterpret_cast<ANativeWindowBuffer*>(window->oem[1]); in dequeueBuffer_DEPRECATED()
94 window->oem[1] = 0; in dequeueBuffer_DEPRECATED()
108 static int query(const ANativeWindow* window, int what, int* value) { in query() argument
111 return static_cast<int>(window->oem[2]); in query()
113 return static_cast<int>(window->oem[3]); in query()
129 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer() argument
131 return dequeueBuffer_DEPRECATED(window, buffer); in dequeueBuffer()
134 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer() argument
137 return queueBuffer_DEPRECATED(window, buffer); in queueBuffer()
140 static int cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer() argument
143 return cancelBuffer_DEPRECATED(window, buffer); in cancelBuffer()
465 delete surface->window; in rcDestroyWindowSurface()
513 surface->window = in rcSetWindowColorBuffer()
515 if (!surface->window) in rcSetWindowColorBuffer()
518 NativeWindowType native_window = reinterpret_cast<NativeWindowType>(surface->window); in rcSetWindowColorBuffer()
519 surface->window->oem[1] = (intptr_t)buffer; in rcSetWindowColorBuffer()
523 surface->window->oem[1] = (intptr_t)buffer; in rcSetWindowColorBuffer()