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

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

Issue 2764833003: Make gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver (Closed)
Patch Set: rebase Created 3 years, 9 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
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 18196663c9af2fa9cc0332bba312e3b5d54f2dde..80165edafa871663675332881dbacbe74efe8838 100644
--- a/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
+++ b/gpu/command_buffer/service/gles2_cmd_clear_framebuffer.h
@@ -19,7 +19,8 @@ class GLES2Decoder;
class GPU_EXPORT ClearFramebufferResourceManager {
public:
- ClearFramebufferResourceManager(const gles2::GLES2Decoder* decoder);
+ ClearFramebufferResourceManager(const gles2::GLES2Decoder* decoder,
+ const gl::GLVersionInfo& gl_version_info);
~ClearFramebufferResourceManager();
@@ -41,7 +42,9 @@ class GPU_EXPORT ClearFramebufferResourceManager {
static const GLuint kVertexPositionAttrib = 0;
bool initialized_;
+ bool is_desktop_core_profile_;
GLuint program_;
+ GLuint vao_;
GLuint depth_handle_;
GLuint color_handle_;
GLuint buffer_id_;

Powered by Google App Engine
This is Rietveld 408576698