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

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: rebase and minor fix for premultiply and un-premultiply alpha Created 4 years, 1 month 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 11c8b6305050b6bff3fb6abacfa2c52b5bddf6e5..4151e6ef3a2923a3ddbf6a47887e7555a75e20b0 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -322,6 +322,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;
@@ -499,10 +503,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,

Powered by Google App Engine
This is Rietveld 408576698