зеркало из https://github.com/mozilla/moz-skia.git
Zero out GrSamplerState in constructor to recover performance loss on Linux from r4102.
(Noise in padding bytes was breaking operator==()) Visual review by bsalomon@. git-svn-id: http://skia.googlecode.com/svn/trunk@4108 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
86a349caad
Коммит
194de08484
|
@ -90,6 +90,7 @@ public:
|
||||||
, fRadial2Radius0()
|
, fRadial2Radius0()
|
||||||
, fRadial2PosRoot()
|
, fRadial2PosRoot()
|
||||||
, fCustomStage (NULL) {
|
, fCustomStage (NULL) {
|
||||||
|
memset(this, 0, sizeof(GrSamplerState));
|
||||||
this->reset();
|
this->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче