| Index: gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h b/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
|
| index ece7218532b5ee5c004ce56b3f18e22c6cfe76ad..18196663c9af2fa9cc0332bba312e3b5d54f2dde 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
|
| @@ -5,9 +5,6 @@
|
| #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_CLEAR_FRAMEBUFFER_H_
|
| #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_CLEAR_FRAMEBUFFER_H_
|
|
|
| -#include <string>
|
| -
|
| -#include "base/containers/hash_tables.h"
|
| #include "base/macros.h"
|
| #include "gpu/command_buffer/service/gl_utils.h"
|
| #include "gpu/gpu_export.h"
|
| @@ -22,8 +19,7 @@
|
|
|
| class GPU_EXPORT ClearFramebufferResourceManager {
|
| public:
|
| - ClearFramebufferResourceManager(const gles2::GLES2Decoder* decoder,
|
| - const gl::GLVersionInfo& gl_version_info);
|
| + ClearFramebufferResourceManager(const gles2::GLES2Decoder* decoder);
|
| ~ClearFramebufferResourceManager();
|
|
|
|
|
| @@ -39,22 +35,16 @@
|
|
|
| private:
|
| void Initialize(const gles2::GLES2Decoder* decoder);
|
| - void InitShader(const gles2::GLES2Decoder* decoder, GLenum type);
|
| void Destroy();
|
|
|
| // The attributes used during invocation of the extension.
|
| static const GLuint kVertexPositionAttrib = 0;
|
|
|
| bool initialized_;
|
| - bool is_desktop_core_profile_;
|
| GLuint program_;
|
| - GLuint vao_;
|
| - GLint depth_handle_;
|
| - GLint color_handle_;
|
| + GLuint depth_handle_;
|
| + GLuint color_handle_;
|
| GLuint buffer_id_;
|
| - base::hash_map<std::string, std::string> name_map_;
|
| - std::string vertex_shader_source_;
|
| - std::string fragment_shader_source_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ClearFramebufferResourceManager);
|
| };
|
|
|