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

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

Issue 2764633002: cc/paint: Remove cc::PaintSurface. (Closed)
Patch Set: fix for relanding 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 /* 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 14 matching lines...) Expand all
25 25
26 #ifndef Canvas2DLayerBridge_h 26 #ifndef Canvas2DLayerBridge_h
27 #define Canvas2DLayerBridge_h 27 #define Canvas2DLayerBridge_h
28 28
29 #include "cc/layers/texture_layer_client.h" 29 #include "cc/layers/texture_layer_client.h"
30 #include "cc/resources/texture_mailbox.h" 30 #include "cc/resources/texture_mailbox.h"
31 #include "platform/PlatformExport.h" 31 #include "platform/PlatformExport.h"
32 #include "platform/geometry/IntSize.h" 32 #include "platform/geometry/IntSize.h"
33 #include "platform/graphics/ImageBufferSurface.h" 33 #include "platform/graphics/ImageBufferSurface.h"
34 #include "platform/graphics/paint/PaintRecorder.h" 34 #include "platform/graphics/paint/PaintRecorder.h"
35 #include "platform/graphics/paint/PaintSurface.h"
36 #include "public/platform/WebExternalTextureLayer.h" 35 #include "public/platform/WebExternalTextureLayer.h"
37 #include "third_party/khronos/GLES2/gl2.h" 36 #include "third_party/khronos/GLES2/gl2.h"
38 #include "third_party/skia/include/core/SkRefCnt.h" 37 #include "third_party/skia/include/core/SkRefCnt.h"
39 #include "ui/gfx/color_space.h" 38 #include "ui/gfx/color_space.h"
40 #include "wtf/Allocator.h" 39 #include "wtf/Allocator.h"
41 #include "wtf/Deque.h" 40 #include "wtf/Deque.h"
42 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
43 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
44 #include "wtf/Vector.h" 43 #include "wtf/Vector.h"
45 #include "wtf/WeakPtr.h" 44 #include "wtf/WeakPtr.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // Each element in this vector represents an IOSurface backed texture that 297 // Each element in this vector represents an IOSurface backed texture that
299 // is ready to be reused. 298 // is ready to be reused.
300 // Elements in this vector can safely be purged in low memory conditions. 299 // Elements in this vector can safely be purged in low memory conditions.
301 Vector<RefPtr<ImageInfo>> m_imageInfoCache; 300 Vector<RefPtr<ImageInfo>> m_imageInfoCache;
302 #endif // USE_IOSURFACE_FOR_2D_CANVAS 301 #endif // USE_IOSURFACE_FOR_2D_CANVAS
303 }; 302 };
304 303
305 } // namespace blink 304 } // namespace blink
306 305
307 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698