summaryrefslogtreecommitdiffstats
path: root/o3d/plugin
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-08 03:05:33 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-08 03:05:33 +0000
commit24db0668435d565c02b8c3c9ca2cd343b5ae45ac (patch)
tree019c317fbb74905f20109b36b15c54257f8c7586 /o3d/plugin
parent63436be709e8a2fad718301c444a02dbd6107dfd (diff)
downloadchromium_src-24db0668435d565c02b8c3c9ca2cd343b5ae45ac.zip
chromium_src-24db0668435d565c02b8c3c9ca2cd343b5ae45ac.tar.gz
chromium_src-24db0668435d565c02b8c3c9ca2cd343b5ae45ac.tar.bz2
Add nonPowerOfTwoTextures to clientInfo
so that video can decide to use power of 2 if it needs to. Review URL: http://codereview.chromium.org/164210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin')
-rw-r--r--o3d/plugin/idl/client.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/o3d/plugin/idl/client.idl b/o3d/plugin/idl/client.idl
index c4c1054..a635508 100644
--- a/o3d/plugin/idl/client.idl
+++ b/o3d/plugin/idl/client.idl
@@ -118,6 +118,17 @@ class ClientInfo {
Whether or not O3D is using the software renderer.
%]
[getter] bool software_renderer;
+
+ %[
+ Whether or not the GPU supports non power of two textures.
+ NOTE: O3D always allows non power of two textures.
+
+ The only reason to look at this flag is for things like video that are
+ updating the texture every frame. In that case, you might want to know
+ that you could run faster if you used a power of 2 texture instead of
+ a non power of 2 texture.
+ %]
+ [getter] bool non_power_of_two_textures;
};
%[