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

Unified Diff: cc/output/gl_renderer.cc

Issue 2775723002: Enable RGBA_4444 in GpuRasterBufferProvider (Closed)
Patch Set: comment Created 3 years, 9 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 | cc/raster/gpu_raster_buffer_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index d3d4851682aee72852ed50da25067c24651b6f58..43c3b25e0e5a193d02ad786571ef6272f453de70 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -426,7 +426,7 @@ bool GLRenderer::CanPartialSwap() {
ResourceFormat GLRenderer::BackbufferFormat() const {
if (current_frame()->current_render_pass->color_space.IsHDR() &&
- resource_provider_->IsResourceFormatSupported(RGBA_F16)) {
+ resource_provider_->IsRenderBufferFormatSupported(RGBA_F16)) {
return RGBA_F16;
}
return resource_provider_->best_texture_format();
« no previous file with comments | « no previous file | cc/raster/gpu_raster_buffer_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698