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

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

Issue 2420813002: optimize precision for conversion from srgb to linear (Closed)
Patch Set: rebase code 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_srgb_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..28e3f19b074f852b05eeefa2fe44ec954f299912 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -161,6 +161,14 @@ 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_;
+ }
+
+ bool oes_texture_float_linear_available() const {
+ return oes_texture_float_linear_available_;
+ }
+
private:
friend class base::RefCounted<FeatureInfo>;
friend class BufferManagerClientSideArraysTest;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_srgb_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698