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

Unified Diff: command_buffer/service/win/d3d9/texture_d3d9.cc

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « command_buffer/service/win/d3d9/sampler_d3d9.cc ('k') | core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/service/win/d3d9/texture_d3d9.cc
===================================================================
--- command_buffer/service/win/d3d9/texture_d3d9.cc (revision 25949)
+++ command_buffer/service/win/d3d9/texture_d3d9.cc (working copy)
@@ -92,9 +92,9 @@
texture::Format format,
unsigned int flags,
bool enable_render_surfaces) {
- DCHECK_GT(width, 0);
- DCHECK_GT(height, 0);
- DCHECK_GT(levels, 0);
+ DCHECK_GT(width, 0U);
+ DCHECK_GT(height, 0U);
+ DCHECK_GT(levels, 0U);
D3DFORMAT d3d_format = D3DFormat(format);
IDirect3DDevice9 *device = gapi->d3d_device();
if (enable_render_surfaces) {
@@ -269,10 +269,10 @@
texture::Format format,
unsigned int flags,
bool enable_render_surfaces) {
- DCHECK_GT(width, 0);
- DCHECK_GT(height, 0);
- DCHECK_GT(depth, 0);
- DCHECK_GT(levels, 0);
+ DCHECK_GT(width, 0U);
+ DCHECK_GT(height, 0U);
+ DCHECK_GT(depth, 0U);
+ DCHECK_GT(levels, 0U);
D3DFORMAT d3d_format = D3DFormat(format);
IDirect3DDevice9 *device = gapi->d3d_device();
if (enable_render_surfaces) {
@@ -444,8 +444,8 @@
texture::Format format,
unsigned int flags,
bool enable_render_surfaces) {
- DCHECK_GT(side, 0);
- DCHECK_GT(levels, 0);
+ DCHECK_GT(side, 0U);
+ DCHECK_GT(levels, 0U);
D3DFORMAT d3d_format = D3DFormat(format);
IDirect3DDevice9 *device = gapi->d3d_device();
if (enable_render_surfaces) {
« no previous file with comments | « command_buffer/service/win/d3d9/sampler_d3d9.cc ('k') | core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698