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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp

Issue 2815793002: [SharedArrayBuffer] Add "AllowShared" extended attribute, used for WebGL (Closed)
Patch Set: merge HEAD 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/canvas2d/BaseRenderingContext2D.h" 5 #include "modules/canvas2d/BaseRenderingContext2D.h"
6 6
7 #include "bindings/core/v8/ExceptionMessages.h" 7 #include "bindings/core/v8/ExceptionMessages.h"
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "core/css/cssom/CSSURLImageValue.h" 10 #include "core/css/cssom/CSSURLImageValue.h"
11 #include "core/css/parser/CSSParser.h" 11 #include "core/css/parser/CSSParser.h"
12 #include "core/dom/ArrayBufferViewHelpers.h"
12 #include "core/dom/ExecutionContext.h" 13 #include "core/dom/ExecutionContext.h"
13 #include "core/dom/NotShared.h"
14 #include "core/frame/ImageBitmap.h" 14 #include "core/frame/ImageBitmap.h"
15 #include "core/html/HTMLCanvasElement.h" 15 #include "core/html/HTMLCanvasElement.h"
16 #include "core/html/HTMLImageElement.h" 16 #include "core/html/HTMLImageElement.h"
17 #include "core/html/HTMLVideoElement.h" 17 #include "core/html/HTMLVideoElement.h"
18 #include "core/html/ImageData.h" 18 #include "core/html/ImageData.h"
19 #include "core/offscreencanvas/OffscreenCanvas.h" 19 #include "core/offscreencanvas/OffscreenCanvas.h"
20 #include "core/svg/SVGImageElement.h" 20 #include "core/svg/SVGImageElement.h"
21 #include "modules/canvas2d/CanvasGradient.h" 21 #include "modules/canvas2d/CanvasGradient.h"
22 #include "modules/canvas2d/CanvasPattern.h" 22 #include "modules/canvas2d/CanvasPattern.h"
23 #include "modules/canvas2d/CanvasStyle.h" 23 #include "modules/canvas2d/CanvasStyle.h"
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 ExpensiveCanvasHeuristicParameters::kShadowFixedCost[index] * 2053 ExpensiveCanvasHeuristicParameters::kShadowFixedCost[index] *
2054 usage_counters_.num_blurred_shadows + 2054 usage_counters_.num_blurred_shadows +
2055 ExpensiveCanvasHeuristicParameters:: 2055 ExpensiveCanvasHeuristicParameters::
2056 kShadowVariableCostPerAreaTimesShadowBlurSquared[index] * 2056 kShadowVariableCostPerAreaTimesShadowBlurSquared[index] *
2057 usage_counters_.bounding_box_area_times_shadow_blur_squared; 2057 usage_counters_.bounding_box_area_times_shadow_blur_squared;
2058 2058
2059 return basic_cost_of_draw_calls + fill_type_adjustment + shadow_adjustment; 2059 return basic_cost_of_draw_calls + fill_type_adjustment + shadow_adjustment;
2060 } 2060 }
2061 2061
2062 } // namespace blink 2062 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageData.h ('k') | third_party/WebKit/Source/modules/encoding/TextEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698