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

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

Issue 22582006: Qualify skia gl include properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use fullly qualified paths. Created 7 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11 matching lines...) Expand all
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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"
33 #include "GrGLInterface.h"
34 #include "core/html/ImageData.h" 32 #include "core/html/ImageData.h"
35 #include "core/html/canvas/CheckedInt.h" 33 #include "core/html/canvas/CheckedInt.h"
36 #include "core/platform/graphics/Extensions3D.h" 34 #include "core/platform/graphics/Extensions3D.h"
37 #include "core/platform/graphics/GraphicsContext.h" 35 #include "core/platform/graphics/GraphicsContext.h"
38 #include "core/platform/graphics/Image.h" 36 #include "core/platform/graphics/Image.h"
39 #include "core/platform/graphics/ImageBuffer.h" 37 #include "core/platform/graphics/ImageBuffer.h"
40 #include "core/platform/graphics/ImageObserver.h" 38 #include "core/platform/graphics/ImageObserver.h"
41 #include "core/platform/graphics/gpu/DrawingBuffer.h" 39 #include "core/platform/graphics/gpu/DrawingBuffer.h"
42 #include "core/platform/image-decoders/ImageDecoder.h" 40 #include "core/platform/image-decoders/ImageDecoder.h"
41 #include "third_party/skia/include/gpu/GrContext.h"
42 #include "third_party/skia/include/gpu/gl/GrGLInterface.h"
43 #include "wtf/CPU.h" 43 #include "wtf/CPU.h"
44 #include "wtf/OwnArrayPtr.h" 44 #include "wtf/OwnArrayPtr.h"
45 #include "wtf/PassOwnArrayPtr.h" 45 #include "wtf/PassOwnArrayPtr.h"
46 #include "wtf/text/CString.h" 46 #include "wtf/text/CString.h"
47 #include "wtf/text/StringHash.h" 47 #include "wtf/text/StringHash.h"
48 #include "wtf/text/WTFString.h" 48 #include "wtf/text/WTFString.h"
49 49
50 #include "public/platform/Platform.h" 50 #include "public/platform/Platform.h"
51 #include "public/platform/WebGraphicsContext3D.h" 51 #include "public/platform/WebGraphicsContext3D.h"
52 #include "public/platform/WebGraphicsContext3DProvider.h" 52 #include "public/platform/WebGraphicsContext3DProvider.h"
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 for (unsigned i = 0; i < count; i++) { 1046 for (unsigned i = 0; i < count; i++) {
1047 uint8* rowA = framebuffer + i * rowBytes; 1047 uint8* rowA = framebuffer + i * rowBytes;
1048 uint8* rowB = framebuffer + (height - i - 1) * rowBytes; 1048 uint8* rowB = framebuffer + (height - i - 1) * rowBytes;
1049 memcpy(scanline, rowB, rowBytes); 1049 memcpy(scanline, rowB, rowBytes);
1050 memcpy(rowB, rowA, rowBytes); 1050 memcpy(rowB, rowA, rowBytes);
1051 memcpy(rowA, scanline, rowBytes); 1051 memcpy(rowA, scanline, rowBytes);
1052 } 1052 }
1053 } 1053 }
1054 1054
1055 } // namespace WebCore 1055 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698