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

Side by Side Diff: cc/video_layer_impl.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review comments and fix all cc_unittests 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
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 "IntSize.h" 8 #include "IntSize.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "base/threading/thread_checker.h"
danakj 2012/10/25 05:06:06 unused header?
10 #include "cc/layer_impl.h" 11 #include "cc/layer_impl.h"
11 #include "third_party/khronos/GLES2/gl2.h" 12 #include "third_party/khronos/GLES2/gl2.h"
12 #include <public/WebTransformationMatrix.h> 13 #include <public/WebTransformationMatrix.h>
13 #include <public/WebVideoFrameProvider.h> 14 #include <public/WebVideoFrameProvider.h>
14 #include <wtf/ThreadingPrimitives.h> 15 #include <wtf/ThreadingPrimitives.h>
15 16
16 namespace WebKit { 17 namespace WebKit {
17 class WebVideoFrame; 18 class WebVideoFrame;
18 } 19 }
19 20
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 GLenum m_format; 81 GLenum m_format;
81 ResourceProvider::ResourceId m_externalTextureResource; 82 ResourceProvider::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

Powered by Google App Engine
This is Rietveld 408576698