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

Unified Diff: ui/gl/gl_image_ozone_native_pixmap.h

Issue 2037983003: gl: Check format is valid given an internal format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make validation as restrictive as possible. Created 4 years, 6 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 | ui/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_ozone_native_pixmap.h
diff --git a/ui/gl/gl_image_ozone_native_pixmap.h b/ui/gl/gl_image_ozone_native_pixmap.h
index caa88a0650b6eb0bad9e440b44eba93f426d393b..a9137739f310d3dd27266141ae4ca05264ec0958 100644
--- a/ui/gl/gl_image_ozone_native_pixmap.h
+++ b/ui/gl/gl_image_ozone_native_pixmap.h
@@ -33,6 +33,8 @@ class GL_EXPORT GLImageOzoneNativePixmap : public GLImageEGL {
uint64_t process_tracing_id,
const std::string& dump_name) override;
+ static unsigned GetInternalFormatForTesting(gfx::BufferFormat format);
+
protected:
~GLImageOzoneNativePixmap() override;
« no previous file with comments | « no previous file | ui/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698