aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrFontAtlasSizes.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-02-17 18:38:38 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-17 18:38:38 -0800
commite4ef1ca5be11aed67c0ed0c7eb1862696fb063e3 (patch)
tree9f26b1d1e46b90b8367194d35c2931d641d2bea3 /src/gpu/GrFontAtlasSizes.h
parentf320e04c50a1c8a861bc1d8f50bf732044ff9843 (diff)
Revert of Use uint16s for texture coordinates when rendering text. (patchset #5 id:80001 of https://codereview.chromium.org/917373002/)
Reason for revert: speculative revert for DEPS failures https://codereview.chromium.org/932973002/ Original issue's description: > Use uint16s for texture coordinates when rendering text. > > Allows us to push more vertices into a given vertex buffer, with > a slight performance improvement. > > Committed: https://skia.googlesource.com/skia/+/059034d252007d0dd86fff5ffdbb53cbcb10d34b TBR=joshualitt@google.com,robertphillips@google.com,bsalomon@google.com,reed@google.com,djsollen@google.com,jvanverth@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/920333003
Diffstat (limited to 'src/gpu/GrFontAtlasSizes.h')
-rw-r--r--src/gpu/GrFontAtlasSizes.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/gpu/GrFontAtlasSizes.h b/src/gpu/GrFontAtlasSizes.h
deleted file mode 100644
index 24897e4a7a..0000000000
--- a/src/gpu/GrFontAtlasSizes.h
+++ /dev/null
@@ -1,28 +0,0 @@
-
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef GrFontAtlasSizes_DEFINED
-#define GrFontAtlasSizes_DEFINED
-
-#define GR_FONT_ATLAS_TEXTURE_WIDTH 1024
-#define GR_FONT_ATLAS_TEXTURE_HEIGHT 2048
-
-#define GR_FONT_ATLAS_PLOT_WIDTH 256
-#define GR_FONT_ATLAS_PLOT_HEIGHT 256
-
-#define GR_FONT_ATLAS_NUM_PLOTS_X (GR_FONT_ATLAS_TEXTURE_WIDTH / GR_FONT_ATLAS_PLOT_WIDTH)
-#define GR_FONT_ATLAS_NUM_PLOTS_Y (GR_FONT_ATLAS_TEXTURE_HEIGHT / GR_FONT_ATLAS_PLOT_HEIGHT)
-
-// one over width and height
-#define GR_FONT_ATLAS_RECIP_WIDTH "0.0009765625"
-#define GR_FONT_ATLAS_RECIP_HEIGHT "0.00048828125"
-
-// 1/(3*width)
-#define GR_FONT_ATLAS_LCD_DELTA "0.00032552083"
-
-#endif