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

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

Issue 353263004: cc: Remove unused variables in gl_renderer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | no next file » | 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 "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/base/scoped_ptr_deque.h" 10 #include "cc/base/scoped_ptr_deque.h"
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 VideoStreamTextureProgram 385 VideoStreamTextureProgram
386 video_stream_texture_program_[NumTexCoordPrecisions]; 386 video_stream_texture_program_[NumTexCoordPrecisions];
387 387
388 DebugBorderProgram debug_border_program_; 388 DebugBorderProgram debug_border_program_;
389 SolidColorProgram solid_color_program_; 389 SolidColorProgram solid_color_program_;
390 SolidColorProgramAA solid_color_program_aa_; 390 SolidColorProgramAA solid_color_program_aa_;
391 391
392 gpu::gles2::GLES2Interface* gl_; 392 gpu::gles2::GLES2Interface* gl_;
393 gpu::ContextSupport* context_support_; 393 gpu::ContextSupport* context_support_;
394 394
395 skia::RefPtr<GrContext> gr_context_;
396 skia::RefPtr<SkCanvas> sk_canvas_;
397
398 TextureMailboxDeleter* texture_mailbox_deleter_; 395 TextureMailboxDeleter* texture_mailbox_deleter_;
399 396
400 gfx::Rect swap_buffer_rect_; 397 gfx::Rect swap_buffer_rect_;
401 gfx::Rect scissor_rect_; 398 gfx::Rect scissor_rect_;
402 gfx::Rect viewport_; 399 gfx::Rect viewport_;
403 bool is_backbuffer_discarded_; 400 bool is_backbuffer_discarded_;
404 bool is_using_bind_uniform_; 401 bool is_using_bind_uniform_;
405 bool is_scissor_enabled_; 402 bool is_scissor_enabled_;
406 bool scissor_rect_needs_reset_; 403 bool scissor_rect_needs_reset_;
407 bool stencil_shadow_; 404 bool stencil_shadow_;
(...skipping 28 matching lines...) Expand all
436 #if DEBUG_GL_CALLS && !defined(NDEBUG) 433 #if DEBUG_GL_CALLS && !defined(NDEBUG)
437 #define GLC(context, x) \ 434 #define GLC(context, x) \
438 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) 435 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__))
439 #else 436 #else
440 #define GLC(context, x) (x) 437 #define GLC(context, x) (x)
441 #endif 438 #endif
442 439
443 } // namespace cc 440 } // namespace cc
444 441
445 #endif // CC_OUTPUT_GL_RENDERER_H_ 442 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698