| 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 2485146677adff6954f45c6546ebc696ad37ed64..7fa0697556bedc6106c78d5c0ef79aff5940c1f4 100644
|
| --- a/gpu/command_buffer/service/texture_manager.h
|
| +++ b/gpu/command_buffer/service/texture_manager.h
|
| @@ -269,6 +269,8 @@ class GPU_EXPORT Texture {
|
|
|
| void ApplyFormatWorkarounds(FeatureInfo* feature_info);
|
|
|
| + bool EmulatingRGB();
|
| +
|
| private:
|
| friend class MailboxManagerImpl;
|
| friend class MailboxManagerSync;
|
| @@ -488,6 +490,10 @@ class GPU_EXPORT Texture {
|
| // texture.
|
| void UpdateHasImages();
|
|
|
| + // Updates the flag that indicates whether this texture requires RGB
|
| + // emulation.
|
| + void UpdateEmulatingRGB();
|
| +
|
| // Increment the framebuffer state change count in all the managers
|
| // referencing this texture.
|
| void IncAllFramebufferStateChangeCount();
|
| @@ -592,6 +598,8 @@ class GPU_EXPORT Texture {
|
|
|
| const CompatibilitySwizzle* compatibility_swizzle_;
|
|
|
| + bool emulating_rgb_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Texture);
|
| };
|
|
|
|
|