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

Side by Side Diff: content/common/gpu/texture_image_transport_surface.h

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ 5 #ifndef CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_
6 #define CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ 6 #define CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "content/common/gpu/gpu_command_buffer_stub.h" 10 #include "content/common/gpu/gpu_command_buffer_stub.h"
11 #include "content/common/gpu/image_transport_surface.h" 11 #include "content/common/gpu/image_transport_surface.h"
12 #include "gpu/command_buffer/service/texture_manager.h" 12 #include "gpu/command_buffer/service/texture_manager.h"
13 #include "ui/gfx/gl/gl_surface.h" 13 #include "ui/gl/gl_surface.h"
14 14
15 class GpuChannelManager; 15 class GpuChannelManager;
16 16
17 class TextureImageTransportSurface : 17 class TextureImageTransportSurface :
18 public ImageTransportSurface, 18 public ImageTransportSurface,
19 public GpuCommandBufferStub::DestructionObserver, 19 public GpuCommandBufferStub::DestructionObserver,
20 public gfx::GLSurface { 20 public gfx::GLSurface {
21 public: 21 public:
22 TextureImageTransportSurface(GpuChannelManager* manager, 22 TextureImageTransportSurface(GpuChannelManager* manager,
23 GpuCommandBufferStub* stub, 23 GpuCommandBufferStub* stub,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Whether or not the command buffer stub has been destroyed. 93 // Whether or not the command buffer stub has been destroyed.
94 bool stub_destroyed_; 94 bool stub_destroyed_;
95 95
96 scoped_ptr<ImageTransportHelper> helper_; 96 scoped_ptr<ImageTransportHelper> helper_;
97 GpuCommandBufferStub* parent_stub_; 97 GpuCommandBufferStub* parent_stub_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface); 99 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface);
100 }; 100 };
101 101
102 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ 102 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698