Mahyar Koshkouei
a907c8756f
Change default pixel format
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 22:07:19 +00:00
Mahyar Koshkouei
425dc752c2
Use correct version
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 21:50:54 +00:00
Mahyar Koshkouei
2c42b3613b
Do not link to libm
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 21:18:47 +00:00
Mahyar Koshkouei
24083619a7
Add .gitignore
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 20:52:17 +00:00
Mahyar Koshkouei
0d92199936
Cleanup Makefile
...
Additionally strip the output object file.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 20:51:55 +00:00
Mahyar Koshkouei
052a95b7bf
Use libretro.h instead of submodule
...
This allows releases to include the libretro.h header file required for
compiling. We also don't require any of the other header files the
submodule provided.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-07 20:31:00 +00:00
Mahyar Koshkouei
0c4d58e326
Context fixes and logging
...
Fixed an issue whereby changing context (eg. going fullscreen) stopped
video, caused music to continue playing until eventually pulseaudio
segfaulted. Closes #1 .
Print out mpv log.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-05 23:19:16 +00:00
Mahyar Koshkouei
8038eb3465
Rename repository
2018-01-03 10:29:26 +00:00
Mahyar Koshkouei
24e6ed7fdc
Set framebuffer size to video resolution
...
We now automatically select the correct video size and aspect ratio. Now
the video doesn't look like a blury mess.
Closes issue #8 .
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-03 00:04:43 +00:00
Mahyar Koshkouei
169e81b4a5
Enable hardware decoding
...
Tested working with VA-API on i965.
Issue #4 .
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-02 22:00:54 +00:00
Mahyar Koshkouei
21653173ed
Fix audio stop of fullscreen
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-02 21:18:02 +00:00
Mahyar Koshkouei
a376bc5cb8
Add basic input
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-02 21:18:02 +00:00
Mahyar Koshkouei
5961f9b08d
Update README.md
2018-01-02 13:49:00 +00:00
Mahyar Koshkouei
f593b37451
Set pixel format
...
Additionally remove junk and add some comments.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-02 13:37:42 +00:00
Mahyar Koshkouei
30f61f0642
Fix bug with GL Context initialisation
...
We now have a working example!
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-02 13:20:06 +00:00
Mahyar Koshkouei
3b09221d3d
Fix OpenGL initialisation
...
get_proc_address must be called in context_reset() rather than in
retro_load_game().
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-01 18:08:30 +00:00
Mahyar Koshkouei
7b12e813cc
Remove redundant header file
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-30 20:56:17 +00:00
Mahyar Koshkouei
a33bdfa3d8
Merge branch 'glsm_wip'
2017-12-30 20:55:19 +00:00
Mahyar Koshkouei
e3c8da7c17
Stop linking to OpenGL
...
libmpv and Retroarch should already be linked to OpenGL(/ES) libraries.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-30 20:52:17 +00:00
Mahyar Koshkouei
5f2ebce9b1
Remove GL functions I don't need
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-29 18:01:28 +00:00
Mahyar Koshkouei
1708fd4753
Attempt a second method of getting proc
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-28 20:35:07 +00:00
Mahyar Koshkouei
d5f933ed92
Use libretro-common
...
Now using libretro-common header files instead of the files taken from a
OpenGL libretro-sample.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-28 19:53:41 +00:00
Mahyar Koshkouei
7346cea266
Fix linking errors
...
Now this actually compiles.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-28 19:20:01 +00:00
Mahyar Koshkouei
65bae6e0fc
Create README.md
2017-12-25 19:53:02 +00:00
Mahyar Koshkouei
4a20f83572
Fail miserably at using GLSM_CTL_PROC_ADDRESS_GET
...
I get linking problems.
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-23 17:06:32 +00:00
Mahyar Koshkouei
1e062103a8
Add libretro-common submodule
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-23 17:05:46 +00:00
Mahyar Koshkouei
ab7ddc9130
Trying to get retro_hw_get_proc_address_t working
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-22 09:36:22 +00:00
Mahyar Koshkouei
6d8c31a541
Attempting to get proc_address working
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-21 23:38:50 +00:00
Mahyar Koshkouei
e7726fd96d
Add more OpenGL stuff
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-21 20:59:15 +00:00
Mahyar Koshkouei
141b13ff42
Set some config options
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-14 21:51:57 +00:00
Mahyar Koshkouei
3e888a14c1
Working example
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-10 22:35:47 +00:00
Mahyar Koshkouei
3273ac13cf
Initial Commit
...
Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2017-12-10 17:38:32 +00:00