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

Unified Diff: cc/output/software_renderer.cc

Issue 2674493003: Add compositor support for half-float RGBA buffers and textures (Closed)
Patch Set: Created 3 years, 11 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: cc/output/software_renderer.cc
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc
index 541738646c7b69a3b587d0e642d5d69279f6282a..ff3c6fd473fe7dc0df5bb4613ee5fe725b34b53a 100644
--- a/cc/output/software_renderer.cc
+++ b/cc/output/software_renderer.cc
@@ -65,6 +65,10 @@ bool SoftwareRenderer::CanPartialSwap() {
return true;
}
+ResourceFormat SoftwareRenderer::BackbufferFormat() const {
+ return resource_provider_->best_texture_format();
+}
+
void SoftwareRenderer::BeginDrawingFrame(DrawingFrame* frame) {
TRACE_EVENT0("cc", "SoftwareRenderer::BeginDrawingFrame");
root_canvas_ = output_device_->BeginPaint(frame->root_damage_rect);

Powered by Google App Engine
This is Rietveld 408576698