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

Unified Diff: cc/output/gl_renderer.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 | « blimp/client/feature/compositor/blimp_output_surface.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index dacc64b7c5b4ef3c8209b642d0e76016494429b6..cfa376d0ca2c835ed27321f8178d8c6cca6d36d6 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -92,7 +92,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
const gfx::Rect& rect,
std::unique_ptr<CopyOutputRequest> request);
void GetFramebufferTexture(unsigned texture_id,
- ResourceFormat texture_format,
const gfx::Rect& device_rect);
void ReleaseRenderPassTextures();
enum BoundGeometry { NO_BINDING, SHARED_BINDING, CLIPPED_BINDING };
@@ -511,6 +510,8 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
std::unique_ptr<ResourceProvider::ScopedWriteLockGL>
current_framebuffer_lock_;
+ // This is valid when current_framebuffer_lock_ is not null.
+ ResourceFormat current_framebuffer_format_;
class SyncQuery;
std::deque<std::unique_ptr<SyncQuery>> pending_sync_queries_;
« no previous file with comments | « blimp/client/feature/compositor/blimp_output_surface.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698