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

Issue 4809068: Add support for DXT3 and DXT5 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by gmanchromium
Modified:
13 years, 4 months ago
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add support for DXT3 and DXT5 TEST=none BUG=none Committed: http://code.google.com/p/angleproject/source/detail?r=721

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 12

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -61 lines) Patch
A extensions/ANGLE_texture_compression_dxt.txt View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
M include/GLES2/gl2ext.h View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M src/libEGL/Display.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/libEGL/Display.cpp View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
M src/libGLESv2/Context.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M src/libGLESv2/Context.cpp View 1 2 3 4 8 chunks +62 lines, -21 lines 0 comments Download
M src/libGLESv2/Texture.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/libGLESv2/Texture.cpp View 1 2 3 4 5 5 chunks +245 lines, -22 lines 0 comments Download
M src/libGLESv2/libGLESv2.cpp View 1 2 3 4 5 11 chunks +99 lines, -12 lines 0 comments Download
M src/libGLESv2/utilities.cpp View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 11
gmanchromium
13 years, 4 months ago (2011-08-01 07:18:09 UTC) #1
apatrick1
You'll need to flip the blocks differently for DXT3 and DXT5. The reason for that ...
13 years, 4 months ago (2011-08-01 19:10:57 UTC) #2
dgkoch
Please provide an specification for the new extension(s) (we're keeping them locally in the extensions/ ...
13 years, 4 months ago (2011-08-01 20:11:47 UTC) #3
gmanchromium
http://codereview.appspot.com/4809068/diff/1/include/GLES2/gl2ext.h File include/GLES2/gl2ext.h (right): http://codereview.appspot.com/4809068/diff/1/include/GLES2/gl2ext.h#newcode830 include/GLES2/gl2ext.h:830: #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 On 2011/08/01 20:11:48, dgkoch wrote: > ...
13 years, 4 months ago (2011-08-04 04:10:13 UTC) #4
dgkoch
Hi Gregg, A few suggestions for the extension spec, but otherwise it looks good with ...
13 years, 4 months ago (2011-08-05 05:36:24 UTC) #5
gmanchromium
http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_compression_dxt.txt File extensions/ANGLE_texture_compression_dxt.txt (right): http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_compression_dxt.txt#newcode12 extensions/ANGLE_texture_compression_dxt.txt:12: Contributors to ANGLE_texture_compression_dxt On 2011/08/05 05:36:24, dgkoch wrote: > ...
13 years, 4 months ago (2011-08-08 05:42:23 UTC) #6
gmanchromium
PS: if this looks good to you could you either check it in or add ...
13 years, 4 months ago (2011-08-08 07:31:06 UTC) #7
dgkoch
On 2011/08/08 05:42:23, gmanchromium wrote: > http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_compression_dxt.txt > File extensions/ANGLE_texture_compression_dxt.txt (right): > > http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_compression_dxt.txt#newcode12 > ...
13 years, 4 months ago (2011-08-08 15:04:46 UTC) #8
gmanchromium
On 2011/08/08 15:04:46, dgkoch wrote: > On 2011/08/08 05:42:23, gmanchromium wrote: > > > http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_compression_dxt.txt ...
13 years, 4 months ago (2011-08-08 15:15:15 UTC) #9
dgkoch
LGTM. Note that you need to update BUILD_REVISION in src/common/version.h to match the expected SVN ...
13 years, 4 months ago (2011-08-08 15:18:51 UTC) #10
dgkoch
13 years, 4 months ago (2011-08-08 15:19:38 UTC) #11
On 2011/08/08 15:15:15, gmanchromium wrote:
> On 2011/08/08 15:04:46, dgkoch wrote:
> > On 2011/08/08 05:42:23, gmanchromium wrote:
> > >
> >
>
http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_com...
> > > File extensions/ANGLE_texture_compression_dxt.txt (right):
> > > 
> > >
> >
>
http://codereview.appspot.com/4809068/diff/10001/extensions/ANGLE_texture_com...
> > > extensions/ANGLE_texture_compression_dxt.txt:12: Contributors to
> > > ANGLE_texture_compression_dxt
> > > On 2011/08/05 05:36:24, dgkoch wrote:
> > > > normally this would be used to refer to authors of an extension this is
> > based
> > > > on..
> > > 
> > > I'm not sure you what you mean. Should I copy the contributors list from
> > > EXT_texture_compression_dxt1? I'm not comfortable adding names of people I
> > don't
> > > know. I kind of assuming referring to the other extensions was enough. No?
> > > 
> > 
> > It was self-referential.  It should have said "Contributors to
> > EXT_texture_compression_dxt1"  
> > Instead it say the contributors to *this* extension are the contributors to
> this
> > extension.
> 
> Ok, so is it correct now? The current version is here
> 
>
http://codereview.appspot.com/4809068/diff/15001/extensions/ANGLE_texture_com...
> 
> It seems to match this one
> 
>
http://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_type_2_10_10_...
> 
> Otherwise I can just remove the 'contributors' section. Most of the other
> extension specs don't have one. I just copied some other spec's format and
> happened to pick one with a 'contributors' section.

It's fine how you  have it now.  It's good practice to include contributors.
Sign in to reply to this message.

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