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

Unified Diff: blimp/client/feature/compositor/blimp_context_provider.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: blimp/client/feature/compositor/blimp_context_provider.h
diff --git a/blimp/client/feature/compositor/blimp_context_provider.h b/blimp/client/feature/compositor/blimp_context_provider.h
index dbcafcd62c4763397af3a9d0ca9fafcd1a493834..8424fc75446a5c138e056fce270e344171565d15 100644
--- a/blimp/client/feature/compositor/blimp_context_provider.h
+++ b/blimp/client/feature/compositor/blimp_context_provider.h
@@ -43,6 +43,10 @@ class BlimpContextProvider : public cc::ContextProvider {
void SetLostContextCallback(
const LostContextCallback& lost_context_callback) override;
+ // Gives the GL internal format that should be used for calling CopyTexImage2D
+ // on the default framebuffer.
+ uint32_t GetCopyTextureInternalFormat();
+
protected:
BlimpContextProvider(
gfx::AcceleratedWidget widget,
« no previous file with comments | « android_webview/browser/parent_output_surface.cc ('k') | blimp/client/feature/compositor/blimp_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698