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

Issue 5967067: Initial addition of R8 support (Closed)

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

Description

This doesn't/shouldn't do anything different then the current Alpha8 support but does start the process of shifting to R8.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed code review issues #

Total comments: 2

Patch Set 3 : added test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -23 lines) Patch
M gyp/tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/gl/GrGLDefines.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 3 chunks +10 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 3 chunks +17 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 2 chunks +9 lines, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 chunks +30 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGpuGLShaders.cpp View 1 3 chunks +13 lines, -3 lines 0 comments Download
A tests/ReadWriteAlphaTest.cpp View 1 2 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 9
robertphillips
12 years, 1 month ago (2012-04-03 21:03:56 UTC) #1
bsalomon
http://codereview.appspot.com/5967067/diff/1/include/gpu/gl/GrGLDefines.h File include/gpu/gl/GrGLDefines.h (right): http://codereview.appspot.com/5967067/diff/1/include/gpu/gl/GrGLDefines.h#newcode299 include/gpu/gl/GrGLDefines.h:299: // Use GR_GL_R8 only with GL_ARB_texture_rg Let's either say ...
12 years, 1 month ago (2012-04-03 21:51:02 UTC) #2
robertphillips
http://codereview.appspot.com/5967067/diff/1/include/gpu/gl/GrGLDefines.h File include/gpu/gl/GrGLDefines.h (right): http://codereview.appspot.com/5967067/diff/1/include/gpu/gl/GrGLDefines.h#newcode299 include/gpu/gl/GrGLDefines.h:299: // Use GR_GL_R8 only with GL_ARB_texture_rg On 2012/04/03 21:51:02, ...
12 years, 1 month ago (2012-04-04 12:51:36 UTC) #3
bsalomon
I thought of another thing after my initial review: What are the implications for readpixels ...
12 years, 1 month ago (2012-04-04 13:45:14 UTC) #4
robertphillips
It looks like adding testing of reading/writing a single channel texture through SkCanvas (as used ...
12 years, 1 month ago (2012-04-04 15:30:40 UTC) #5
bsalomon
On 2012/04/04 15:30:40, robertphillips wrote: > It looks like adding testing of reading/writing a single ...
12 years, 1 month ago (2012-04-04 15:54:07 UTC) #6
robertphillips
This version also adds a test case http://codereview.appspot.com/5967067/diff/4002/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (right): http://codereview.appspot.com/5967067/diff/4002/src/gpu/gl/GrGpuGL.cpp#newcode1951 src/gpu/gl/GrGpuGL.cpp:1951: inline const ...
12 years, 1 month ago (2012-04-06 17:41:19 UTC) #7
bsalomon
LGTM. Nice test. I'm glad that it also exercises backing a device with a kA8 ...
12 years, 1 month ago (2012-04-06 17:56:26 UTC) #8
robertphillips
12 years, 1 month ago (2012-04-06 18:06:59 UTC) #9
committed as r3622
Sign in to reply to this message.

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