| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkPixelXorXfermode.h" | 8 #include "SkPixelXorXfermode.h" |
| 9 #include "SkColorPriv.h" | 9 #include "SkColorPriv.h" |
| 10 #include "SkReadBuffer.h" | 10 #include "SkReadBuffer.h" |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 } | 381 } |
| 382 | 382 |
| 383 bool SkPixelXorXfermode::asXPFactory(GrXPFactory** xpf) const { | 383 bool SkPixelXorXfermode::asXPFactory(GrXPFactory** xpf) const { |
| 384 if (xpf) { | 384 if (xpf) { |
| 385 *xpf = GrPixelXorXPFactory::Create(fOpColor); | 385 *xpf = GrPixelXorXPFactory::Create(fOpColor); |
| 386 } | 386 } |
| 387 return true; | 387 return true; |
| 388 } | 388 } |
| 389 | 389 |
| 390 #endif | 390 #endif |
| OLD | NEW |