Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: gm/imagefromyuvtextures.cpp

Issue 2004433002: Retract GrRenderTarget from GrTestTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix bench build Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bench/GLBench.cpp ('k') | gm/rectangletexture.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 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 // This test only works with the GPU backend. 8 // This test only works with the GPU backend.
9 9
10 #include "gm.h" 10 #include "gm.h"
11 11
12 #if SK_SUPPORT_GPU 12 #if SK_SUPPORT_GPU
13 13
14 #include "GrContext.h" 14 #include "GrContext.h"
15 #include "GrGpu.h"
15 #include "GrTest.h" 16 #include "GrTest.h"
16 #include "SkBitmap.h" 17 #include "SkBitmap.h"
17 #include "SkGradientShader.h" 18 #include "SkGradientShader.h"
18 #include "SkImage.h" 19 #include "SkImage.h"
19 20
20 namespace skiagm { 21 namespace skiagm {
21 class ImageFromYUVTextures : public GM { 22 class ImageFromYUVTextures : public GM {
22 public: 23 public:
23 ImageFromYUVTextures() { 24 ImageFromYUVTextures() {
24 this->setBGColor(0xFFFFFFFF); 25 this->setBGColor(0xFFFFFFFF);
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 static const int kBmpSize = 32; 164 static const int kBmpSize = 32;
164 165
165 typedef GM INHERITED; 166 typedef GM INHERITED;
166 }; 167 };
167 168
168 DEF_GM(return new ImageFromYUVTextures;) 169 DEF_GM(return new ImageFromYUVTextures;)
169 } 170 }
170 171
171 #endif 172 #endif
OLDNEW
« no previous file with comments | « bench/GLBench.cpp ('k') | gm/rectangletexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698