Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1014)

Issue 6258068: Move texture descriptor into GrTexture (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by robertphillips
Modified:
12 years, 5 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The two big questions here are: add copy operator to copy from platform -> GL (for onCreatePlatformTexture) and from normal -> GL (for onWriteTexturePixels & onCreateTexture)? proactively add conversion from platform -> normal flags?

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -39 lines) Patch
M include/gpu/GrTexture.h View 1 4 chunks +31 lines, -23 lines 0 comments Download
M include/gpu/GrTypes.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrTexture.cpp View 1 2 chunks +24 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLTexture.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/gpu/gl/GrGLTexture.cpp View 1 1 chunk +2 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 5
robertphillips
12 years, 5 months ago (2012-06-01 15:13:06 UTC) #1
bsalomon
Mostly LGTM. I don't have a strong opinion about operator = between the GL, platform, ...
12 years, 5 months ago (2012-06-01 16:19:25 UTC) #2
robertphillips
http://codereview.appspot.com/6258068/diff/1/include/gpu/GrTexture.h File include/gpu/GrTexture.h (right): http://codereview.appspot.com/6258068/diff/1/include/gpu/GrTexture.h#newcode127 include/gpu/GrTexture.h:127: validateDesc(); On 2012/06/01 16:19:25, bsalomon wrote: > this-> Done. ...
12 years, 5 months ago (2012-06-01 17:10:15 UTC) #3
bsalomon
On 2012/06/01 17:10:15, robertphillips wrote: > http://codereview.appspot.com/6258068/diff/1/include/gpu/GrTexture.h > File include/gpu/GrTexture.h (right): > > http://codereview.appspot.com/6258068/diff/1/include/gpu/GrTexture.h#newcode127 > ...
12 years, 5 months ago (2012-06-01 17:43:07 UTC) #4
robertphillips
12 years, 5 months ago (2012-06-04 12:49:26 UTC) #5
committed as r4133
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b