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

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

Issue 2776923003: cc: Partial draw without partial swap support. (Closed)
Patch Set: avoid BufferQueue::RecreateBuffer changes 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
« 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 std::map<gfx::ColorSpace, 307 std::map<gfx::ColorSpace,
308 std::map<gfx::ColorSpace, std::unique_ptr<gfx::ColorTransform>>> 308 std::map<gfx::ColorSpace, std::unique_ptr<gfx::ColorTransform>>>
309 color_transform_cache_; 309 color_transform_cache_;
310 310
311 gpu::gles2::GLES2Interface* gl_; 311 gpu::gles2::GLES2Interface* gl_;
312 gpu::ContextSupport* context_support_; 312 gpu::ContextSupport* context_support_;
313 std::unique_ptr<ContextCacheController::ScopedVisibility> context_visibility_; 313 std::unique_ptr<ContextCacheController::ScopedVisibility> context_visibility_;
314 314
315 TextureMailboxDeleter* texture_mailbox_deleter_; 315 TextureMailboxDeleter* texture_mailbox_deleter_;
316 316
317 gfx::Rect swap_buffer_rect_; 317 gfx::Rect damage_rect_;
318 std::vector<gfx::Rect> swap_content_bounds_; 318 std::vector<gfx::Rect> swap_content_bounds_;
319 gfx::Rect scissor_rect_; 319 gfx::Rect scissor_rect_;
320 bool is_scissor_enabled_ = false; 320 bool is_scissor_enabled_ = false;
321 bool stencil_shadow_ = false; 321 bool stencil_shadow_ = false;
322 bool blend_shadow_ = false; 322 bool blend_shadow_ = false;
323 const Program* current_program_ = nullptr; 323 const Program* current_program_ = nullptr;
324 TexturedQuadDrawCache draw_cache_; 324 TexturedQuadDrawCache draw_cache_;
325 int highp_threshold_min_ = 0; 325 int highp_threshold_min_ = 0;
326 int highp_threshold_cache_ = 0; 326 int highp_threshold_cache_ = 0;
327 327
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 gfx::Size offscreen_stencil_renderbuffer_size_; 366 gfx::Size offscreen_stencil_renderbuffer_size_;
367 367
368 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_; 368 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_;
369 369
370 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 370 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
371 }; 371 };
372 372
373 } // namespace cc 373 } // namespace cc
374 374
375 #endif // CC_OUTPUT_GL_RENDERER_H_ 375 #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