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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h

Issue 1913283002: Trim Skia dependencies in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #define Canvas2DLayerBridge_h 27 #define Canvas2DLayerBridge_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/geometry/IntSize.h" 30 #include "platform/geometry/IntSize.h"
31 #include "platform/graphics/ImageBufferSurface.h" 31 #include "platform/graphics/ImageBufferSurface.h"
32 #include "public/platform/WebExternalTextureLayer.h" 32 #include "public/platform/WebExternalTextureLayer.h"
33 #include "public/platform/WebExternalTextureLayerClient.h" 33 #include "public/platform/WebExternalTextureLayerClient.h"
34 #include "public/platform/WebExternalTextureMailbox.h" 34 #include "public/platform/WebExternalTextureMailbox.h"
35 #include "public/platform/WebThread.h" 35 #include "public/platform/WebThread.h"
36 #include "third_party/khronos/GLES2/gl2.h" 36 #include "third_party/khronos/GLES2/gl2.h"
37 #include "third_party/skia/include/core/SkImage.h" 37 #include "third_party/skia/include/core/SkSurface.h"
38 #include "wtf/Allocator.h" 38 #include "wtf/Allocator.h"
39 #include "wtf/Deque.h" 39 #include "wtf/Deque.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
42 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
43 #include "wtf/Vector.h" 43 #include "wtf/Vector.h"
44 #include "wtf/WeakPtr.h" 44 #include "wtf/WeakPtr.h"
45 45
46 class SkImage;
47 struct SkImageInfo;
46 class SkPictureRecorder; 48 class SkPictureRecorder;
47 49
48 namespace gpu { 50 namespace gpu {
49 namespace gles2 { 51 namespace gles2 {
50 class GLES2Interface; 52 class GLES2Interface;
51 } 53 }
52 } 54 }
53 55
54 namespace blink { 56 namespace blink {
55 57
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Each element in this vector represents an IOSurface backed texture that 276 // Each element in this vector represents an IOSurface backed texture that
275 // is ready to be reused. 277 // is ready to be reused.
276 // Elements in this vector can safely be purged in low memory conditions. 278 // Elements in this vector can safely be purged in low memory conditions.
277 Vector<ImageInfo> m_imageInfoCache; 279 Vector<ImageInfo> m_imageInfoCache;
278 #endif // USE_IOSURFACE_FOR_2D_CANVAS 280 #endif // USE_IOSURFACE_FOR_2D_CANVAS
279 }; 281 };
280 282
281 } // namespace blink 283 } // namespace blink
282 284
283 #endif 285 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698