Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
index b9a026988adbb66172a02271a0ebb0a4ba8d9d22..f4d457e87dd6bac99501b30627f6b0b057633ee0 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
@@ -45,6 +45,7 @@ class GLES2Util; |
class ImageManager; |
class Logger; |
class QueryManager; |
+class ShaderTranslatorInterface; |
class Texture; |
class TransformFeedbackManager; |
class VertexArrayManager; |
@@ -327,6 +328,8 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>, |
virtual void EndDecoding(); |
virtual const ContextState* GetContextState() = 0; |
+ virtual scoped_refptr<ShaderTranslatorInterface> GetTranslator( |
+ unsigned int type) = 0; |
protected: |
GLES2Decoder(); |