projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfbb84e
)
query/print max convolution filter size
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 10 Aug 2004 15:32:25 +0000
(15:32 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 10 Aug 2004 15:32:25 +0000
(15:32 +0000)
progs/xdemos/glxinfo.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/glxinfo.c
b/progs/xdemos/glxinfo.c
index 0e9a731dc861388f4f8518c8e1b1727eb091e5a4..46311bd645f9227b1e8b33e4e834391f6642efa4 100644
(file)
--- a/
progs/xdemos/glxinfo.c
+++ b/
progs/xdemos/glxinfo.c
@@
-204,6
+204,13
@@
print_limits(void)
printf(" %s = %d, %d\n", limits[i].name, max[0], max[1]);
}
}
+ /* these don't fit into the above mechanism, unfortunately */
+ glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_WIDTH, max);
+ glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_HEIGHT, max+1);
+ if (glGetError() == GL_NONE) {
+ printf(" GL_MAX_CONVOLUTION_WIDTH/HEIGHT = %d, %d\n", max[0], max[1]);
+ }
+
}