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

Side by Side Diff: tools/skiaserve/Request.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « tools/sk_tool_utils.cpp ('k') | tools/skiaserve/Request.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 2016 Google Inc. 2 * Copyright 2016 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 #ifndef Request_DEFINED 8 #ifndef Request_DEFINED
9 #define Request_DEFINED 9 #define Request_DEFINED
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Returns json with the viewMatrix and clipRect 53 // Returns json with the viewMatrix and clipRect
54 SkData* getJsonInfo(int n); 54 SkData* getJsonInfo(int n);
55 55
56 // returns the color of the pixel at (x,y) in the canvas 56 // returns the color of the pixel at (x,y) in the canvas
57 SkColor getPixel(int x, int y); 57 SkColor getPixel(int x, int y);
58 58
59 UploadContext* fUploadContext; 59 UploadContext* fUploadContext;
60 SkAutoTUnref<SkDebugCanvas> fDebugCanvas; 60 SkAutoTUnref<SkDebugCanvas> fDebugCanvas;
61 UrlDataManager fUrlDataManager; 61 UrlDataManager fUrlDataManager;
62 62
63 private: 63 private:
64 SkData* writeCanvasToPng(SkCanvas* canvas); 64 SkData* writeCanvasToPng(SkCanvas* canvas);
65 void drawToCanvas(int n, int m = -1); 65 void drawToCanvas(int n, int m = -1);
66 SkSurface* createCPUSurface(); 66 SkSurface* createCPUSurface();
67 SkSurface* createGPUSurface(); 67 SkSurface* createGPUSurface();
68 SkIRect getBounds(); 68 SkIRect getBounds();
69 GrContext* getContext(); 69 GrContext* getContext();
70 70
71 sk_sp<SkPicture> fPicture; 71 sk_sp<SkPicture> fPicture;
72 GrContextFactory* fContextFactory; 72 GrContextFactory* fContextFactory;
73 SkAutoTUnref<SkSurface> fSurface; 73 SkAutoTUnref<SkSurface> fSurface;
74 bool fGPUEnabled; 74 bool fGPUEnabled;
75 }; 75 };
76 76
77 #endif 77 #endif
78
OLDNEW
« no previous file with comments | « tools/sk_tool_utils.cpp ('k') | tools/skiaserve/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698