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

Issue 2293633003: Skip spinlock overhead on Android (Closed)

Created:
4 years, 3 months ago by msarett
Modified:
4 years, 3 months ago
Reviewers:
bsalomon, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Skip spinlock overhead on Android Using the spinlock is only necessary when we multiple threads might use a GrContext. Android uses the GrContext from a single thread, so these locks are not needed. This is a temporary fix until we can refactor to avoid creating GrContexts in a global memory pool. BUG=skia:5696 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2293633003 Committed: https://skia.googlesource.com/skia/+/68440f8ce90a48e14e79b6fe5a6dd47c8c09bfb4

Patch Set 1 #

Patch Set 2 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M src/gpu/GrProcessor.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/gpu/batches/GrBatch.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (17 generated)
msarett
4 years, 3 months ago (2016-08-29 21:00:52 UTC) #3
msarett
Updated CL description
4 years, 3 months ago (2016-08-29 21:08:06 UTC) #6
bsalomon
Can we add a comment like // We know in the Android framework there is ...
4 years, 3 months ago (2016-08-29 21:09:10 UTC) #7
msarett
On 2016/08/29 21:09:10, bsalomon wrote: > Can we add a comment like // We know ...
4 years, 3 months ago (2016-08-29 21:10:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2293633003/40001
4 years, 3 months ago (2016-08-29 21:51:32 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 21:52:28 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://skia.googlesource.com/skia/+/68440f8ce90a48e14e79b6fe5a6dd47c8c09bfb4

Powered by Google App Engine
This is Rietveld 408576698