542 Commits

Author SHA1 Message Date
sinamas
b412a7231a libgambatte/video: more query functions 2013-03-17 22:17:59 +01:00
sinamas
92200c29d3 gambatte_sdl/parser: use make_pair 2013-03-17 17:46:28 +01:00
sinamas
c33e5ebff4 gambatte_sdl/parser: make parse methods const 2013-03-17 17:41:39 +01:00
sinamas
8e79b1d6a1 gambatte_sdl/parser: formatting/readability 2013-03-17 17:39:27 +01:00
sinamas
8b02f823db gambatte_sdl: unsued variable warnings 2013-03-17 17:37:03 +01:00
sinamas
e847813745 gambatte_sdl: lose empty checks 2013-03-17 17:14:27 +01:00
sinamas
0add1c970e gambatte_sdl/str_to_sdlkey: use make_pair 2013-03-17 16:47:58 +01:00
sinamas
fbb94425e3 gambatte_sdl: define dtor to allow forward declaration 2013-03-17 16:04:56 +01:00
sinamas
b96ce7a3b3 gambatte_sdl: enable failed field to be immutable 2013-03-17 16:00:04 +01:00
sinamas
af814970e2 gambatte_sdl: rename audiodata to audiosink 2013-03-17 15:47:41 +01:00
sinamas
cf915e6601 gambatte_sdl: replace syncfunc with framewait object 2013-03-17 15:41:13 +01:00
sinamas
28aa502287 gambatte_sdl: lower case constants/enums 2013-03-17 15:27:04 +01:00
sinamas
8fd5cc4062 gambatte_sdl: use for_each to print option usage 2013-03-17 15:14:00 +01:00
sinamas
d83999ac28 gambatte_sdl: encapsulate button mapping within inputoption 2013-03-17 15:03:55 +01:00
sinamas
48ac4143f8 libgambatte/inputgetter: name enum 2013-03-15 20:29:50 +01:00
sinamas
4d9748cdb8 gambatte_sdl: name constants 2013-03-15 19:57:11 +01:00
sinamas
26843aeb96 gambatte_sdl: reduce variable scope 2013-03-15 19:45:04 +01:00
sinamas
1002e77443 gambatte_sdl: name condition 2013-03-13 23:46:11 +01:00
sinamas
03f1756e03 gambatte_sdl: name return value 2013-03-13 23:42:07 +01:00
sinamas
c1c86e2b81 gambatte_sdl: generate desc string on demand now that it's possible 2013-03-13 22:44:34 +01:00
sinamas
19a6e52e35 gambatte_sdl/DescOption: use std::string 2013-03-13 22:41:50 +01:00
sinamas
870a942cfd gambatte_sdl: readability/formatting 2013-03-13 22:34:38 +01:00
sinamas
6096fec767 gambatte_sdl: use sizeof array rather than repeat constant 2013-03-13 21:25:47 +01:00
sinamas
fa7d46cfb0 gambatte_sdl: use std::for_each 2013-03-13 21:21:12 +01:00
sinamas
898b732a9c gambatte_sdl: use value_type 2013-03-13 21:12:33 +01:00
sinamas
345db3a27c gambatte_sdl: use make_pair 2013-03-13 21:11:29 +01:00
sinamas
846a09543a gambatte_sdl: move members to method scope 2013-03-13 21:06:41 +01:00
sinamas
36eeb1f1f5 gambatte_sdl: s/NULL/0 2013-03-13 18:39:18 +01:00
sinamas
464050ba49 gambatte_sdl: replace printf with puts 2013-03-13 18:31:36 +01:00
sinamas
0bd4ac48f3 gambatte_sdl: move event handling to a separate method 2013-03-13 18:28:50 +01:00
sinamas
2b585c5bec gambatte_sdl: blitter cleanup 2013-03-12 20:50:06 +01:00
sinamas
b295ccd65f gambatte_sdl/audiodata: cleanup. use smart_ptrs for sdl frees. 2013-03-11 23:08:39 +01:00
sinamas
ed230c296a ringbuf: use array size in fill 2013-03-11 23:01:03 +01:00
sinamas
643f95b77c gambatte_sdl: fix print help exit success derp introduced in
44b6913a3ab7f2ecc1eca2abdbf0953d904b34d9

kill failed boolean. use EXIT_FAILURE.
initialize all members.
2013-03-11 22:57:19 +01:00
sinamas
8e0ccda3ee auto_vec: disallow element assignment. add reset method. 2013-03-11 21:28:09 +01:00
sinamas
53e10b83ea defined_ptr: lower case defined_deleter 2013-03-10 18:52:15 +01:00
sinamas
41877324b3 qglblitter: hide class definition 2013-03-10 18:25:32 +01:00
sinamas
13167187f9 xvblitter: hide class definition. improve shm error checking. cleanup.
use perror.
name constants.
drop some superfluous XSyncs.
2013-03-10 18:25:32 +01:00
sinamas
3283a08bb8 qpainterblitter: hide class definition 2013-03-10 18:25:32 +01:00
sinamas
37c0d3c7fc qglblitter: use QGLContext::getProcAddress rather than custom version
delete now unused x11getprocaddress.
2013-03-10 18:25:32 +01:00
sinamas
1ac47ad140 qglblitter: only create subwidget when used
avoid stale state hanging around.
more proper use of initializeGL.

add some conservative use of makeCurrent again and hope that we do
not run into common driver bugs this time.
2013-03-10 18:25:32 +01:00
sinamas
819dc1b16b swscale: support srcpitch. less casting. gcc x86 tweaks. 2013-03-10 18:25:31 +01:00
sinamas
43f53fde1d x11blitter: update new frontImage from backImage on resize if paused
make an effort to avoid losing paused picture on resize.
2013-03-10 18:25:31 +01:00
sinamas
5ceafb0e9e x11blitter: use image abstraction rather than subblitter abstraction
avoid touching back buffer on resize.
lock-free resizing.
more error checking.
use perror.
2013-03-10 18:25:31 +01:00
sinamas
3a585e703a x11blitter: hide class definition
get rid of Visual void *.
2013-03-10 18:25:31 +01:00
sinamas
c127146a55 x11blitter: use smart_ptrs to handle XFrees 2013-03-10 18:25:31 +01:00
sinamas
0e8c4fcb53 xvblitter: use smart_ptrs to handle XFrees 2013-03-10 18:25:30 +01:00
sinamas
81bd599064 common: add smart_ptr deleter template parameter 2013-03-10 18:25:30 +01:00
sinamas
3854550a19 qpainterblitter: update new frontbuffer from backbuffer on resize
make an effort to keep image data on resize.
2013-03-10 18:25:30 +01:00
sinamas
af7a84b1b2 qpainterblitter: always use image back buffer
get rid of union.
avoid touching back buffer on resize.
lock-free resize.
2013-03-10 18:25:30 +01:00