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

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: Support glCopyTex[Sub]Image to LUMA formats on the core profile. Created 4 years, 6 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 | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6eca1fb8cf91468b3ab60c927f12bfc8b4b629f9..50d55956649c47e542c2f2e8726e3a51e214efa5 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -1076,8 +1076,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;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698