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

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

Issue 1777203003: Fix some bugs and performance issues with skiaserve (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup Created 4 years, 9 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/debugger/SkDebugCanvas.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 UploadContext* fUploadContext; 55 UploadContext* fUploadContext;
56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas; 56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas;
57 UrlDataManager fUrlDataManager; 57 UrlDataManager fUrlDataManager;
58 58
59 private: 59 private:
60 SkData* writeCanvasToPng(SkCanvas* canvas); 60 SkData* writeCanvasToPng(SkCanvas* canvas);
61 void drawToCanvas(int n, int m = -1); 61 void drawToCanvas(int n, int m = -1);
62 SkSurface* createCPUSurface(); 62 SkSurface* createCPUSurface();
63 SkSurface* createGPUSurface(); 63 SkSurface* createGPUSurface();
64 GrAuditTrail* getAuditTrail(SkCanvas*); 64 SkIRect getBounds();
65 void cleanupAuditTrail(SkCanvas*); 65 GrContext* getContext();
66 66
67 SkAutoTUnref<SkPicture> fPicture; 67 SkAutoTUnref<SkPicture> fPicture;
68 SkAutoTDelete<GrContextFactory> fContextFactory; 68 SkAutoTDelete<GrContextFactory> fContextFactory;
69 SkAutoTUnref<SkSurface> fSurface; 69 SkAutoTUnref<SkSurface> fSurface;
70 bool fGPUEnabled; 70 bool fGPUEnabled;
71 }; 71 };
72 72
73 #endif 73 #endif
74 74
OLDNEW
« no previous file with comments | « tools/debugger/SkDebugCanvas.cpp ('k') | tools/skiaserve/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698