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

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: rebase Created 4 years, 7 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 | « gpu/gles2_conform_support/egl/BUILD.gn ('k') | gpu/gles2_conform_support/egl/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1ce815648d9cf5f9324f1f0eecc8f6201354230d 100644
--- a/gpu/gles2_conform_support/egl/config.h
+++ b/gpu/gles2_conform_support/egl/config.h
@@ -13,10 +13,11 @@ namespace egl {
class Config {
public:
- Config();
+ explicit 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.
« no previous file with comments | « gpu/gles2_conform_support/egl/BUILD.gn ('k') | gpu/gles2_conform_support/egl/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698