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

Side by Side Diff: cc/video_layer_impl.h

Issue 11150024: cc: Remove wtf hashmap use from resource provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/resource_provider_unittest.cc ('k') | 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 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CCVideoLayerImpl_h 5 #ifndef CCVideoLayerImpl_h
6 #define CCVideoLayerImpl_h 6 #define CCVideoLayerImpl_h
7 7
8 #include "CCLayerImpl.h" 8 #include "CCLayerImpl.h"
9 #include "GraphicsContext3D.h" 9 #include "GraphicsContext3D.h"
10 #include "IntSize.h" 10 #include "IntSize.h"
11 #include <public/WebTransformationMatrix.h> 11 #include <public/WebTransformationMatrix.h>
12 #include <public/WebVideoFrameProvider.h> 12 #include <public/WebVideoFrameProvider.h>
13 #include <wtf/ThreadingPrimitives.h>
enne (OOO) 2012/10/15 21:08:46 Sad to add this in, but the resource provider was
jamesr 2012/10/15 21:11:44 via HashMap? Ouch, thought I had removed all of th
13 14
14 namespace WebKit { 15 namespace WebKit {
15 class WebVideoFrame; 16 class WebVideoFrame;
16 } 17 }
17 18
18 namespace cc { 19 namespace cc {
19 20
20 class CCLayerTreeHostImpl; 21 class CCLayerTreeHostImpl;
21 class CCVideoLayerImpl; 22 class CCVideoLayerImpl;
22 23
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 GC3Denum m_format; 81 GC3Denum m_format;
81 CCResourceProvider::ResourceId m_externalTextureResource; 82 CCResourceProvider::ResourceId m_externalTextureResource;
82 83
83 // Each index in this array corresponds to a plane in WebKit::WebVideoFrame. 84 // Each index in this array corresponds to a plane in WebKit::WebVideoFrame.
84 FramePlane m_framePlanes[WebKit::WebVideoFrame::maxPlanes]; 85 FramePlane m_framePlanes[WebKit::WebVideoFrame::maxPlanes];
85 }; 86 };
86 87
87 } 88 }
88 89
89 #endif // CCVideoLayerImpl_h 90 #endif // CCVideoLayerImpl_h
OLDNEW
« no previous file with comments | « cc/resource_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698