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

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

Issue 2027703003: Support glCopyTex[Sub]Image to LUMA formats on the core profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 5d1a518236207dd29326431762976fca8e4101a4..57f996ad7835a729741b72b4904bbb999fadfd5a 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -1064,8 +1064,10 @@ class GPU_EXPORT TextureManager : public base::trace_event::MemoryDumpProvider {
uint32_t GetServiceIdGeneration() const;
void IncrementServiceIdGeneration();
- GLenum AdjustTexInternalFormat(GLenum format) const;
- GLenum AdjustTexFormat(GLenum format) const;
+ static GLenum AdjustTexInternalFormat(const gles2::FeatureInfo* feature_info,
+ GLenum format);
+ static GLenum AdjustTexFormat(const gles2::FeatureInfo* feature_info,
+ GLenum format);
private:
friend class Texture;

Powered by Google App Engine
This is Rietveld 408576698