Search
lxdream.org :: lxdream/src/drivers/video_gl.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gl.h
changeset 854:130928a3cdcb
prev736:a02d1475ccfd
next1159:580436b01b6c
author nkeynes
date Sun Jan 31 18:35:06 2010 +1000 (14 years ago)
permissions -rw-r--r--
last change Refactor CDROM host support
- Completely separate GDROM hardware (in gdrom/gdrom.c) from generic CDROM
support (now in drivers/cdrom)
- Add concept of 'sector sources' that can be mixed and matched to create
cdrom discs (makes support of arbitrary disc types much simpler)
file annotate diff log raw
1.1 --- a/src/drivers/video_gl.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/drivers/video_gl.h Sun Jan 31 18:35:06 2010 +1000
1.3 @@ -49,6 +49,13 @@
1.4 void gl_texture_window( int width, int height, int tex_id, gboolean inverted );
1.5
1.6 /**
1.7 + * Convert window coordinates to dreamcast device coords (640x480) using the
1.8 + * same viewable area as gl_texture_window.
1.9 + * If the coordinates are outside the viewable area, the result is -1,-1.
1.10 + */
1.11 +void gl_window_to_system_coords( int *x, int *y );
1.12 +
1.13 +/**
1.14 * Generic GL read_render_buffer. This function assumes that the caller
1.15 * has already set the appropriate glReadBuffer(); in other words, unless
1.16 * there's only one buffer this needs to be wrapped.
.