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

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

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: 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 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"
14 #include "platform/wtf/CheckedNumeric.h"
15 #include "platform/wtf/PtrUtil.h"
13 #include "third_party/skia/include/core/SkImage.h" 16 #include "third_party/skia/include/core/SkImage.h"
14 #include "wtf/CheckedNumeric.h"
15 #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 3141 matching lines...) Expand 10 before | Expand all | Expand 10 after
3168 pack<WebGLImageConversion::DataFormatRGB565, 3168 pack<WebGLImageConversion::DataFormatRGB565,
3169 WebGLImageConversion::AlphaDoNothing>(srcRowStart, dstRowStart, 3169 WebGLImageConversion::AlphaDoNothing>(srcRowStart, dstRowStart,
3170 pixelsPerRow); 3170 pixelsPerRow);
3171 } break; 3171 } break;
3172 default: 3172 default:
3173 break; 3173 break;
3174 } 3174 }
3175 } 3175 }
3176 3176
3177 } // namespace blink 3177 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698