| 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 b6a446e5dbed2678e887c43f40727c9df0230545..f0d3185eceb7079141660441c69b4b8d83c754e7 100644
|
| --- a/gpu/command_buffer/service/texture_manager.h
|
| +++ b/gpu/command_buffer/service/texture_manager.h
|
| @@ -1120,6 +1120,17 @@ class GPU_EXPORT TextureManager : public base::trace_event::MemoryDumpProvider {
|
| static GLenum AdjustTexFormat(const gles2::FeatureInfo* feature_info,
|
| GLenum format);
|
|
|
| + void WorkaroundCopyTexImageCubeMap(
|
| + DecoderTextureState* texture_state,
|
| + ContextState* state,
|
| + DecoderFramebufferState* framebuffer_state,
|
| + TextureRef* texture_ref,
|
| + const char* function_name,
|
| + const DoTexImageArguments& args) {
|
| + DoCubeMapWorkaround(texture_state, state, framebuffer_state,
|
| + texture_ref, function_name, args);
|
| + }
|
| +
|
| private:
|
| friend class Texture;
|
| friend class TextureRef;
|
| @@ -1157,6 +1168,14 @@ class GPU_EXPORT TextureManager : public base::trace_event::MemoryDumpProvider {
|
| const DoTexSubImageArguments& args,
|
| const PixelStoreParams& unpack_params);
|
|
|
| + void DoCubeMapWorkaround(
|
| + DecoderTextureState* texture_state,
|
| + ContextState* state,
|
| + DecoderFramebufferState* framebuffer_state,
|
| + TextureRef* texture_ref,
|
| + const char* function_name,
|
| + const DoTexImageArguments& args);
|
| +
|
| void StartTracking(TextureRef* texture);
|
| void StopTracking(TextureRef* texture);
|
|
|
|
|