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

Unified Diff: android_webview/browser/aw_render_thread_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
« no previous file with comments | « no previous file | android_webview/browser/aw_render_thread_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_render_thread_context_provider.h
diff --git a/android_webview/browser/aw_render_thread_context_provider.h b/android_webview/browser/aw_render_thread_context_provider.h
index ef0fecf13542cce9d1b6b0e1573f2a3d0b29774f..e2e45fbdba9eb385f96d038eba27597f83cd5825 100644
--- a/android_webview/browser/aw_render_thread_context_provider.h
+++ b/android_webview/browser/aw_render_thread_context_provider.h
@@ -32,6 +32,10 @@ class AwRenderThreadContextProvider : public cc::ContextProvider {
scoped_refptr<gl::GLSurface> surface,
scoped_refptr<gpu::InProcessCommandBuffer::Service> service);
+ // Gives the GL internal format that should be used for calling CopyTexImage2D
+ // on the default framebuffer.
+ uint32_t GetCopyTextureInternalFormat();
+
private:
AwRenderThreadContextProvider(
scoped_refptr<gl::GLSurface> surface,
« no previous file with comments | « no previous file | android_webview/browser/aw_render_thread_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698