Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2016 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef GrPLSGeometryProcessor_DEFINED | |
| 9 #define GrPLSGeometryProcessor_DEFINED | |
| 10 | |
| 11 #include "GrGeometryProcessor.h" | |
| 12 | |
| 13 /** | |
| 14 * A minor extension to GrGeometryProcessor that adds bounds tracking for pixel local storage | |
| 15 * purposes. | |
| 16 */ | |
| 17 class GrPLSGeometryProcessor : public GrGeometryProcessor { | |
| 18 public: | |
| 19 SkRect fBounds; | |
|
bsalomon
2016/01/13 19:15:34
public?
| |
| 20 | |
| 21 GrPixelLocalStorageState getPixelLocalStorageState() const override { | |
| 22 return GrPixelLocalStorageState::kDraw_State; | |
| 23 } | |
| 24 }; | |
| 25 | |
| 26 #endif | |
| OLD | NEW |