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

Unified Diff: ui/gl/gl_interface.h

Issue 10534173: GPU Program Caching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: ui/gl/gl_interface.h
diff --git a/ui/gl/gl_interface.h b/ui/gl/gl_interface.h
index db120b6e19efa1eab2caccfae8b92f3bb75e385b..b52a22caa481ea7a98582a1dd0bc8b683f745fae 100644
--- a/ui/gl/gl_interface.h
+++ b/ui/gl/gl_interface.h
@@ -273,6 +273,12 @@ class GL_EXPORT GLInterface {
virtual void GetIntegerv(GLenum pname, GLint* params) = 0;
+ virtual void GetProgramBinary(GLuint program,
+ GLsizei bufSize,
+ GLsizei* length,
+ GLenum* binaryFormat,
+ GLvoid* binary) = 0;
+
virtual void GetProgramiv(GLuint program, GLenum pname, GLint* params) = 0;
// TODO(gman): Implement this
@@ -397,6 +403,11 @@ class GL_EXPORT GLInterface {
virtual void PolygonOffset(GLfloat factor, GLfloat units) = 0;
+ virtual void ProgramBinary(GLuint program,
+ GLenum binaryFormat,
+ const GLvoid* binary,
+ GLsizei length) = 0;
+
virtual void QueryCounter(GLuint id, GLenum target) = 0;
virtual void ReadBuffer(GLenum src) = 0;

Powered by Google App Engine
This is Rietveld 408576698