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

Unified Diff: components/display_compositor/buffer_queue.h

Issue 2829543003: gpu: Empty swaps for surfaceless output surfaces. (Closed)
Patch Set: new workaround 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | components/display_compositor/buffer_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/buffer_queue.h
diff --git a/components/display_compositor/buffer_queue.h b/components/display_compositor/buffer_queue.h
index 7ac212e1be72b2dbcfbc20828e0d22f2c5834c56..c6bedbb1757ff8cc06f73889f3d34d3acbd087f9 100644
--- a/components/display_compositor/buffer_queue.h
+++ b/components/display_compositor/buffer_queue.h
@@ -60,12 +60,9 @@ class DISPLAY_COMPOSITOR_EXPORT BufferQueue {
float scale_factor,
const gfx::ColorSpace& color_space,
bool use_stencil);
-
void RecreateBuffers();
+ uint32_t GetCurrentTextureId() const;
- uint32_t current_texture_id() const {
- return current_surface_ ? current_surface_->texture : 0;
- }
uint32_t fbo() const { return fbo_; }
uint32_t internal_format() const { return internal_format_; }
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | components/display_compositor/buffer_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698