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

Unified Diff: gpu/gles2_conform_support/egl/config.h

Issue 1714883002: command_buffer_gles2: Implement EGL default Display as a global object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command_buffer_gles2-multiple-contexts
Patch Set: Created 4 years, 10 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/gles2_conform_support/egl/config.h
diff --git a/gpu/gles2_conform_support/egl/config.h b/gpu/gles2_conform_support/egl/config.h
index 53bb56821812226be2f4e0c086e373a3f43f7c7f..a49f7f6210c344e6c5831c0ddc9f3ef909077c64 100644
--- a/gpu/gles2_conform_support/egl/config.h
+++ b/gpu/gles2_conform_support/egl/config.h
@@ -5,18 +5,18 @@
#ifndef GPU_GLES2_CONFORM_TEST_CONFIG_H_
#define GPU_GLES2_CONFORM_TEST_CONFIG_H_
-#include <EGL/egl.h>
-
#include "base/macros.h"
+#include <EGL/egl.h>
namespace egl {
class Config {
public:
- Config();
+ Config(EGLint surface_type);
~Config();
-
+ bool matches(const EGLint* attrib_list) const;
bool GetAttrib(EGLint attribute, EGLint* value) const;
+ static bool ValidateAttributeList(const EGLint* attrib_list);
private:
// Total color component bits in the color buffer.

Powered by Google App Engine
This is Rietveld 408576698