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. |