a6177edc0d 
					 
					
						
						
							
							Drop the RNG mult shuffle.  
						
						 
						
						... 
						
						
						
						It's surprisingly time-consuming, and until I have data showing that we
need it, I'm going to leave this bit of extra randomness voodoo out. 
						
						
					 
					
						2011-10-28 08:36:27 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						185823ad55 
					 
					
						
						
							
							Rearrange the main render loop... again.  
						
						 
						
						... 
						
						
						
						Using one stream with two pagelocked host buffers allows us to keep the
GPU work queue full without pegging the CPU, and also reduces the
incidences where a host buffer will get overwritten before it can be
written. devtid() was flaky, so this patch also introduces a ringbuffer
to handle the 'slots' concept. It also introduces an adaptive number of
temporal samples, which improves efficiency but also killed the
assumption that (ntemporal_samples % 256 == 0), which required some
additional fixes. 
						
						
					 
					
						2011-10-28 08:30:36 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						15f88383b1 
					 
					
						
						
							
							Experimental: real Sobel gradient detection  
						
						 
						
						
						
						
					 
					
						2011-10-28 08:25:00 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9b2b3ba011 
					 
					
						
						
							
							Fix buffer overrun in filtering  
						
						 
						
						
						
						
					 
					
						2011-10-28 08:24:16 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6b2cb024ac 
					 
					
						
						
							
							Expand max filter radius to 21 pixels  
						
						 
						
						
						
						
					 
					
						2011-10-28 08:23:33 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f3a79b200c 
					 
					
						
						
							
							New badvals mechanism.  
						
						 
						
						
						
						
					 
					
						2011-10-27 12:59:58 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cac9b691a8 
					 
					
						
						
							
							Add a missing semicolin in disc2  
						
						 
						
						
						
						
					 
					
						2011-10-27 10:37:12 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						77daf5e639 
					 
					
						
						
							
							Correct blur radius after Box-Muller  
						
						 
						
						
						
						
					 
					
						2011-10-27 10:36:44 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1faffa1d14 
					 
					
						
						
							
							'fill_dptr' instead of 'zero_dptr'  
						
						 
						
						
						
						
					 
					
						2011-10-27 10:35:01 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3c1dac530b 
					 
					
						
						
							
							Updates to run_job.py  
						
						 
						
						
						
						
					 
					
						2011-10-27 10:26:30 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5368a9254a 
					 
					
						
						
							
							Clamp DE radius further.  
						
						 
						
						... 
						
						
						
						The maximum standard deviation pushes far too hard into the limits of
the filter width, giving discrete points a weird boxy blur. The filter
slice width needs to be expanded, but that's a whole lot of coeffecient
debugging, and I'm putting it off by just reducing the maximum DE width
for now. 
						
						
					 
					
						2011-10-27 08:58:51 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9049902b4f 
					 
					
						
						
							
							Add a crap gradient detect to make DE less bad.  
						
						 
						
						... 
						
						
						
						Use the vertical and horizontal gradients to "detect" when a pixel is
