Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h

Issue 2125293002: Revert of gpu: Use a VAO as required by the core profile in ClearFramebuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2095d80dfb5ec4df708e67ccc0411114980d82a5..750b0d687b27bedc0ed8364f20a7ddce90ed819a 100644
--- a/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
+++ b/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
@@ -6,7 +6,6 @@
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_CLEAR_FRAMEBUFFER_H_
#include "base/macros.h"
-#include "gpu/command_buffer/service/feature_info.h"
#include "gpu/command_buffer/service/gl_utils.h"
#include "gpu/gpu_export.h"
@@ -21,9 +20,7 @@
class GPU_EXPORT ClearFramebufferResourceManager {
public:
- ClearFramebufferResourceManager(
- const gles2::GLES2Decoder* decoder,
- const gles2::FeatureInfo::FeatureFlags& feature_flags);
+ ClearFramebufferResourceManager(const gles2::GLES2Decoder* decoder);
~ClearFramebufferResourceManager();
@@ -38,8 +35,7 @@
GLint clear_stencil_value);
private:
- void Initialize(const gles2::GLES2Decoder* decoder,
- const gles2::FeatureInfo::FeatureFlags& feature_flags);
+ void Initialize(const gles2::GLES2Decoder* decoder);
void Destroy();
// The attributes used during invocation of the extension.
@@ -47,7 +43,6 @@
bool initialized_;
GLuint program_;
- GLuint vao_;
GLuint depth_handle_;
GLuint color_handle_;
GLuint buffer_id_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698