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

Unified Diff: android_webview/browser/parent_output_surface.h

Issue 2089753003: cc: Use the correct internal format for glCopyTexImage2D calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copytextureformat: comments Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/parent_output_surface.h
diff --git a/android_webview/browser/parent_output_surface.h b/android_webview/browser/parent_output_surface.h
index f69598e17ae41daba65c230b8a565b23ab9f9f3e..2b125ed0698979bdf60c1aab9a402b0dca079233 100644
--- a/android_webview/browser/parent_output_surface.h
+++ b/android_webview/browser/parent_output_surface.h
@@ -10,11 +10,12 @@
#include "cc/output/output_surface.h"
namespace android_webview {
+class AwRenderThreadContextProvider;
class ParentOutputSurface : NON_EXPORTED_BASE(public cc::OutputSurface) {
public:
explicit ParentOutputSurface(
- scoped_refptr<cc::ContextProvider> context_provider);
+ scoped_refptr<AwRenderThreadContextProvider> context_provider);
~ParentOutputSurface() override;
// OutputSurface overrides.
@@ -24,6 +25,7 @@ class ParentOutputSurface : NON_EXPORTED_BASE(public cc::OutputSurface) {
bool has_alpha) override;
void SwapBuffers(cc::CompositorFrame* frame) override;
void ApplyExternalStencil() override;
+ uint32_t GetFramebufferCopyTextureFormat() override;
void SetGLState(const ScopedAppGLStateRestore& gl_state);
« no previous file with comments | « android_webview/browser/aw_render_thread_context_provider.cc ('k') | android_webview/browser/parent_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698