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

Unified Diff: gpu/command_buffer/service/feature_info.h

Issue 2420813002: optimize precision for conversion from srgb to linear (Closed)
Patch Set: Addressed to Zhenyao's feedback Created 4 years, 2 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: gpu/command_buffer/service/feature_info.h
diff --git a/gpu/command_buffer/service/feature_info.h b/gpu/command_buffer/service/feature_info.h
index 9038ca8222977b6f9b223879ea10a7a0eb264368..8bf0d8fda95fd6006bcbede2746c4723fb33500f 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -161,6 +161,10 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
void EnableOESTextureFloatLinear();
void EnableOESTextureHalfFloatLinear();
+ bool ext_color_buffer_float_available() const {
+ return ext_color_buffer_float_available_;
+ }
+
private:
friend class base::RefCounted<FeatureInfo>;
friend class BufferManagerClientSideArraysTest;

Powered by Google App Engine
This is Rietveld 408576698