| Index: cc/gl_renderer.h
|
| diff --git a/cc/gl_renderer.h b/cc/gl_renderer.h
|
| index e68e9442fd0f2b23757dfcd6018f0c67c811ed9c..676a0cb0cb6b8bf9a656331cc29bfa5105ce470f 100644
|
| --- a/cc/gl_renderer.h
|
| +++ b/cc/gl_renderer.h
|
| @@ -33,7 +33,7 @@ class GLRenderer : public DirectRenderer,
|
| public WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM ,
|
| public WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback {
|
| public:
|
| - static scoped_ptr<GLRenderer> create(RendererClient*, ResourceProvider*);
|
| + static scoped_ptr<GLRenderer> create(RendererClient*, ResourceProvider*, bool hasImplThread);
|
|
|
| virtual ~GLRenderer();
|
|
|
| @@ -57,7 +57,7 @@ public:
|
| virtual void setVisible(bool) OVERRIDE;
|
|
|
| protected:
|
| - GLRenderer(RendererClient*, ResourceProvider*);
|
| + GLRenderer(RendererClient*, ResourceProvider*, bool hasImplThread);
|
|
|
| static void debugGLCall(WebKit::WebGraphicsContext3D*, const char* command, const char* file, int line);
|
|
|
| @@ -179,6 +179,8 @@ private:
|
|
|
| const SolidColorProgram* solidColorProgram();
|
|
|
| + bool m_hasImplThread;
|
| +
|
| scoped_ptr<TileProgram> m_tileProgram;
|
| scoped_ptr<TileProgramOpaque> m_tileProgramOpaque;
|
| scoped_ptr<TileProgramAA> m_tileProgramAA;
|
|
|