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

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

Issue 10916355: Use PBuffer to make TextureImageTransportSurface current. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/common/gpu/gpu_command_buffer_stub.h" 10 #include "content/common/gpu/gpu_command_buffer_stub.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool backbuffer_suggested_allocation_; 103 bool backbuffer_suggested_allocation_;
104 bool frontbuffer_suggested_allocation_; 104 bool frontbuffer_suggested_allocation_;
105 105
106 bool frontbuffer_is_protected_; 106 bool frontbuffer_is_protected_;
107 uint32 protection_state_id_; 107 uint32 protection_state_id_;
108 108
109 scoped_ptr<ImageTransportHelper> helper_; 109 scoped_ptr<ImageTransportHelper> helper_;
110 gfx::GLSurfaceHandle handle_; 110 gfx::GLSurfaceHandle handle_;
111 GpuCommandBufferStub* parent_stub_; 111 GpuCommandBufferStub* parent_stub_;
112 112
113 // The offscreeb surface used to make the context current. However note that
114 // the actual rendering is always redirected to an FBO.
115 scoped_refptr<GLSurface> surface_;
116
113 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface); 117 DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface);
114 }; 118 };
115 119
116 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_ 120 #endif // CONTENT_COMMON_GPU_TEXTURE_IMAGE_TRANSPORT_SURFACE_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698