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

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

Issue 2117183006: gpu: Clarify sized texture format is available only if ES3 context or immutable texture is supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix oes-texture-float.html 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/texture_manager.h
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index f2097c9b7f1147126e862f773772ba1555a6f48d..6781483049a2fcfa50576a4cfd6324be4b2ac353 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -500,11 +500,13 @@ class GPU_EXPORT Texture final : public TextureBase {
GLenum type);
static bool ColorRenderable(const FeatureInfo* feature_info,
- GLenum internal_format);
+ GLenum internal_format,
+ bool immutable);
static bool TextureFilterable(const FeatureInfo* feature_info,
GLenum internal_format,
- GLenum type);
+ GLenum type,
+ bool immutable);
// Sets the Texture's target
// Parameters:

Powered by Google App Engine
This is Rietveld 408576698