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

Unified Diff: cc/base/tiling_data.h

Issue 2061103002: cc: Move computing borderless max texture size to function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed build break. Created 4 years, 5 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 | « no previous file | cc/base/tiling_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/tiling_data.h
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h
index 3c3937db81541378eb71cdae42ca419e07af0bf0..2e392ce3e74da10b5778cfced59f3a50e60ce95d 100644
--- a/cc/base/tiling_data.h
+++ b/cc/base/tiling_data.h
@@ -27,6 +27,8 @@ class CC_EXPORT TilingData {
TilingData(const gfx::Size& max_texture_size,
const gfx::Size& tiling_size,
int border_texels);
+ TilingData(const TilingData& other);
+ ~TilingData();
gfx::Size tiling_size() const { return tiling_size_; }
void SetTilingSize(const gfx::Size& tiling_size);
@@ -234,6 +236,7 @@ class CC_EXPORT TilingData {
gfx::Size max_texture_size_;
gfx::Size tiling_size_;
int border_texels_;
+ gfx::Size borderless_max_texture_size_;
// These are computed values.
int num_tiles_x_;
« no previous file with comments | « no previous file | cc/base/tiling_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698