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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "platform/graphics/gpu/WebGLImageConversion.h" 5 #include "platform/graphics/gpu/WebGLImageConversion.h"
6 6
7 #include <memory>
7 #include "platform/graphics/ImageObserver.h" 8 #include "platform/graphics/ImageObserver.h"
8 #include "platform/graphics/cpu/arm/WebGLImageConversionNEON.h" 9 #include "platform/graphics/cpu/arm/WebGLImageConversionNEON.h"
9 #include "platform/graphics/cpu/mips/WebGLImageConversionMSA.h" 10 #include "platform/graphics/cpu/mips/WebGLImageConversionMSA.h"
10 #include "platform/graphics/cpu/x86/WebGLImageConversionSSE.h" 11 #include "platform/graphics/cpu/x86/WebGLImageConversionSSE.h"
11 #include "platform/graphics/skia/SkiaUtils.h" 12 #include "platform/graphics/skia/SkiaUtils.h"
12 #include "platform/image-decoders/ImageDecoder.h" 13 #include "platform/image-decoders/ImageDecoder.h"
13 #include "third_party/skia/include/core/SkImage.h" 14 #include "third_party/skia/include/core/SkImage.h"
14 #include "wtf/CheckedNumeric.h" 15 #include "wtf/CheckedNumeric.h"
15 #include "wtf/PtrUtil.h" 16 #include "wtf/PtrUtil.h"
16 #include <memory>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 namespace { 20 namespace {
21 21
22 const float maxInt8Value = INT8_MAX; 22 const float maxInt8Value = INT8_MAX;
23 const float maxUInt8Value = UINT8_MAX; 23 const float maxUInt8Value = UINT8_MAX;
24 const float maxInt16Value = INT16_MAX; 24 const float maxInt16Value = INT16_MAX;
25 const float maxUInt16Value = UINT16_MAX; 25 const float maxUInt16Value = UINT16_MAX;
26 const double maxInt32Value = INT32_MAX; 26 const double maxInt32Value = INT32_MAX;
(...skipping 3144 matching lines...) Expand 10 before | Expand all | Expand 10 after
3171 pack<WebGLImageConversion::DataFormatRGB565, 3171 pack<WebGLImageConversion::DataFormatRGB565,
3172 WebGLImageConversion::AlphaDoNothing>(srcRowStart, dstRowStart, 3172 WebGLImageConversion::AlphaDoNothing>(srcRowStart, dstRowStart,
3173 pixelsPerRow); 3173 pixelsPerRow);
3174 } break; 3174 } break;
3175 default: 3175 default:
3176 break; 3176 break;
3177 } 3177 }
3178 } 3178 }
3179 3179
3180 } // namespace blink 3180 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698