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

Issue 50413011: Allow specifying the max texture count on the bots (Closed)

Created:
7 years, 1 month ago by robertphillips
Modified:
7 years, 1 month ago
Reviewers:
borenet, bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Currently, the no-scratch-texture-reuse patch is dying on the N10 on the modecolorfilters test. This test creates ~1200 tiny layers yielding ~1200 textures which occupy only 2.5MB. In this situation the process gets killed on Android. Presumably the Mali driver either has a minimum page size or a bug. Limiting the max number of textures to 512 forces the InOrderDrawBuffer to be purged and frees up the textures for reuse.

Patch Set 1 #

Patch Set 2 : cleaned up #

Patch Set 3 : renamed GR_*TEXTURE_CACHE* to #

Patch Set 4 : Don't turn on for N10 just yet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M gyp/common_variables.gypi View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M gyp/gpu.gyp View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M include/gpu/GrConfig.h View 1 2 2 chunks +13 lines, -4 lines 0 comments Download
M include/gpu/GrUserConfig.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M platform_tools/android/bin/android_setup.sh View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
robertphillips
7 years, 1 month ago (2013-10-30 15:12:05 UTC) #1
bsalomon
lgtm, but now might not be a bad time to change GR_*TEXTURE_CACHE* to GR_*RESOURCE_CACHE*
7 years, 1 month ago (2013-10-30 15:14:37 UTC) #2
borenet
LGTM
7 years, 1 month ago (2013-10-30 15:16:42 UTC) #3
robertphillips
7 years, 1 month ago (2013-10-30 17:05:28 UTC) #4
Message was sent while issue was closed.
committed as r12020.

For now this isn't being used for the N10. We will try a different approach to
resolving the N10 crash on the modecolorfilters GM.

Powered by Google App Engine
This is Rietveld 408576698