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

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

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)
Patch Set: remove double 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
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | cc/output/gl_renderer.cc » ('J')
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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // The method FlippedFramebuffer determines whether the framebuffer associated 357 // The method FlippedFramebuffer determines whether the framebuffer associated
358 // with a DrawingFrame is flipped. It makes the assumption that the 358 // with a DrawingFrame is flipped. It makes the assumption that the
359 // DrawingFrame is being used as part of a render pass. If a DrawingFrame is 359 // DrawingFrame is being used as part of a render pass. If a DrawingFrame is
360 // not being used as part of a render pass, setting it here forces 360 // not being used as part of a render pass, setting it here forces
361 // FlippedFramebuffer to return |true|. 361 // FlippedFramebuffer to return |true|.
362 bool force_drawing_frame_framebuffer_unflipped_ = false; 362 bool force_drawing_frame_framebuffer_unflipped_ = false;
363 363
364 BoundGeometry bound_geometry_; 364 BoundGeometry bound_geometry_;
365 ColorLUTCache color_lut_cache_; 365 ColorLUTCache color_lut_cache_;
366 366
367 bool use_occlusion_query_;
367 unsigned offscreen_stencil_renderbuffer_id_ = 0; 368 unsigned offscreen_stencil_renderbuffer_id_ = 0;
368 gfx::Size offscreen_stencil_renderbuffer_size_; 369 gfx::Size offscreen_stencil_renderbuffer_size_;
369 370
370 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_; 371 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_;
371 372
372 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 373 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
373 }; 374 };
374 375
375 } // namespace cc 376 } // namespace cc
376 377
377 #endif // CC_OUTPUT_GL_RENDERER_H_ 378 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | cc/output/gl_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698