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

Side by Side Diff: android_webview/browser/parent_output_surface.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 | « no previous file | android_webview/browser/parent_output_surface.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_
6 #define ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/output/output_surface.h" 9 #include "cc/output/output_surface.h"
10 10
(...skipping 18 matching lines...) Expand all
29 bool has_alpha, 29 bool has_alpha,
30 bool use_stencil) override; 30 bool use_stencil) override;
31 void SwapBuffers(cc::OutputSurfaceFrame frame) override; 31 void SwapBuffers(cc::OutputSurfaceFrame frame) override;
32 bool HasExternalStencilTest() const override; 32 bool HasExternalStencilTest() const override;
33 void ApplyExternalStencil() override; 33 void ApplyExternalStencil() override;
34 uint32_t GetFramebufferCopyTextureFormat() override; 34 uint32_t GetFramebufferCopyTextureFormat() override;
35 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override; 35 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
36 bool IsDisplayedAsOverlayPlane() const override; 36 bool IsDisplayedAsOverlayPlane() const override;
37 unsigned GetOverlayTextureId() const override; 37 unsigned GetOverlayTextureId() const override;
38 bool SurfaceIsSuspendForRecycle() const override; 38 bool SurfaceIsSuspendForRecycle() const override;
39 bool CanPartialDraw(const gfx::Rect& damage) override;
39 40
40 private: 41 private:
41 DISALLOW_COPY_AND_ASSIGN(ParentOutputSurface); 42 DISALLOW_COPY_AND_ASSIGN(ParentOutputSurface);
42 }; 43 };
43 44
44 } // namespace android_webview 45 } // namespace android_webview
45 46
46 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ 47 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/parent_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698