This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """Python 3 script which converts simple RetroArch Cg shaders to modern XML/GLSL format.""" | |
| import sys | |
| import os | |
| def remove_comments(source_lines): | |
| ret = [] | |
| killed_comments = [line.split('//')[0] for line in source_lines] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From a4cf36d4f918195c7d39e58a893aac6f528514a4 Mon Sep 17 00:00:00 2001 | |
| From: Themaister <maister@archlinux.us> | |
| Date: Thu, 20 Sep 2012 16:09:33 +0200 | |
| Subject: [PATCH] Always assume that page flip works in radeon. | |
| This is a hack that avoids prolonged stalling in userspace when a page | |
| flip doesn't go through on first try. This patch assumes that it is more | |
| important that userspace is allowed to continue rendering new frames | |
| rather than stalling for a whole frame waiting for old data to render. | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 669.273505] Radeon: CRTC handle flip. | |
| [ 669.273514] Radeon: Radeon wakeup: (Frame 40019). | |
| [ 669.290189] Radeon: CRTC handle flip. | |
| [ 669.290198] Radeon: Radeon wakeup: (Frame 40020). | |
| [ 669.306827] Radeon: CRTC handle flip. | |
| [ 669.306834] Radeon: Deferred page flip. | |
| [ 669.323535] Radeon: CRTC handle flip. | |
| [ 669.323541] Radeon: Radeon wakeup: (Frame 40022). | |
| [ 669.340242] Radeon: CRTC handle flip. | |
| [ 669.340251] Radeon: Radeon wakeup: (Frame 40023). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c | |
| index 7ddef8f..43a8344 100644 | |
| --- a/drivers/gpu/drm/radeon/radeon_display.c | |
| +++ b/drivers/gpu/drm/radeon/radeon_display.c | |
| @@ -277,11 +277,14 @@ void radeon_crtc_handle_flip(struct radeon_device *rdev, int crtc_id) | |
| u32 update_pending; | |
| int vpos, hpos; | |
| + printk(KERN_DEBUG "Radeon: CRTC handle flip.\n"); | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 21602719475e41c2db2819312a75fccaa4481d15 Mon Sep 17 00:00:00 2001 | |
| From: Hans-Kristian Arntzen <maister@archlinux.us> | |
| Date: Sun, 2 Sep 2012 21:52:40 +0200 | |
| Subject: [PATCH] Remove redundant masks in STORE_BGR24_MMX. | |
| --- | |
| libswscale/x86/rgb2rgb_template.c | 3 --- | |
| 1 file changed, 3 deletions(-) | |
| diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 5ab0d3f0abbb4ffbe9613110f8d4b9f4a0a68df5 | |
| Author: Hans-Kristian Arntzen <maister@archlinux.us> | |
| Date: Sun Sep 2 21:03:40 2012 +0200 | |
| Remove redundant mask in STORE_BGR24_MMX. | |
| diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c | |
| index 7eee075..1856b35 100644 | |
| --- a/libswscale/x86/rgb2rgb_template.c | |
| +++ b/libswscale/x86/rgb2rgb_template.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import math | |
| def conv2d(r, c, data): | |
| length_r = min(len(r), len(data)) | |
| length_c = min(len(c), len(data[0])) | |
| conv_sum = 0 | |
| for v in range(length_r): | |
| for u in range(length_c): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/bsnes/data/cheats.xml b/bsnes/data/cheats.xml | |
| index 0619442..0f1e774 100755 | |
| --- a/bsnes/data/cheats.xml | |
| +++ b/bsnes/data/cheats.xml | |
| @@ -571,7 +571,7 @@ | |
| </cheat> | |
| </cartridge> | |
| <cartridge sha256="22e92af92aed2d8d7bddb60732963642788b3ea9341592ce2c66a542a3d7ce7d"> | |
| - <name>Advanced Dungeons & Dragons - DragonStrike (USA)</name> | |
| + <name>Advanced Dungeons & Dragons - DragonStrike (USA)</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 4f0c6639f71a850978eeab493952ef6bc2791999 Mon Sep 17 00:00:00 2001 | |
| From: Themaister <maister@archlinux.us> | |
| Date: Sun, 19 Aug 2012 10:43:35 +0200 | |
| Subject: [PATCH] Fix cheat database. | |
| --- | |
| bsnes/data/cheats.xml | 134 +++++++++++++++++++++++++------------------------- | |
| 1 file changed, 67 insertions(+), 67 deletions(-) | |
| diff --git a/bsnes/data/cheats.xml b/bsnes/data/cheats.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00000000 <foo>: | |
| 0: ee070a10 vmov s14, r0 | |
| 4: ee377a07 vadd.f32 s14, s14, s14 | |
| 8: ee170a10 vmov r0, s14 | |
| c: e12fff1e bx lr |