Remove unnecessary includes from Viewer
Bug: skia: Change-Id: I7b20db66a7eb5b549997fd4307e41937a8753921 Reviewed-on: https://skia-review.googlesource.com/86020 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
746db42e2c
commit
f09e35eb59
@ -14,32 +14,24 @@
|
||||
#include "SKPSlide.h"
|
||||
|
||||
#include "GrContext.h"
|
||||
#include "SkATrace.h"
|
||||
#include "SkCanvas.h"
|
||||
#include "SkColorSpace_Base.h"
|
||||
#include "SkColorSpacePriv.h"
|
||||
#include "SkColorSpaceXformCanvas.h"
|
||||
#include "SkCommandLineFlags.h"
|
||||
#include "SkCommonFlagsGpuThreads.h"
|
||||
#include "SkCommonFlagsPathRenderer.h"
|
||||
#include "SkDashPathEffect.h"
|
||||
#include "SkEventTracingPriv.h"
|
||||
#include "SkGraphics.h"
|
||||
#include "SkImagePriv.h"
|
||||
#include "SkMetaData.h"
|
||||
#include "SkOnce.h"
|
||||
#include "SkOSFile.h"
|
||||
#include "SkOSPath.h"
|
||||
#include "SkPictureRecorder.h"
|
||||
#include "SkRandom.h"
|
||||
#include "SkScan.h"
|
||||
#include "SkStream.h"
|
||||
#include "SkSurface.h"
|
||||
#include "SkSwizzle.h"
|
||||
#include "SkTaskGroup.h"
|
||||
#include "SkThreadedBMPDevice.h"
|
||||
#include "SkTime.h"
|
||||
#include "SkVertices.h"
|
||||
|
||||
#include "imgui.h"
|
||||
|
||||
@ -56,8 +48,6 @@ Application* Application::Create(int argc, char** argv, void* platformData) {
|
||||
return new Viewer(argc, argv, platformData);
|
||||
}
|
||||
|
||||
static DEFINE_bool2(fullscreen, f, true, "Run fullscreen.");
|
||||
|
||||
static DEFINE_string2(match, m, nullptr,
|
||||
"[~][^]substring[$] [...] of bench name to run.\n"
|
||||
"Multiple matches may be separated by spaces.\n"
|
||||
@ -207,8 +197,6 @@ Viewer::Viewer(int argc, char** argv, void* platformData)
|
||||
{
|
||||
SkGraphics::Init();
|
||||
|
||||
static SkOnce initPathRendererNames;
|
||||
initPathRendererNames([]() {
|
||||
gPathRendererNames[GpuPathRenderers::kAll] = "All Path Renderers";
|
||||
gPathRendererNames[GpuPathRenderers::kDefault] =
|
||||
"Default Ganesh Behavior (best path renderer, not including CCPR)";
|
||||
@ -218,7 +206,6 @@ Viewer::Viewer(int argc, char** argv, void* platformData)
|
||||
gPathRendererNames[GpuPathRenderers::kCoverageCounting] = "Coverage counting";
|
||||
gPathRendererNames[GpuPathRenderers::kTessellating] = "Tessellating";
|
||||
gPathRendererNames[GpuPathRenderers::kNone] = "Software masks";
|
||||
});
|
||||
|
||||
memset(fPaintTimes, 0, sizeof(fPaintTimes));
|
||||
memset(fFlushTimes, 0, sizeof(fFlushTimes));
|
||||
|
Loading…
Reference in New Issue
Block a user