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

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

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MailboxTextureHolder_h 5 #ifndef MailboxTextureHolder_h
6 #define MailboxTextureHolder_h 6 #define MailboxTextureHolder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/TextureHolder.h" 9 #include "platform/graphics/TextureHolder.h"
10 #include "platform/graphics/WebGraphicsContext3DProviderWrapper.h" 10 #include "platform/graphics/WebGraphicsContext3DProviderWrapper.h"
11 #include "platform/wtf/WeakPtr.h"
11 #include "third_party/khronos/GLES2/gl2.h" 12 #include "third_party/khronos/GLES2/gl2.h"
12 #include "wtf/WeakPtr.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class PLATFORM_EXPORT MailboxTextureHolder final : public TextureHolder { 16 class PLATFORM_EXPORT MailboxTextureHolder final : public TextureHolder {
17 public: 17 public:
18 ~MailboxTextureHolder() override; 18 ~MailboxTextureHolder() override;
19 19
20 bool isSkiaTextureHolder() final { return false; } 20 bool isSkiaTextureHolder() final { return false; }
21 bool isMailboxTextureHolder() final { return true; } 21 bool isMailboxTextureHolder() final { return true; }
22 unsigned sharedContextId() final; 22 unsigned sharedContextId() final;
(...skipping 25 matching lines...) Expand all
48 gpu::SyncToken m_syncToken; 48 gpu::SyncToken m_syncToken;
49 unsigned m_textureId; 49 unsigned m_textureId;
50 WeakPtr<WebGraphicsContext3DProviderWrapper> m_contextProvider; 50 WeakPtr<WebGraphicsContext3DProviderWrapper> m_contextProvider;
51 IntSize m_size; 51 IntSize m_size;
52 bool m_isConvertedFromSkiaTexture; 52 bool m_isConvertedFromSkiaTexture;
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 #endif // MailboxTextureHolder_h 57 #endif // MailboxTextureHolder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698