part of an edge that has been softened by grid-shift AA, and avoid
blurring it further. This causes occasional 1px artifacts in stills, but
fixes the truly grotesque DE bleed-out for a net win. A better edge
detector is still needed. 
						
						
					 
					
						2011-10-27 08:51:40 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7c84c6a7a9 
					 
					
						
						
							
							Final xform color *is* used after all  
						
						 
						
						
						
						
					 
					
						2011-10-27 08:46:55 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f650844cb9 
					 
					
						
						
							
							Fix two variations  
						
						 
						
						
						
						
					 
					
						2011-10-26 08:11:10 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a8528a9e1d 
					 
					
						
						
							
							Fix rgb2hsv  
						
						 
						
						
						
						
					 
					
						2011-10-26 08:10:57 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						376cd752d6 
					 
					
						
						
							
							Palette interpolation on device  
						
						 
						
						
						
						
					 
					
						2011-10-25 22:56:19 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e793527c29 
					 
					
						
						
							
							A few harmless const modifiers  
						
						 
						
						
						
						
					 
					
						2011-10-25 22:49:26 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3436291eb6 
					 
					
						
						
							
							Improve spline loading  
						
						 
						
						
						
						
					 
					
						2011-10-25 19:03:35 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fb5bdc2a9f 
					 
					
						
						
							
							Remove now-unused pyflam3_hacks  
						
						 
						
						
						
						
					 
					
						2011-10-25 19:03:10 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8939a6343a 
					 
					
						
						
							
							New genome representation, and device interp.  
						
						 
						
						
						
						
					 
					
						2011-10-25 15:44:39 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						be31708c09 
					 
					
						
						
							
							Fix memory corruption bug (overshoot in colorclip)  
						
						 
						
						
						
						
					 
					
						2011-10-25 15:43:05 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						efc2ac23e2 
					 
					
						
						
							
							Fix rendering at insane resolutions  
						
						 
						
						
						
						
					 
					
						2011-10-19 14:17:01 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3466113d64 
					 
					
						
						
							
							Fix --renumber  
						
						 
						
						
						
						
					 
					
						2011-10-17 22:35:22 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						68f0e0aa9e 
					 
					
						
						
							
							Use milliseconds in sleep timeouts, not seconds  
						
						 
						
						
						
						
					 
					
						2011-10-17 20:51:09 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						20520d2f69 
					 
					
						
						
							
							Open primes.bin in binary mode.  
						
						 
						
						
						
						
					 
					
						2011-10-17 19:31:09 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6144601259 
					 
					
						
						
							
							Add --nopause option for batch with preview  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:52:27 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6c2df777b0 
					 
					
						
						
							
							Remove a TODO  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:52:01 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						966d794881 
					 
					
						
						
							
							More correct sequence options  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:51:39 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0fc80889c9 
					 
					
						
						
							
							Show FPS, and don't clobber the time module  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:51:04 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8ce2470dfb 
					 
					
						
						
							
							Relax FUSE a little (no visible impact so far)  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:45:27 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c4ce3cf4c2 
					 
					
						
						
							
							Don't crash on empty render(times)  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:44:22 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0cc904c4f1 
					 
					
						
						
							
							Do post affine transforms. How did I miss this?  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:43:46 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5111a0f05c 
					 
					
						
						
							
							Eliminate needless pre_ var separation  
						
						 
						
						
						
						
					 
					
						2011-10-16 13:42:37 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9bafbda81a 
					 
					
						
						
							
							Refactor host rendering code for better load  
						
						 
						
						
						
						
					 
					
						2011-10-15 22:22:43 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8e99c9c463 
					 
					
						
						
							
							Add --resume  
						
						 
						
						
						
						
					 
					
						2011-10-15 22:21:49 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6e6321bb76 
					 
					
						
						
							
							Fix reading from stdin  
						
						 
						
						
						
						
					 
					
						2011-10-15 22:20:00 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						702137dfda 
					 
					
						
						
							
							Fix inconsistent width detection.  
						
						 
						
						
						
						
					 
					
						2011-10-15 22:18:17 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9ff018de87 
					 
					
						
						
							
							Actually fix dithering. (I've seen this before...)  
						
						 
						
						
						
						
					 
					
						2011-10-15 19:08:16 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						92708b32ba 
					 
					
						
						
							
							Add raw output for direct x264 encoding  
						
						 
						
						
						
						
					 
					
						2011-10-15 14:31:56 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63483480d0 
					 
					
						
						
							
							Bias the radius to avoid very large dither offsets  
						
						 
						
						
						
						
					 
					
						2011-10-15 00:50:24 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3be14547ea 
					 
					
						
						
							
							Use 3*256 instead of 2*512 blocks; faster on GF104  
						
						 
						
						
						
						
					 
					
						2011-10-15 00:33:37 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c7728d3507 
					 
					
						
						
							
							Add faster no-L1 accum  
						
						 
						
						
						
						
					 
					
						2011-10-15 00:32:30 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dd645bcbf6 
					 
					
						
						
							
							Use one dither offset per block.  
						
						 
						
						
						
						
					 
					
						2011-10-15 00:29:22 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						83670df2c7 
					 
					
						
						
							
							Fix random seeds.  
						
						 
						
						
						
						
					 
					
						2011-10-14 11:56:58 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7f1cd5888e 
					 
					
						
						
							
							More documentation updates  
						
						 
						
						
						
						
					 
					
						2011-10-13 17:32:55 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						30a8d2bfa8 
					 
					
						
						
							
							Put sleep with the debug opts  
						
						 
						
						
						
						
					 
					
						2011-10-13 17:23:48 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3714e2b170 
					 
					
						
						
							
							Fix filename formatter to be actually helpful.  
						
						 
						
						
						
						
					 
					
						2011-10-13 17:12:28 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b168a2431e 
					 
					
						
						
							
							32-bit compatibility (I think?)  
						
						 
						
						
						
						
					 
					
						2011-10-13 16:56:20 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						14872ee6ed 
					 
					
						
						
							
							Add --sleep for slightly more usable system  
						
						 
						
						
						
						
					 
					
						2011-10-13 16:55:26 -04:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e6e2c4a8d7 
					 
					
						
						
							
							Add --sync option.  
						
						 
						
						
						
						
					 
					
						2011-10-13 07:53:55 -04:00