Lines Matching refs:dst

141 void egl_fb_blit(egl_fb *dst, egl_fb *src, bool flip)  in egl_fb_blit()  argument
150 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, dst->framebuffer); in egl_fb_blit()
151 glViewport(0, 0, dst->width, dst->height); in egl_fb_blit()
169 dst->x, dst->y, in egl_fb_blit()
170 dst->x + dst->width, dst->y + dst->height, in egl_fb_blit()
174 void egl_fb_read(DisplaySurface *dst, egl_fb *src) in egl_fb_read() argument
178 glReadPixels(0, 0, surface_width(dst), surface_height(dst), in egl_fb_read()
179 GL_BGRA, GL_UNSIGNED_BYTE, surface_data(dst)); in egl_fb_read()
182 void egl_fb_read_rect(DisplaySurface *dst, egl_fb *src, int x, int y, int w, int h) in egl_fb_read_rect() argument
184 assert(surface_width(dst) == src->width); in egl_fb_read_rect()
185 assert(surface_height(dst) == src->height); in egl_fb_read_rect()
186 assert(surface_format(dst) == PIXMAN_x8r8g8b8); in egl_fb_read_rect()
190 glPixelStorei(GL_PACK_ROW_LENGTH, surface_stride(dst) / 4); in egl_fb_read_rect()
192 GL_BGRA, GL_UNSIGNED_BYTE, surface_data(dst) + x * 4); in egl_fb_read_rect()
196 void egl_texture_blit(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip) in egl_texture_blit() argument
198 glBindFramebuffer(GL_FRAMEBUFFER_EXT, dst->framebuffer); in egl_texture_blit()
199 glViewport(0, 0, dst->width, dst->height); in egl_texture_blit()
205 void egl_texture_blend(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip, in egl_texture_blend() argument
208 glBindFramebuffer(GL_FRAMEBUFFER_EXT, dst->framebuffer); in egl_texture_blend()
214 glViewport(x, dst->height - h - y, w, h); in egl_texture_blend()