Commit Graph

1044 Commits

Author SHA1 Message Date
twinaphex 271f4b6f8d Update 2016-05-15 06:07:25 +02:00
twinaphex b56f880c44 (memalign) Cleanups 2016-05-15 06:06:07 +02:00
Alcaro 33e9003107 This is just noise. 2016-05-14 23:20:35 +02:00
twinaphex 1e27312c25 Get rid of unused functions 2016-05-14 13:35:50 +02:00
twinaphex d3f4be0bbc (features_cpu.c) Fix mingw error 2016-05-14 02:54:56 +02:00
twinaphex 9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex 3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex 23f410c5fe (RPNG) Fix test 2016-05-14 01:12:05 +02:00
twinaphex f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex 7a16cf8806 Revert "(RJPEG) Remove rjpeg_test"
This reverts commit 5a4b062b0d.
2016-05-13 13:31:10 +02:00
twinaphex e56abc03b3 (rjpeg_process_image) Handle error 2016-05-13 11:15:31 +02:00
twinaphex 5a4b062b0d (RJPEG) Remove rjpeg_test 2016-05-13 11:10:59 +02:00
twinaphex 19eaa05040 (RJPEG) Cleanups 2016-05-13 10:55:22 +02:00
twinaphex 101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +02:00
twinaphex ee95af8ae3 (RPNG) Cleanup 2016-05-13 09:51:08 +02:00
twinaphex fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex 1623d538d5 Add rjpeg_set_buf_ptr 2016-05-13 09:42:02 +02:00
twinaphex 1512d36220 rjpeg_process_image should not set the texture image's width/height -
that is done later
2016-05-13 09:34:42 +02:00
twinaphex 1e872108b7 (RJPEG) Add back rgba to bgra routines 2016-05-13 09:27:58 +02:00
twinaphex 8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex 5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex 17d39fd54f Add rjpeg_free 2016-05-13 08:16:13 +02:00
twinaphex d3df016005 (RJPEG) Add rjpeg_alloc 2016-05-13 08:13:21 +02:00
twinaphex 13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
twinaphex f20b969165 (libretro-common) features_cpu - reimplement ARM cpu features code 2016-05-13 04:02:08 +02:00
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
twinaphex 3bdfbb6318 features_cpu.c - cleanups 2016-05-12 12:22:32 +02:00
twinaphex 597102e863 Remove __ARM_ARCH__ ifdefs 2016-05-12 12:15:53 +02:00
twinaphex 6b33c19802 Fix CXX_BUILD 2016-05-12 09:31:25 +02:00
twinaphex 2321ee829f Add glsym_es3 2016-05-11 23:17:42 +02:00
twinaphex 377f09f12a Change back retro_dirent_is_dir to hopefully avoid sshfs issues
- more rigorous testing should be applied before changing these
functions
2016-05-11 18:54:22 +02:00
twinaphex 1ac30884c4 (RJPEG) Prevent warnings 2016-05-11 03:40:25 +02:00
twinaphex eec4218ebb (RJPEG) Use features_cpu 2016-05-10 20:36:05 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex ea8715ca92 (RJPEG) Cleanup 2016-05-10 07:16:27 +02:00
twinaphex f3af0263ed Remove RJPEG_NO_JPEG 2016-05-10 07:15:23 +02:00
twinaphex bb063fb692 Cleanups 2016-05-10 07:13:52 +02:00
twinaphex 8d3f6c39ac Replace STBI_ with RJPEG_ 2016-05-10 07:10:42 +02:00
Twinaphex b59b56d2fc (RJPEG) Last buildfixes 2016-05-10 07:09:27 +02:00
twinaphex 3c4329aa1f (RJPEG) uniquely namespace all functions 2016-05-10 07:08:45 +02:00
Twinaphex 88f259d3ef (RJPEG) Mass renaming (pt. 1) 2016-05-10 07:05:52 +02:00
twinaphex c321c161a8 Update rjpeg 2016-05-10 06:51:58 +02:00
twinaphex f931ce7606 Adds conversion when color shifts are BGRA 2016-05-10 06:02:00 +02:00
twinaphex 7462988f33 Use stb_image jpeg code 2016-05-10 05:50:38 +02:00
Sebastien Ronsse bab8935b58 rbmp encode: Fix memory leak when saving image 2016-05-10 13:09:38 +10:00
Sebastien Ronsse 3db9623809 rbmp encode: Fix saving mechanism resulting in vertically flipped screenshots. 2016-05-10 11:51:56 +10:00
twinaphex b9c9df3a8b (GLSM) Buildfix 2016-05-10 03:48:05 +02:00
twinaphex bca9c687a1 (RJPEG) Remove register storage class 2016-05-10 03:23:15 +02:00
twinaphex 8bcc889d90 Comment this out - makes all tasks way too slow 2016-05-09 07:54:45 +02:00
twinaphex 87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex 3f3adf0c0e Add return value for inet_aton 2016-05-09 02:50:02 +02:00
twinaphex 510c804781 (Win32) Provide inet_aton implementation 2016-05-08 19:12:01 +02:00
twinaphex 4791c37039 (Vita) Reimplement inet_ptrton for Vita 2016-05-08 18:09:03 +02:00
twinaphex 60789e0141 Cleanups 2016-05-08 16:25:26 +02:00
twinaphex e2090dc02d Vita doesn't support inet_pton either 2016-05-08 16:13:55 +02:00
twinaphex 11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +02:00
Hans-Kristian Arntzen 8faa6231db Fix some warnings. 2016-05-08 09:37:27 +02:00
twinaphex 2f6baffe45 Expand net_socket.c 2016-05-08 07:24:10 +02:00
twinaphex eb689fdd24 C89_BUILD fix 2016-05-08 04:21:56 +02:00
twinaphex 1968b0a333 Dunno where this came from 2016-05-08 04:06:07 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex ef5da43d35 Cleanups 2016-05-07 18:35:06 +02:00
twinaphex 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex 0a2544c1bf (rjpeg) Try manual conversion to RGB 2016-05-07 06:55:52 +02:00
twinaphex c5895b4aa0 (libretro-common/formats/jpeg/rjpeg.c) Allocate out_img->pixels 2016-05-07 06:49:48 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex 7b79975516 Start adding rjpeg_image_load 2016-05-07 06:16:02 +02:00
twinaphex b2df35bd7c Correct glDeleteVertexArrays 2016-05-07 05:00:14 +02:00
twinaphex 5127536217 (libretro-common) Expand GLSM 2016-05-07 04:42:18 +02:00
twinaphex 0ab61a2428 (libretro-common) Add rjpeg 2016-05-07 04:33:54 +02:00
twinaphex 268be70fe8 Cleanups 2016-05-07 04:15:39 +02:00
twinaphex b8644536d2 (video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex b38e269215 (GLSM) Some buildfixes 2016-05-07 01:32:34 +02:00
twinaphex f4553505a4 (GLSM) Update 2016-05-07 00:07:49 +02:00
twinaphex 7eef9b87b0 Add glTexSubImage2D 2016-05-06 23:54:48 +02:00
twinaphex d997526a1d Updates 2016-05-06 22:40:11 +02:00
twinaphex dd36a3792c (GLSM) Add new wrapper functions 2016-05-06 22:20:03 +02:00
twinaphex 5d5ad0548a Update 2016-05-06 22:15:24 +02:00
twinaphex 2e319213e3 Expand glsm 2016-05-06 22:08:49 +02:00
Twinaphex 77649b2f23 Fix memory leak in async_job_free 2016-05-06 19:14:38 +02:00
twinaphex 648da7b6e6 (task_queue) Remove unused variable 2016-05-06 18:57:11 +02:00
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
twinaphex 10fe532d29 Cleanup 2016-05-06 06:25:06 +02:00
twinaphex 5db093924c Cleanup - slock_new 2016-05-06 06:05:30 +02:00
twinaphex b91ad3a70e (libretro-common) Update glsm 2016-05-06 05:08:42 +02:00
Andre Leiradella b38e234d2e made find_last_slash public 2016-05-05 16:22:35 -03:00
Andre Leiradella 8be7fd5f0a http tasks can now be cancelled 2016-05-05 15:32:36 -03:00
twinaphex 18e94a5365 (task_queue.c) Remove unused variable 2016-05-05 17:46:04 +02:00
Twinaphex 1c2bf6e305 Revert "http tasks can now be cancelled; on-demand thumbnail download working" 2016-05-05 17:00:43 +02:00
Andre Leiradella 9b889e14d4 http tasks can now be cancelled; on-demand thumbnail download working 2016-05-05 09:48:50 -03:00
Sebastien Ronsse cc4b5dbf35 task queue: Fix multi-threading issues in threaded worker 2016-05-05 10:18:29 +10:00
Sebastien Ronsse d3c3d20994 task queue: Add task_queue_remove method 2016-05-05 10:18:29 +10:00
twinaphex b0193885ca (GLSM) Update 2016-05-05 00:23:12 +02:00
twinaphex 9a7bde6a02 (GLSM) Add glBlendEquationSeparate 2016-05-04 23:53:21 +02:00
twinaphex 5889489ff7 (libretro-common) Update GLSM 2016-05-04 21:12:34 +02:00
Sebastien Ronsse 3c23159148 Fix deadlock due to missing unlock in task threaded find function 2016-05-04 15:23:30 +10:00
twinaphex f9bd28663a Nit 2016-05-04 04:03:46 +02:00
twinaphex d8dcaab996 (RPNG) Cleanup 2016-05-04 03:58:29 +02:00
Alcaro 64501d2cb0 No point pegging the CPU to download a file. 2016-05-03 18:17:12 +02:00
twinaphex f60676f43e Create inet_htons 2016-05-03 04:35:51 +02:00
twinaphex 35b7d0423f init_network - fix some codepaths 2016-05-03 04:28:58 +02:00
twinaphex fd2096f3dc Cleanups 2016-05-03 04:26:18 +02:00
twinaphex 2eb4571290 Move this code to net_compat.c 2016-05-02 19:44:12 +02:00
twinaphex dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex 44cfa6d876 Cleanup 2016-05-02 19:04:03 +02:00
twinaphex b25b2a0e6c Some code de-duplication 2016-05-02 18:54:55 +02:00
twinaphex 00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex 317ecabadf (Retropad) Use socket_create 2016-05-02 18:45:05 +02:00
twinaphex 18f8ded154 Flesh out socket_create some more 2016-05-02 18:42:13 +02:00
twinaphex 62508eca77 Create socket_create 2016-05-02 18:37:08 +02:00
Twinaphex eeeec23c66 (OSX) Static code analyzer cleanups 2016-05-02 16:57:53 +02:00
twinaphex 96723f3a57 Cleanup 2016-05-02 02:10:45 +02:00
twinaphex 31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +02:00
twinaphex e29b915536 Cleanups 2016-05-02 00:18:39 +02:00
Alcaro f11a240190 Clean up the error handlers around here. 2016-05-01 23:50:20 +02:00
twinaphex 2e1fa648b8 Create socket_connect 2016-05-01 23:45:59 +02:00
twinaphex bd9dd06ddd Get rid of duplicate function net_http_send 2016-05-01 23:17:17 +02:00
twinaphex 004d9a613c Create socket_bind 2016-05-01 22:57:44 +02:00
twinaphex 78bb85e2f3 Reuse socket_init for net_http code 2016-05-01 22:45:32 +02:00
twinaphex 8b9456f419 Add socket_type to socket_init 2016-05-01 22:25:23 +02:00
Twinaphex d2a80e26db Buildfixes 2016-05-01 21:38:19 +02:00
twinaphex 0268212d40 Move socket code to net_socket.c 2016-05-01 21:36:28 +02:00
twinaphex a7b856b65f (libretro-common) Create net_socket 2016-05-01 21:18:45 +02:00
twinaphex 5032c677e6 (Net) Only comment out printf 2016-05-01 14:44:12 +02:00
twinaphex 8dd4333e16 (net_http) Comment out debug logging 2016-05-01 14:38:23 +02:00
twinaphex 5d449d5024 (libretro-common) net_http - cleanups 2016-04-28 11:58:44 +02:00
Alcaro 68a17c5401 Fix HTTP protocol violation. 2016-04-27 21:04:16 +02:00
twinaphex eb53356522 Add __INTEL_COMPILER ifdef to retro_inline.h 2016-04-27 16:05:24 +02:00
twinaphex 1efff4bdc3 CXX_BUILD fix 2016-04-27 14:52:28 +02:00
Twinaphex 6b6a2b93fa C89_BUILD fix for OSX 2016-04-27 14:43:42 +02:00
Twinaphex 2c221e747e (libretro_common) Include retro_common_api.h - interface_stream.h 2016-04-27 14:37:03 +02:00
twinaphex 3b9c406123 Add rule for OSX/iOS - ssize_t 2016-04-27 14:35:59 +02:00
twinaphex d4a50935d2 C89_BUILD fix 2016-04-27 10:58:38 +02:00
Alcaro bbb7871028 Why exactly are we iterating over this string one character per frame? 2016-04-23 22:50:46 +02:00
twinaphex 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex 9a1fed8598 Don't bake in strlcpy/strlcat for OSX 2016-04-22 08:13:13 +02:00
twinaphex b34da03281 Update 2016-04-22 05:31:56 +02:00
twinaphex ac18671ead Update libretro-common 2016-04-22 05:28:49 +02:00
twinaphex 4750e87c76 (GLSM) Add comments 2016-04-21 22:47:48 +02:00
Twinaphex 66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +02:00
Twinaphex 899db8fb37 (libretro-common) Buildfix for OSX 2016-04-13 22:08:23 +02:00
twinaphex 06ccd36b2f (PS3) Cut down on warnings 2016-04-13 01:49:38 +02:00
twinaphex 8d4d0d16c6 (libretro-common) Update GLSM 2016-04-12 02:22:12 +02:00
twinaphex 3e4d7c404a Should hopefully fix file_list_prepend 2016-04-11 22:35:45 +02:00
Jean-André Santoni 1dea1fa0e2 Rename file_list_push to file_list_prepend 2016-04-12 01:40:48 +07:00