Use a table indexed by bit depth to provide a better "scale factor" when copying pixels from native surfaces to the canvas. Patch by roc, r=vladimir, sr=shaver. git-svn-id: svn://10.0.0.236/trunk@188890 18797224-902f-48f8-a5cc-f745e15eee43
Use a table indexed by bit depth to provide a better "scale factor" when copying pixels from native surfaces to the canvas. Patch by roc, r=vladimir, sr=shaver. git-svn-id: svn://10.0.0.236/trunk@188890 18797224-902f-48f8-a5cc-f745e15eee43