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

Issue 1583863002: Beginning of support for texture rectangles. (Closed)

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

Description

Beginning of support for texture rectangles. Adds support for importing a RECTANGLE texture into Skia via GrTexureProvider::wrapBackendTexture(). Tests read/writing pixels, copySurface, and clear. Does not add support for texturing from a RECTANGLE texture as the coords will be incorrectly normalized. BUG=skia:3868 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1583863002 Committed: https://skia.googlesource.com/skia/+/e5286e0b37abe4d0db67a6b3d87b2d5a12a70ab3

Patch Set 1 #

Patch Set 2 : save file #

Patch Set 3 : unit test #

Patch Set 4 : minor #

Patch Set 5 : rebase #

Patch Set 6 : fix temporary address warning #

Total comments: 4

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -41 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrTypesPriv.h View 1 2 3 4 6 chunks +19 lines, -5 lines 0 comments Download
M include/gpu/gl/SkGLContext.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLDefines.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 6 8 chunks +42 lines, -19 lines 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 2 chunks +11 lines, -5 lines 0 comments Download
M src/gpu/gl/SkGLContext.cpp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSL.h View 1 2 2 chunks +17 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.cpp View 1 chunk +2 lines, -1 line 0 comments Download
A tests/RectangleTextureTest.cpp View 1 2 3 4 5 1 chunk +206 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (7 generated)
bsalomon
4 years, 11 months ago (2016-01-13 21:32:07 UTC) #4
bsalomon
+Eric
4 years, 11 months ago (2016-01-14 16:38:54 UTC) #6
jvanverth1
lgtm + comments https://codereview.chromium.org/1583863002/diff/100001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1583863002/diff/100001/src/gpu/gl/GrGLGpu.cpp#newcode615 src/gpu/gl/GrGLGpu.cpp:615: // Write or transfer of pixels ...
4 years, 11 months ago (2016-01-14 16:47:21 UTC) #7
bsalomon
https://codereview.chromium.org/1583863002/diff/100001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1583863002/diff/100001/src/gpu/gl/GrGLGpu.cpp#newcode615 src/gpu/gl/GrGLGpu.cpp:615: // Write or transfer of pixels is no implemented ...
4 years, 11 months ago (2016-01-14 17:11:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1583863002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1583863002/120001
4 years, 11 months ago (2016-01-14 17:12:06 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 17:24:12 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/e5286e0b37abe4d0db67a6b3d87b2d5a12a70ab3

Powered by Google App Engine
This is Rietveld 408576698