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

Side by Side Diff: plugin/idl/texture.idl

Issue 5591006: Add an API to allow JavaScript to determine the framerate of individual dynam... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « core/win/d3d9/texture_d3d9.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 The number of mipmap levels used by the texture. 102 The number of mipmap levels used by the texture.
103 %] 103 %]
104 [getter] int levels; 104 [getter] int levels;
105 105
106 %[ 106 %[
107 True of all the alpha values in the texture are 1.0 107 True of all the alpha values in the texture are 1.0
108 %] 108 %]
109 [getter, getter, setter] bool alpha_is_one; 109 [getter, getter, setter] bool alpha_is_one;
110 110
111 %[ 111 %[
112 The count of total updates made to this texture.
113 %]
114 [getter] int update_count;
115
116 %[
117 The count of updates made to this texture that were rendered to the screen.
118 %]
119 [getter] int render_count;
120
121 %[
112 Generates Mips. 122 Generates Mips.
113 \param source_level the mip to use as the source. 123 \param source_level the mip to use as the source.
114 \param num_levels the number of mips from the source to generate. 124 \param num_levels the number of mips from the source to generate.
115 %] 125 %]
116 void GenerateMips(int source_level, int num_levels); 126 void GenerateMips(int source_level, int num_levels);
117 127
118 }; // Texture 128 }; // Texture
119 129
120 %[ 130 %[
121 A class for 2D textures that defines the interface for getting 131 A class for 2D textures that defines the interface for getting
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 o3d::TextureCUBE* self, 555 o3d::TextureCUBE* self,
546 o3d::TextureCUBE::CubeFace face, 556 o3d::TextureCUBE::CubeFace face,
547 int mip_level, 557 int mip_level,
548 o3d::Pack* pack) { 558 o3d::Pack* pack) {
549 return self->GetRenderSurface(face, mip_level); 559 return self->GetRenderSurface(face, mip_level);
550 } 560 }
551 %} 561 %}
552 }; // TextureCUBE 562 }; // TextureCUBE
553 563
554 } // namespace o3d 564 } // namespace o3d
OLDNEW
« no previous file with comments | « core/win/d3d9/texture_d3d9.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698