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

Side by Side Diff: gpu/command_buffer/service/texture_manager.h

Issue 1750123002: Upgrade Tex{Sub}Image{2|3}D to handle ES3 unpack parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attemp to fix random crashes on windows Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 friend class Texture; 1045 friend class Texture;
1046 friend class TextureRef; 1046 friend class TextureRef;
1047 1047
1048 // Helper for Initialize(). 1048 // Helper for Initialize().
1049 scoped_refptr<TextureRef> CreateDefaultAndBlackTextures( 1049 scoped_refptr<TextureRef> CreateDefaultAndBlackTextures(
1050 GLenum target, 1050 GLenum target,
1051 GLuint* black_texture); 1051 GLuint* black_texture);
1052 1052
1053 void DoTexImage( 1053 void DoTexImage(
1054 DecoderTextureState* texture_state, 1054 DecoderTextureState* texture_state,
1055 ErrorState* error_state, 1055 ContextState* state,
1056 DecoderFramebufferState* framebuffer_state, 1056 DecoderFramebufferState* framebuffer_state,
1057 const char* function_name, 1057 const char* function_name,
1058 TextureRef* texture_ref, 1058 TextureRef* texture_ref,
1059 const DoTexImageArguments& args); 1059 const DoTexImageArguments& args);
1060 1060
1061 void StartTracking(TextureRef* texture); 1061 void StartTracking(TextureRef* texture);
1062 void StopTracking(TextureRef* texture); 1062 void StopTracking(TextureRef* texture);
1063 1063
1064 void UpdateSafeToRenderFrom(int delta); 1064 void UpdateSafeToRenderFrom(int delta);
1065 void UpdateUnclearedMips(int delta); 1065 void UpdateUnclearedMips(int delta);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 private: 1128 private:
1129 DecoderTextureState* texture_state_; 1129 DecoderTextureState* texture_state_;
1130 base::TimeTicks begin_time_; 1130 base::TimeTicks begin_time_;
1131 DISALLOW_COPY_AND_ASSIGN(ScopedTextureUploadTimer); 1131 DISALLOW_COPY_AND_ASSIGN(ScopedTextureUploadTimer);
1132 }; 1132 };
1133 1133
1134 } // namespace gles2 1134 } // namespace gles2
1135 } // namespace gpu 1135 } // namespace gpu
1136 1136
1137 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_ 1137 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_
OLDNEW
« 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