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

Issue 1056253003: When wrapping external textures, clamp the MSAA sample count to max. (Closed)

Created:
5 years, 8 months ago by Stephen White
Modified:
5 years, 8 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

When wrapping external textures, clamp the MSAA sample count to max. This is the same clamp we do in onCreateTexture() for Skia-native textures. Without this fix, setting to a count higher than the max in Chrome results in a black screen. BUG=skia: Committed: https://skia.googlesource.com/skia/+/94e50100eb747b2dfd659bacc9cf4246f6f20278

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/gpu/gl/GrGLGpu.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Stephen White
Brian: PTAL. Thanks!
5 years, 8 months ago (2015-04-05 00:38:18 UTC) #2
bsalomon
lgtm
5 years, 8 months ago (2015-04-06 16:20:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056253003/1
5 years, 8 months ago (2015-04-06 16:36:41 UTC) #5
commit-bot: I haz the power
5 years, 8 months ago (2015-04-06 16:43:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/94e50100eb747b2dfd659bacc9cf4246f6f20278

Powered by Google App Engine
This is Rietveld 408576698