Lines Matching refs:gl_y
79 int x, int gl_y, int w, int h, int format, int flags);
82 int x, int gl_y, int w, int h, int format);
85 int x, int gl_y, int w, int h, int format, bool* restore_fbo);
88 int x, int gl_y, int w, int h, int format);
91 int x, int gl_y, int w, int h, int format);
98 const GLint gl_y = bitmap->h - y - h; in _al_ogl_lock_region_new() local
160 x, gl_y, w, h, format, flags); in _al_ogl_lock_region_new()
165 x, gl_y, w, h, format); in _al_ogl_lock_region_new()
170 x, gl_y, w, h, format, &restore_fbo); in _al_ogl_lock_region_new()
211 int x, int gl_y, int w, int h, int format, int flags) in ogl_lock_region_backbuffer() argument
223 glReadPixels(x, gl_y, w, h, in ogl_lock_region_backbuffer()
247 int x, int gl_y, int w, int h, int format) in ogl_lock_region_nonbb_writeonly() argument
252 (void) gl_y; in ogl_lock_region_nonbb_writeonly()
269 int x, int gl_y, int w, int h, int format, bool* restore_fbo) in ogl_lock_region_nonbb_readwrite() argument
284 x, gl_y, w, h, format); in ogl_lock_region_nonbb_readwrite()
289 x, gl_y, w, h, format); in ogl_lock_region_nonbb_readwrite()
298 int x, int gl_y, int w, int h, int format) in ogl_lock_region_nonbb_readwrite_fbo() argument
332 glReadPixels(x, gl_y, w, h, in ogl_lock_region_nonbb_readwrite_fbo()
361 int x, int gl_y, int w, int h, int format) in ogl_lock_region_nonbb_readwrite_nonfbo() argument
394 pitch * (gl_y + h - 1) + pixel_size * x; in ogl_lock_region_nonbb_readwrite_nonfbo()
412 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y);
414 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y, int orig_format);
416 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y, int orig_format);
418 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y);
420 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y);
443 const int gl_y = bitmap->h - bitmap->lock_y - bitmap->lock_h; in ogl_unlock_region_non_readonly() local
489 ogl_unlock_region_backbuffer(bitmap, ogl_bitmap, gl_y); in ogl_unlock_region_non_readonly()
495 ogl_unlock_region_nonbb_fbo(bitmap, ogl_bitmap, gl_y, orig_format); in ogl_unlock_region_non_readonly()
499 ogl_unlock_region_nonbb_nonfbo(bitmap, ogl_bitmap, gl_y); in ogl_unlock_region_non_readonly()
530 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y) in ogl_unlock_region_backbuffer() argument
551 glWindowPos2i(bitmap->lock_x, gl_y); in ogl_unlock_region_backbuffer()
591 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y, int orig_format) in ogl_unlock_region_nonbb_fbo() argument
595 ogl_unlock_region_nonbb_fbo_writeonly(bitmap, ogl_bitmap, gl_y, in ogl_unlock_region_nonbb_fbo()
600 ogl_unlock_region_nonbb_fbo_readwrite(bitmap, ogl_bitmap, gl_y); in ogl_unlock_region_nonbb_fbo()
606 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y, int orig_format) in ogl_unlock_region_nonbb_fbo_writeonly() argument
625 bitmap->lock_x, gl_y, in ogl_unlock_region_nonbb_fbo_writeonly()
641 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y) in ogl_unlock_region_nonbb_fbo_readwrite() argument
647 glTexSubImage2D(GL_TEXTURE_2D, 0, bitmap->lock_x, gl_y, in ogl_unlock_region_nonbb_fbo_readwrite()
660 bitmap->lock_x, gl_y, bitmap->lock_w, bitmap->lock_h, in ogl_unlock_region_nonbb_fbo_readwrite()
667 ALLEGRO_BITMAP_EXTRA_OPENGL *ogl_bitmap, int gl_y) in ogl_unlock_region_nonbb_nonfbo() argument
685 bitmap->lock_x, gl_y, in ogl_unlock_region_nonbb_nonfbo()