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

Side by Side Diff: Source/core/platform/graphics/GraphicsContext3D.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * Copyright (C) 2010 Mozilla Corporation. All rights reserved. 4 * Copyright (C) 2010 Mozilla Corporation. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 #include "core/platform/graphics/GraphicsContext3D.h" 30 #include "core/platform/graphics/GraphicsContext3D.h"
31 31
32 #include "GrContext.h" 32 #include "GrContext.h"
33 #include "GrGLInterface.h" 33 #include "GrGLInterface.h"
34 #include "SkTypes.h"
35 #include "core/html/ImageData.h" 34 #include "core/html/ImageData.h"
36 #include "core/html/canvas/CheckedInt.h" 35 #include "core/html/canvas/CheckedInt.h"
37 #include "core/platform/graphics/Extensions3D.h" 36 #include "core/platform/graphics/Extensions3D.h"
38 #include "core/platform/graphics/GraphicsContext.h" 37 #include "core/platform/graphics/GraphicsContext.h"
39 #include "core/platform/graphics/Image.h" 38 #include "core/platform/graphics/Image.h"
40 #include "core/platform/graphics/ImageBuffer.h" 39 #include "core/platform/graphics/ImageBuffer.h"
41 #include "core/platform/graphics/ImageObserver.h" 40 #include "core/platform/graphics/ImageObserver.h"
42 #include "core/platform/graphics/cpu/arm/GraphicsContext3DNEON.h"
43 #include "core/platform/graphics/gpu/DrawingBuffer.h" 41 #include "core/platform/graphics/gpu/DrawingBuffer.h"
44 #include "core/platform/image-decoders/ImageDecoder.h" 42 #include "core/platform/image-decoders/ImageDecoder.h"
45 #include "wtf/ArrayBufferView.h"
46 #include "wtf/CPU.h" 43 #include "wtf/CPU.h"
47 #include "wtf/OwnArrayPtr.h" 44 #include "wtf/OwnArrayPtr.h"
48 #include "wtf/PassOwnArrayPtr.h" 45 #include "wtf/PassOwnArrayPtr.h"
49 #include "wtf/text/CString.h" 46 #include "wtf/text/CString.h"
50 #include "wtf/text/StringHash.h" 47 #include "wtf/text/StringHash.h"
51 #include "wtf/text/WTFString.h" 48 #include "wtf/text/WTFString.h"
52 49
53 #include <public/Platform.h> 50 #include <public/Platform.h>
54 #include <public/WebGraphicsContext3D.h> 51 #include <public/WebGraphicsContext3D.h>
55 #include <public/WebGraphicsContext3DProvider.h> 52 #include <public/WebGraphicsContext3DProvider.h>
(...skipping 2510 matching lines...) Expand 10 before | Expand all | Expand 10 after
2566 } 2563 }
2567 2564
2568 bool GraphicsContext3D::isExtensionEnabled(const String& name) 2565 bool GraphicsContext3D::isExtensionEnabled(const String& name)
2569 { 2566 {
2570 initializeExtensions(); 2567 initializeExtensions();
2571 String mappedName = mapExtensionName(name); 2568 String mappedName = mapExtensionName(name);
2572 return m_enabledExtensions.contains(mappedName); 2569 return m_enabledExtensions.contains(mappedName);
2573 } 2570 }
2574 2571
2575 } // namespace WebCore 2572 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/Gradient.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698