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

Side by Side Diff: cc/output/gl_renderer.h

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 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
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 CC_OUTPUT_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 bool success)> 237 bool success)>
238 AsyncGetFramebufferPixelsCleanupCallback; 238 AsyncGetFramebufferPixelsCleanupCallback;
239 void FinishedReadback(unsigned source_buffer, 239 void FinishedReadback(unsigned source_buffer,
240 unsigned query, 240 unsigned query,
241 const gfx::Size& size); 241 const gfx::Size& size);
242 242
243 void ReinitializeGLState(); 243 void ReinitializeGLState();
244 void RestoreGLState(); 244 void RestoreGLState();
245 245
246 void ScheduleCALayers(); 246 void ScheduleCALayers();
247 void ScheduleDCLayers();
247 void ScheduleOverlays(); 248 void ScheduleOverlays();
248 249
249 // Copies the contents of the render pass draw quad, including filter effects, 250 // Copies the contents of the render pass draw quad, including filter effects,
250 // to an overlay resource, returned in |resource|. The resource is allocated 251 // to an overlay resource, returned in |resource|. The resource is allocated
251 // from |overlay_resource_pool_|. 252 // from |overlay_resource_pool_|.
252 // The resulting Resource may be larger than the original quad. The new size 253 // The resulting Resource may be larger than the original quad. The new size
253 // and position is placed in |new_bounds|. 254 // and position is placed in |new_bounds|.
254 void CopyRenderPassDrawQuadToOverlayResource( 255 void CopyRenderPassDrawQuadToOverlayResource(
255 const CALayerOverlay* ca_layer_overlay, 256 const CALayerOverlay* ca_layer_overlay,
256 Resource** resource, 257 Resource** resource,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 gfx::Size offscreen_stencil_renderbuffer_size_; 362 gfx::Size offscreen_stencil_renderbuffer_size_;
362 363
363 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_; 364 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_;
364 365
365 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 366 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
366 }; 367 };
367 368
368 } // namespace cc 369 } // namespace cc
369 370
370 #endif // CC_OUTPUT_GL_RENDERER_H_ 371 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698