зеркало из https://github.com/mozilla/moz-skia.git
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5821 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
b1a72cb90a
Коммит
dda28c9bde
|
@ -410,7 +410,7 @@ int encodeXY(int x, int y) {
|
|||
SkASSERT(x >= 1 && y >= 1 && x * y <= 32);
|
||||
if (y < x)
|
||||
return 0x40 | encodeXY(y, x);
|
||||
else
|
||||
else
|
||||
return (0x40 >> x) | (y - x);
|
||||
}
|
||||
|
||||
|
@ -491,7 +491,7 @@ bool GrMatrixConvolutionEffect::isEqual(const GrCustomStage& sBase) const {
|
|||
|
||||
GR_DEFINE_CUSTOM_STAGE_TEST(GrMatrixConvolutionEffect);
|
||||
|
||||
// A little bit less than the minimum # uniforms required by DX9SM2 (32).
|
||||
// A little bit less than the minimum # uniforms required by DX9SM2 (32).
|
||||
// Allows for a 5x5 kernel (or 25x1, for that matter).
|
||||
#define MAX_KERNEL_SIZE 25
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче