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

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

Issue 2465093002: cc: Add OutputSurface state snapshots.
Patch Set: rebase 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 | « 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 TextureMailboxDeleter* texture_mailbox_deleter, 54 TextureMailboxDeleter* texture_mailbox_deleter,
55 int highp_threshold_min); 55 int highp_threshold_min);
56 ~GLRenderer() override; 56 ~GLRenderer() override;
57 57
58 void SwapBuffers(std::vector<ui::LatencyInfo> latency_info) override; 58 void SwapBuffers(std::vector<ui::LatencyInfo> latency_info) override;
59 void SwapBuffersComplete() override; 59 void SwapBuffersComplete() override;
60 60
61 void DidReceiveTextureInUseResponses( 61 void DidReceiveTextureInUseResponses(
62 const gpu::TextureInUseResponses& responses) override; 62 const gpu::TextureInUseResponses& responses) override;
63 63
64 void ReadbackSwappedOverlayTextures(
65 std::vector<SkBitmap>* bitmaps,
66 const base::Callback<void(bool)>& callback) override;
67
64 virtual bool IsContextLost(); 68 virtual bool IsContextLost();
65 69
66 protected: 70 protected:
67 void DidChangeVisibility() override; 71 void DidChangeVisibility() override;
68 72
69 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; } 73 const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; }
70 const StaticGeometryBinding* SharedGeometry() const { 74 const StaticGeometryBinding* SharedGeometry() const {
71 return shared_geometry_.get(); 75 return shared_geometry_.get();
72 } 76 }
73 77
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 gfx::Size offscreen_stencil_renderbuffer_size_; 374 gfx::Size offscreen_stencil_renderbuffer_size_;
371 375
372 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_; 376 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_;
373 377
374 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 378 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
375 }; 379 };
376 380
377 } // namespace cc 381 } // namespace cc
378 382
379 #endif // CC_OUTPUT_GL_RENDERER_H_ 383 #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