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

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

Issue 1745513002: Add abilitly to query audit trail for batches by draw op (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: tweaks 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/SkDrawCommand.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 static const int kImageHeight; 52 static const int kImageHeight;
53 53
54 UploadContext* fUploadContext; 54 UploadContext* fUploadContext;
55 SkAutoTUnref<SkPicture> fPicture; 55 SkAutoTUnref<SkPicture> fPicture;
56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas; 56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas;
57 UrlDataManager fUrlDataManager; 57 UrlDataManager fUrlDataManager;
58 58
59 private: 59 private:
60 SkSurface* createCPUSurface(); 60 SkSurface* createCPUSurface();
61 SkSurface* createGPUSurface(); 61 SkSurface* createGPUSurface();
62 GrAuditTrail* getAuditTrail(SkCanvas*);
63 void cleanupAuditTrail(SkCanvas*);
62 64
63 SkAutoTDelete<GrContextFactory> fContextFactory; 65 SkAutoTDelete<GrContextFactory> fContextFactory;
64 SkAutoTUnref<SkSurface> fSurface; 66 SkAutoTUnref<SkSurface> fSurface;
65 bool fGPUEnabled; 67 bool fGPUEnabled;
66 }; 68 };
67 69
68 #endif 70 #endif
69 71
OLDNEW
« no previous file with comments | « tools/debugger/SkDrawCommand.cpp ('k') | tools/skiaserve/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698