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

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

Issue 1830453002: WebGL: GL_RGB emulation for IOSurface backed textures. [For reference only] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile error. 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 // Initialize TEXTURE_MAX_ANISOTROPY to 1 if we haven't done so yet. 263 // Initialize TEXTURE_MAX_ANISOTROPY to 1 if we haven't done so yet.
264 void InitTextureMaxAnisotropyIfNeeded(GLenum target); 264 void InitTextureMaxAnisotropyIfNeeded(GLenum target);
265 265
266 void DumpLevelMemory(base::trace_event::ProcessMemoryDump* pmd, 266 void DumpLevelMemory(base::trace_event::ProcessMemoryDump* pmd,
267 uint64_t client_tracing_id, 267 uint64_t client_tracing_id,
268 const std::string& dump_name) const; 268 const std::string& dump_name) const;
269 269
270 void ApplyFormatWorkarounds(FeatureInfo* feature_info); 270 void ApplyFormatWorkarounds(FeatureInfo* feature_info);
271 271
272 bool EmulatingRGB();
273
272 private: 274 private:
273 friend class MailboxManagerImpl; 275 friend class MailboxManagerImpl;
274 friend class MailboxManagerSync; 276 friend class MailboxManagerSync;
275 friend class MailboxManagerTest; 277 friend class MailboxManagerTest;
276 friend class TextureDefinition; 278 friend class TextureDefinition;
277 friend class TextureManager; 279 friend class TextureManager;
278 friend class TextureRef; 280 friend class TextureRef;
279 friend class TextureTestHelper; 281 friend class TextureTestHelper;
280 282
281 ~Texture(); 283 ~Texture();
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 private: 1140 private:
1139 DecoderTextureState* texture_state_; 1141 DecoderTextureState* texture_state_;
1140 base::TimeTicks begin_time_; 1142 base::TimeTicks begin_time_;
1141 DISALLOW_COPY_AND_ASSIGN(ScopedTextureUploadTimer); 1143 DISALLOW_COPY_AND_ASSIGN(ScopedTextureUploadTimer);
1142 }; 1144 };
1143 1145
1144 } // namespace gles2 1146 } // namespace gles2
1145 } // namespace gpu 1147 } // namespace gpu
1146 1148
1147 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_ 1149 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_MANAGER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/texture_definition.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698