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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 23 matching lines...) Expand all
34 #include "platform/Histogram.h" 34 #include "platform/Histogram.h"
35 #include "platform/RuntimeEnabledFeatures.h" 35 #include "platform/RuntimeEnabledFeatures.h"
36 #include "platform/WebTaskRunner.h" 36 #include "platform/WebTaskRunner.h"
37 #include "platform/graphics/CanvasMetrics.h" 37 #include "platform/graphics/CanvasMetrics.h"
38 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" 38 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h"
39 #include "platform/graphics/GraphicsLayer.h" 39 #include "platform/graphics/GraphicsLayer.h"
40 #include "platform/graphics/ImageBuffer.h" 40 #include "platform/graphics/ImageBuffer.h"
41 #include "platform/graphics/gpu/SharedContextRateLimiter.h" 41 #include "platform/graphics/gpu/SharedContextRateLimiter.h"
42 #include "platform/graphics/paint/PaintCanvas.h" 42 #include "platform/graphics/paint/PaintCanvas.h"
43 #include "platform/instrumentation/tracing/TraceEvent.h" 43 #include "platform/instrumentation/tracing/TraceEvent.h"
44 #include "platform/scheduler/child/web_scheduler.h"
44 #include "platform/wtf/PtrUtil.h" 45 #include "platform/wtf/PtrUtil.h"
45 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
46 #include "public/platform/WebCompositorSupport.h" 47 #include "public/platform/WebCompositorSupport.h"
47 #include "public/platform/WebGraphicsContext3DProvider.h" 48 #include "public/platform/WebGraphicsContext3DProvider.h"
48 #include "public/platform/WebScheduler.h"
49 #include "public/platform/WebTraceLocation.h" 49 #include "public/platform/WebTraceLocation.h"
50 #include "skia/ext/texture_handle.h" 50 #include "skia/ext/texture_handle.h"
51 #include "third_party/skia/include/core/SkColorSpaceXformCanvas.h" 51 #include "third_party/skia/include/core/SkColorSpaceXformCanvas.h"
52 #include "third_party/skia/include/core/SkData.h" 52 #include "third_party/skia/include/core/SkData.h"
53 #include "third_party/skia/include/core/SkSurface.h" 53 #include "third_party/skia/include/core/SkSurface.h"
54 #include "third_party/skia/include/gpu/GrContext.h" 54 #include "third_party/skia/include/gpu/GrContext.h"
55 #include "third_party/skia/include/gpu/GrTexture.h" 55 #include "third_party/skia/include/gpu/GrTexture.h"
56 #include "third_party/skia/include/gpu/gl/GrGLTypes.h" 56 #include "third_party/skia/include/gpu/gl/GrGLTypes.h"
57 57
58 namespace { 58 namespace {
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 default; 1128 default;
1129 1129
1130 void Canvas2DLayerBridge::Logger::ReportHibernationEvent( 1130 void Canvas2DLayerBridge::Logger::ReportHibernationEvent(
1131 HibernationEvent event) { 1131 HibernationEvent event) {
1132 DEFINE_STATIC_LOCAL(EnumerationHistogram, hibernation_histogram, 1132 DEFINE_STATIC_LOCAL(EnumerationHistogram, hibernation_histogram,
1133 ("Canvas.HibernationEvents", kHibernationEventCount)); 1133 ("Canvas.HibernationEvents", kHibernationEventCount));
1134 hibernation_histogram.Count(event); 1134 hibernation_histogram.Count(event);
1135 } 1135 }
1136 1136
1137 } // namespace blink 1137 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698