robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 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 | #include "gm.h" |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 9 | #if SK_SUPPORT_GPU |
joshualitt | 04194f3 | 2016-01-13 10:08:27 -0800 | [diff] [blame] | 10 | #include "GrContext.h" |
Brian Osman | 1105224 | 2016-10-27 14:47:55 -0400 | [diff] [blame] | 11 | #include "GrRenderTargetContextPriv.h" |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 12 | #include "effects/GrRRectEffect.h" |
Brian Salomon | 8952743 | 2016-12-16 09:52:16 -0500 | [diff] [blame] | 13 | #include "ops/GrDrawOp.h" |
| 14 | #include "ops/GrRectOpFactory.h" |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 15 | #endif |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 16 | #include "SkRRect.h" |
| 17 | |
| 18 | namespace skiagm { |
| 19 | |
| 20 | /////////////////////////////////////////////////////////////////////////////// |
| 21 | |
| 22 | class RRectGM : public GM { |
| 23 | public: |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 24 | enum Type { |
| 25 | kBW_Draw_Type, |
| 26 | kAA_Draw_Type, |
| 27 | kBW_Clip_Type, |
| 28 | kAA_Clip_Type, |
| 29 | kEffect_Type, |
| 30 | }; |
herb | b10fe49 | 2016-01-08 13:48:43 -0800 | [diff] [blame] | 31 | RRectGM(Type type) : fType(type) { } |
| 32 | |
| 33 | protected: |
| 34 | |
| 35 | void onOnceBeforeDraw() override { |
caryclark | 65cdba6 | 2015-06-15 06:51:08 -0700 | [diff] [blame] | 36 | this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 37 | this->setUpRRects(); |
| 38 | } |
| 39 | |
mtklein | 36352bf | 2015-03-25 18:17:31 -0700 | [diff] [blame] | 40 | SkString onShortName() override { |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 41 | SkString name("rrect"); |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 42 | switch (fType) { |
| 43 | case kBW_Draw_Type: |
| 44 | name.append("_draw_bw"); |
| 45 | break; |
| 46 | case kAA_Draw_Type: |
| 47 | name.append("_draw_aa"); |
| 48 | break; |
| 49 | case kBW_Clip_Type: |
| 50 | name.append("_clip_bw"); |
| 51 | break; |
| 52 | case kAA_Clip_Type: |
| 53 | name.append("_clip_aa"); |
| 54 | break; |
| 55 | case kEffect_Type: |
| 56 | name.append("_effect"); |
| 57 | break; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 58 | } |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 59 | return name; |
| 60 | } |
| 61 | |
mtklein | 36352bf | 2015-03-25 18:17:31 -0700 | [diff] [blame] | 62 | SkISize onISize() override { return SkISize::Make(kImageWidth, kImageHeight); } |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 63 | |
mtklein | 36352bf | 2015-03-25 18:17:31 -0700 | [diff] [blame] | 64 | void onDraw(SkCanvas* canvas) override { |
Brian Osman | 1105224 | 2016-10-27 14:47:55 -0400 | [diff] [blame] | 65 | GrRenderTargetContext* renderTargetContext = |
| 66 | canvas->internal_private_accessTopLayerRenderTargetContext(); |
| 67 | if (kEffect_Type == fType && !renderTargetContext) { |
halcanary | 2a24338 | 2015-09-09 08:16:41 -0700 | [diff] [blame] | 68 | skiagm::GM::DrawGpuOnlyMessage(canvas); |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 69 | return; |
| 70 | } |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 71 | |
| 72 | SkPaint paint; |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 73 | if (kAA_Draw_Type == fType) { |
| 74 | paint.setAntiAlias(true); |
| 75 | } |
skia.committer@gmail.com | f1f66c0 | 2014-03-05 03:02:06 +0000 | [diff] [blame] | 76 | |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 77 | const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), |
| 78 | SkIntToScalar(kTileY)); |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 79 | #ifdef SK_DEBUG |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 80 | const SkRect kMaxImageBound = SkRect::MakeWH(SkIntToScalar(kImageWidth), |
| 81 | SkIntToScalar(kImageHeight)); |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 82 | #endif |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 83 | |
bsalomon@google.com | b0ba39d | 2014-03-10 19:51:46 +0000 | [diff] [blame] | 84 | #if SK_SUPPORT_GPU |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 85 | int lastEdgeType = (kEffect_Type == fType) ? kLast_GrProcessorEdgeType: 0; |
bsalomon@google.com | b0ba39d | 2014-03-10 19:51:46 +0000 | [diff] [blame] | 86 | #else |
| 87 | int lastEdgeType = 0; |
| 88 | #endif |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 89 | |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 90 | int y = 1; |
bsalomon@google.com | b0ba39d | 2014-03-10 19:51:46 +0000 | [diff] [blame] | 91 | for (int et = 0; et <= lastEdgeType; ++et) { |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 92 | int x = 1; |
| 93 | for (int curRRect = 0; curRRect < kNumRRects; ++curRRect) { |
| 94 | bool drew = true; |
| 95 | #ifdef SK_DEBUG |
| 96 | SkASSERT(kMaxTileBound.contains(fRRects[curRRect].getBounds())); |
| 97 | SkRect imageSpaceBounds = fRRects[curRRect].getBounds(); |
| 98 | imageSpaceBounds.offset(SkIntToScalar(x), SkIntToScalar(y)); |
| 99 | SkASSERT(kMaxImageBound.contains(imageSpaceBounds)); |
| 100 | #endif |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 101 | canvas->save(); |
| 102 | canvas->translate(SkIntToScalar(x), SkIntToScalar(y)); |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 103 | if (kEffect_Type == fType) { |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 104 | #if SK_SUPPORT_GPU |
robertphillips | 28a838e | 2016-06-23 14:07:00 -0700 | [diff] [blame] | 105 | GrPaint grPaint; |
Brian Salomon | a163392 | 2017-01-09 11:46:10 -0500 | [diff] [blame] | 106 | grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); |
skia.committer@gmail.com | f1f66c0 | 2014-03-05 03:02:06 +0000 | [diff] [blame] | 107 | |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 108 | SkRRect rrect = fRRects[curRRect]; |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 109 | rrect.offset(SkIntToScalar(x), SkIntToScalar(y)); |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 110 | GrPrimitiveEdgeType edgeType = (GrPrimitiveEdgeType) et; |
bungeman | 06ca8ec | 2016-06-09 08:01:03 -0700 | [diff] [blame] | 111 | sk_sp<GrFragmentProcessor> fp(GrRRectEffect::Make(edgeType, rrect)); |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 112 | if (fp) { |
robertphillips | 28a838e | 2016-06-23 14:07:00 -0700 | [diff] [blame] | 113 | grPaint.addCoverageFragmentProcessor(std::move(fp)); |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 114 | |
| 115 | SkRect bounds = rrect.getBounds(); |
| 116 | bounds.outset(2.f, 2.f); |
skia.committer@gmail.com | f1f66c0 | 2014-03-05 03:02:06 +0000 | [diff] [blame] | 117 | |
Brian Salomon | f833478 | 2017-01-03 09:42:58 -0500 | [diff] [blame] | 118 | std::unique_ptr<GrDrawOp> op(GrRectOpFactory::MakeNonAAFill( |
Brian Salomon | 6a63904 | 2016-12-14 11:08:17 -0500 | [diff] [blame] | 119 | 0xff000000, SkMatrix::I(), bounds, nullptr, nullptr)); |
Brian Salomon | 1951f3d | 2016-12-09 16:07:12 -0500 | [diff] [blame] | 120 | renderTargetContext->priv().testingOnly_addDrawOp(grPaint, |
Brian Salomon | 0e8fc8b | 2016-12-09 15:10:07 -0500 | [diff] [blame] | 121 | GrAAType::kNone, |
Brian Salomon | 1951f3d | 2016-12-09 16:07:12 -0500 | [diff] [blame] | 122 | std::move(op)); |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 123 | } else { |
| 124 | drew = false; |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 125 | } |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 126 | #endif |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 127 | } else if (kBW_Clip_Type == fType || kAA_Clip_Type == fType) { |
| 128 | bool aaClip = (kAA_Clip_Type == fType); |
reed | 6699838 | 2016-09-21 11:15:07 -0700 | [diff] [blame] | 129 | canvas->clipRRect(fRRects[curRRect], aaClip); |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 130 | canvas->drawRect(kMaxTileBound, paint); |
| 131 | } else { |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 132 | canvas->drawRRect(fRRects[curRRect], paint); |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 133 | } |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 134 | canvas->restore(); |
commit-bot@chromium.org | bfce48e | 2014-03-10 19:33:16 +0000 | [diff] [blame] | 135 | if (drew) { |
| 136 | x = x + kTileX; |
| 137 | if (x > kImageWidth) { |
| 138 | x = 1; |
| 139 | y += kTileY; |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | if (x != 1) { |
| 144 | y += kTileY; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | void setUpRRects() { |
skia.committer@gmail.com | 7a03d86 | 2012-12-18 02:03:03 +0000 | [diff] [blame] | 150 | // each RRect must fit in a 0x0 -> (kTileX-2)x(kTileY-2) block. These will be tiled across |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 151 | // the screen in kTileX x kTileY tiles. The extra empty pixels on each side are for AA. |
| 152 | |
| 153 | // simple cases |
| 154 | fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); |
| 155 | fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); |
| 156 | fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); |
commit-bot@chromium.org | c2f7824 | 2014-02-19 15:18:05 +0000 | [diff] [blame] | 157 | fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); |
| 158 | // small circular corners are an interesting test case for gpu clipping |
| 159 | fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); |
| 160 | fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); |
| 161 | fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 162 | |
| 163 | // The first complex case needs special handling since it is a square |
| 164 | fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); |
mike@reedtribe.org | f6100c8 | 2012-12-24 13:56:17 +0000 | [diff] [blame] | 165 | for (size_t i = 1; i < SK_ARRAY_COUNT(gRadii); ++i) { |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 166 | fRRects[kNumSimpleCases+i].setRectRadii(SkRect::MakeWH(kTileX-2, kTileY-2), gRadii[i]); |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | private: |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 171 | Type fType; |
skia.committer@gmail.com | f1f66c0 | 2014-03-05 03:02:06 +0000 | [diff] [blame] | 172 | |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 173 | static constexpr int kImageWidth = 640; |
| 174 | static constexpr int kImageHeight = 480; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 175 | |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 176 | static constexpr int kTileX = 80; |
| 177 | static constexpr int kTileY = 40; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 178 | |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 179 | static constexpr int kNumSimpleCases = 7; |
| 180 | static constexpr int kNumComplexCases = 35; |
robertphillips@google.com | 5683d42 | 2012-12-17 21:58:02 +0000 | [diff] [blame] | 181 | static const SkVector gRadii[kNumComplexCases][4]; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 182 | |
mtklein | dbfd7ab | 2016-09-01 11:24:54 -0700 | [diff] [blame] | 183 | static constexpr int kNumRRects = kNumSimpleCases + kNumComplexCases; |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 184 | SkRRect fRRects[kNumRRects]; |
| 185 | |
| 186 | typedef GM INHERITED; |
| 187 | }; |
| 188 | |
| 189 | // Radii for the various test cases. Order is UL, UR, LR, LL |
| 190 | const SkVector RRectGM::gRadii[kNumComplexCases][4] = { |
| 191 | // a circle |
| 192 | { { kTileY, kTileY }, { kTileY, kTileY }, { kTileY, kTileY }, { kTileY, kTileY } }, |
| 193 | |
| 194 | // odd ball cases |
| 195 | { { 8, 8 }, { 32, 32 }, { 8, 8 }, { 32, 32 } }, |
| 196 | { { 16, 8 }, { 8, 16 }, { 16, 8 }, { 8, 16 } }, |
| 197 | { { 0, 0 }, { 16, 16 }, { 8, 8 }, { 32, 32 } }, |
| 198 | |
| 199 | // UL |
| 200 | { { 30, 30 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }, |
| 201 | { { 30, 15 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }, |
| 202 | { { 15, 30 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }, |
| 203 | |
| 204 | // UR |
| 205 | { { 0, 0 }, { 30, 30 }, { 0, 0 }, { 0, 0 } }, |
| 206 | { { 0, 0 }, { 30, 15 }, { 0, 0 }, { 0, 0 } }, |
| 207 | { { 0, 0 }, { 15, 30 }, { 0, 0 }, { 0, 0 } }, |
| 208 | |
| 209 | // LR |
| 210 | { { 0, 0 }, { 0, 0 }, { 30, 30 }, { 0, 0 } }, |
| 211 | { { 0, 0 }, { 0, 0 }, { 30, 15 }, { 0, 0 } }, |
| 212 | { { 0, 0 }, { 0, 0 }, { 15, 30 }, { 0, 0 } }, |
| 213 | |
| 214 | // LL |
| 215 | { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 30, 30 } }, |
| 216 | { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 30, 15 } }, |
| 217 | { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 15, 30 } }, |
| 218 | |
| 219 | // over-sized radii |
| 220 | { { 0, 0 }, { 100, 400 }, { 0, 0 }, { 0, 0 } }, |
| 221 | { { 0, 0 }, { 400, 400 }, { 0, 0 }, { 0, 0 } }, |
| 222 | { { 400, 400 }, { 400, 400 }, { 400, 400 }, { 400, 400 } }, |
commit-bot@chromium.org | cb3672e | 2014-02-21 22:41:56 +0000 | [diff] [blame] | 223 | |
| 224 | // circular corner tabs |
| 225 | { { 0, 0 }, { 20, 20 }, { 20, 20 }, { 0, 0 } }, |
| 226 | { { 20, 20 }, { 20, 20 }, { 0, 0 }, { 0, 0 } }, |
| 227 | { { 0, 0 }, { 0, 0 }, { 20, 20 }, { 20, 20 } }, |
| 228 | { { 20, 20 }, { 0, 0 }, { 0, 0 }, { 20, 20 } }, |
commit-bot@chromium.org | c5c748c | 2014-03-11 15:54:51 +0000 | [diff] [blame] | 229 | |
commit-bot@chromium.org | 04eff72 | 2014-03-24 14:53:09 +0000 | [diff] [blame] | 230 | // small radius circular corner tabs |
| 231 | { { 0, 0 }, { 0.2f, 0.2f }, { 0.2f, 0.2f }, { 0, 0 } }, |
| 232 | { { 0.3f, 0.3f }, { 0.3f, .3f }, { 0, 0 }, { 0, 0 } }, |
| 233 | |
commit-bot@chromium.org | c5c748c | 2014-03-11 15:54:51 +0000 | [diff] [blame] | 234 | // single circular corner cases |
| 235 | { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 15, 15 } }, |
| 236 | { { 0, 0 }, { 0, 0 }, { 15, 15 }, { 0, 0 } }, |
| 237 | { { 0, 0 }, { 15, 15 }, { 0, 0 }, { 0, 0 } }, |
| 238 | { { 15, 15 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }, |
commit-bot@chromium.org | fa5edbe | 2014-03-13 18:01:05 +0000 | [diff] [blame] | 239 | |
| 240 | // nine patch elliptical |
| 241 | { { 5, 7 }, { 8, 7 }, { 8, 12 }, { 5, 12 } }, |
| 242 | { { 0, 7 }, { 8, 7 }, { 8, 12 }, { 0, 12 } }, |
commit-bot@chromium.org | 04eff72 | 2014-03-24 14:53:09 +0000 | [diff] [blame] | 243 | |
| 244 | // nine patch elliptical, small radii |
| 245 | { { 0.4f, 7 }, { 8, 7 }, { 8, 12 }, { 0.4f, 12 } }, |
| 246 | { { 0.4f, 0.4f }, { 8, 0.4f }, { 8, 12 }, { 0.4f, 12 } }, |
| 247 | { { 20, 0.4f }, { 18, 0.4f }, { 18, 0.4f }, { 20, 0.4f } }, |
| 248 | { { 0.3f, 0.4f }, { 0.3f, 0.4f }, { 0.3f, 0.4f }, { 0.3f, 0.4f } }, |
| 249 | |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 250 | }; |
| 251 | |
| 252 | /////////////////////////////////////////////////////////////////////////////// |
| 253 | |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 254 | DEF_GM( return new RRectGM(RRectGM::kAA_Draw_Type); ) |
| 255 | DEF_GM( return new RRectGM(RRectGM::kBW_Draw_Type); ) |
| 256 | DEF_GM( return new RRectGM(RRectGM::kAA_Clip_Type); ) |
| 257 | DEF_GM( return new RRectGM(RRectGM::kBW_Clip_Type); ) |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 258 | #if SK_SUPPORT_GPU |
commit-bot@chromium.org | fbde87f | 2014-03-04 16:25:34 +0000 | [diff] [blame] | 259 | DEF_GM( return new RRectGM(RRectGM::kEffect_Type); ) |
bsalomon@google.com | 707bd60 | 2014-03-04 16:52:20 +0000 | [diff] [blame] | 260 | #endif |
robertphillips@google.com | 4e18c7a | 2012-12-17 21:48:19 +0000 | [diff] [blame] | 261 | |
| 262 | } |