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

Side by Side Diff: content/renderer/pepper/ppb_graphics_3d_impl.h

Issue 2632903002: gpu: Pepper3DImageChromium support on ChromeOS. (Closed)
Patch Set: remove ifdef and add todo Created 3 years, 11 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 (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_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // True if context is bound to instance. 109 // True if context is bound to instance.
110 bool bound_to_instance_; 110 bool bound_to_instance_;
111 // True when waiting for compositor to commit our backing texture. 111 // True when waiting for compositor to commit our backing texture.
112 bool commit_pending_; 112 bool commit_pending_;
113 113
114 #if DCHECK_IS_ON() 114 #if DCHECK_IS_ON()
115 bool lost_context_ = false; 115 bool lost_context_ = false;
116 #endif 116 #endif
117 117
118 bool has_alpha_; 118 bool has_alpha_;
119 bool use_image_chromium_; 119 const bool use_image_chromium_;
120 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_; 120 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_;
121 121
122 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_; 122 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl); 124 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
125 }; 125 };
126 126
127 } // namespace content 127 } // namespace content
128 128
129 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 129 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/content_features.cc ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698