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

Issue 14646007: Adding public API method on SkImage for extracting the GPU texture handle. (Closed)

Created:
7 years, 7 months ago by Justin Novosad
Modified:
7 years, 7 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Adding public API method on SkImage for extracting the GPU texture handle. TEST=Surface unit test Committed: https://code.google.com/p/skia/source/detail?r=8945

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M include/core/SkImage.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Justin Novosad
PTAL
7 years, 7 months ago (2013-04-30 14:52:12 UTC) #1
reed1
The plumbing style seems fine, but we should return a GrTexture* instead of an int, ...
7 years, 7 months ago (2013-04-30 15:09:35 UTC) #2
bsalomon
On 2013/04/30 15:09:35, reed1 wrote: > The plumbing style seems fine, but we should return ...
7 years, 7 months ago (2013-04-30 15:12:52 UTC) #3
Justin Novosad
So we are officially OK with exposing Gr* in core headers? I guess we only ...
7 years, 7 months ago (2013-04-30 15:13:16 UTC) #4
Justin Novosad
New Patch.
7 years, 7 months ago (2013-04-30 15:23:33 UTC) #5
bsalomon
On 2013/04/30 15:23:33, junov wrote: > New Patch. lgtm. Yes, core files already include Gr ...
7 years, 7 months ago (2013-04-30 16:12:22 UTC) #6
reed1
need comment in header, lgtm otherwise. https://codereview.chromium.org/14646007/diff/5003/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/14646007/diff/5003/include/core/SkImage.h#newcode73 include/core/SkImage.h:73: uint32_t uniqueID() const ...
7 years, 7 months ago (2013-04-30 16:17:45 UTC) #7
Justin Novosad
7 years, 7 months ago (2013-05-01 22:38:20 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r8945 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698