diff options
author | enne <enne@chromium.org> | 2015-10-22 16:16:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-22 23:17:14 +0000 |
commit | 117d4dbb72431b5923072848362ca08a1fb1aa97 (patch) | |
tree | c2048a5b1e97bebeb669185f8906f01b6e41d9d9 /cc/output | |
parent | a74f2fb705a08ee0d6a77f4eb45fd2a0fda32bb3 (diff) | |
download | chromium_src-117d4dbb72431b5923072848362ca08a1fb1aa97.zip chromium_src-117d4dbb72431b5923072848362ca08a1fb1aa97.tar.gz chromium_src-117d4dbb72431b5923072848362ca08a1fb1aa97.tar.bz2 |
cc: Change the texture quad cache to fit nine quads
Previously a nine patch layer would require two draw calls. Now it will
fit in one. Tested by the TextureQuadBatching pixel test.
R=weiliangc@chromium.org
BUG=534819
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1413683004
Cr-Commit-Position: refs/heads/master@{#355665}
Diffstat (limited to 'cc/output')
-rw-r--r-- | cc/output/static_geometry_binding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/output/static_geometry_binding.h b/cc/output/static_geometry_binding.h index 6dfaafb..85166ef 100644 --- a/cc/output/static_geometry_binding.h +++ b/cc/output/static_geometry_binding.h @@ -20,7 +20,7 @@ class StaticGeometryBinding { void PrepareForDraw(); enum { - NUM_QUADS = 8, + NUM_QUADS = 9, }; private: |