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

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

Issue 2479513002: Reland of Extend CopyTextureCHROMIUM to more ES 3.0 texture formats. (Closed)
Patch Set: fix-opengl-lessthan-32 Created 4 years 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 b0c1aec0777a0539e5e3dd6f3c54b2e03c92f37a..8cf2edb1548e709164066b89b8ce6f55322dab66 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -325,6 +325,10 @@ class GPU_EXPORT Texture final : public TextureBase {
bool EmulatingRGB();
+ static bool ColorRenderable(const FeatureInfo* feature_info,
+ GLenum internal_format,
+ bool immutable);
+
private:
friend class MailboxManagerImpl;
friend class MailboxManagerSync;
@@ -502,10 +506,6 @@ class GPU_EXPORT Texture final : public TextureBase {
GLenum format,
GLenum type);
- static bool ColorRenderable(const FeatureInfo* feature_info,
- GLenum internal_format,
- bool immutable);
-
static bool TextureFilterable(const FeatureInfo* feature_info,
GLenum internal_format,
GLenum type,
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698