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

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

Issue 284703002: cc: Removed deadcode GlRenderer::InitializeGrContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 GLRenderer(RendererClient* client, 83 GLRenderer(RendererClient* client,
84 const LayerTreeSettings* settings, 84 const LayerTreeSettings* settings,
85 OutputSurface* output_surface, 85 OutputSurface* output_surface,
86 ResourceProvider* resource_provider, 86 ResourceProvider* resource_provider,
87 TextureMailboxDeleter* texture_mailbox_deleter, 87 TextureMailboxDeleter* texture_mailbox_deleter,
88 int highp_threshold_min); 88 int highp_threshold_min);
89 89
90 virtual void DidChangeVisibility() OVERRIDE; 90 virtual void DidChangeVisibility() OVERRIDE;
91 91
92 bool IsBackbufferDiscarded() const { return is_backbuffer_discarded_; } 92 bool IsBackbufferDiscarded() const { return is_backbuffer_discarded_; }
93 void InitializeGrContext();
94 93
95 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; } 94 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; }
96 const GeometryBinding* SharedGeometry() const { 95 const GeometryBinding* SharedGeometry() const {
97 return shared_geometry_.get(); 96 return shared_geometry_.get();
98 } 97 }
99 98
100 void GetFramebufferPixelsAsync(const gfx::Rect& rect, 99 void GetFramebufferPixelsAsync(const gfx::Rect& rect,
101 scoped_ptr<CopyOutputRequest> request); 100 scoped_ptr<CopyOutputRequest> request);
102 void GetFramebufferTexture(unsigned texture_id, 101 void GetFramebufferTexture(unsigned texture_id,
103 ResourceFormat texture_format, 102 ResourceFormat texture_format,
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 #if DEBUG_GL_CALLS && !defined(NDEBUG) 454 #if DEBUG_GL_CALLS && !defined(NDEBUG)
456 #define GLC(context, x) \ 455 #define GLC(context, x) \
457 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__)) 456 (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__))
458 #else 457 #else
459 #define GLC(context, x) (x) 458 #define GLC(context, x) (x)
460 #endif 459 #endif
461 460
462 } // namespace cc 461 } // namespace cc
463 462
464 #endif // CC_OUTPUT_GL_RENDERER_H_ 463 #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