Searched refs:base_tex_ (Results 1 - 3 of 3) sorted by relevance
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
H A D | earth.cc | 257 Texture* base_tex_; member in class:Planet 348 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0), 383 if (!base_tex_ || !night_tex_) 469 int tx = static_cast<int>(u * base_tex_->width); 470 int ty = static_cast<int>(v * base_tex_->height); 471 int offset = tx + ty * base_tex_->width; 472 uint32_t base_texel = base_tex_->pixels[offset]; 663 delete base_tex_; 664 base_tex_ = new Texture(width, height, pixels);
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
H A D | earth.cc | 305 Texture* base_tex_; member in class:Planet 396 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0), 433 if (!base_tex_ || !night_tex_) 522 int tx = static_cast<int>(u * base_tex_->width); 523 int ty = static_cast<int>(v * base_tex_->height); 524 int offset = tx + ty * base_tex_->width; 525 uint32_t base_texel = base_tex_->pixels[offset]; 703 delete base_tex_; 704 base_tex_ = new Texture(width, height, pixels);
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/ |
H A D | earth.cc | 266 Texture* base_tex_; member in class:Planet 384 base_tex_ = NULL; 423 if (!base_tex_ || !night_tex_) 507 int tx = static_cast<int>(u * base_tex_->width); 508 int ty = static_cast<int>(v * base_tex_->height); 509 int offset = tx + ty * base_tex_->width; 510 uint32_t base_texel = base_tex_->pixels[offset]; 722 delete base_tex_; 723 base_tex_ = new Texture(width, height, pixels);
|
Completed in 119 milliseconds