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

Issue 5369113: Added glTexSubImageD3DSurface2DANGLE. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by apatrick1
Modified:
13 years, 9 months ago
Reviewers:
dgkoch, John Bauman
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Added glTexSubImageD3DSurface2DANGLE. This blits a default pool D3D surface into a GL texture identified by texture ID. The D3D surface must have been created using the same D3D device that ANGLE is using. No spec yet. I imagine the restrictions should be in line one those of StretchRect since that is what it will use. Its initial use will be to blit NV16 and YU16 surfaces produced by DXVA into regular textures that can be composited with the rest of the web page. It is intended to be more generally useful though, hence the generic name, which is based on CGLTexImageIOSurface2D. I considered making it support system pool and managed pool textures as well but they could just as esaily be locked and uploaded using the regular Tex*Image2D entry points. The mipmap sample changes are not intended to be checked in.

Patch Set 1 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -0 lines) Patch
M include/GLES2/gl2ext.h View 1 chunk +9 lines, -0 lines 0 comments Download
M samples/gles2_book/MipMap2D/MipMap2D.c View 3 chunks +30 lines, -0 lines 0 comments Download
M src/libGLESv2/Context.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/libGLESv2/Texture.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/libGLESv2/Texture.cpp View 2 chunks +106 lines, -0 lines 2 comments Download
M src/libGLESv2/libGLESv2.cpp View 2 chunks +83 lines, -0 lines 0 comments Download

Messages

Total messages: 6
apatrick1
Another one for you Daniel. Thanks, Al
13 years, 11 months ago (2011-11-15 22:02:56 UTC) #1
John Bauman
http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp File src/libGLESv2/Texture.cpp (right): http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp#newcode2021 src/libGLESv2/Texture.cpp:2021: getBlitter()->copy(source, sourceRect, mImageArray[0].getFormat(), xoffset, destYOffset, dest); Will this work? ...
13 years, 11 months ago (2011-11-15 22:10:40 UTC) #2
apatrick1
http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp File src/libGLESv2/Texture.cpp (right): http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp#newcode2021 src/libGLESv2/Texture.cpp:2021: getBlitter()->copy(source, sourceRect, mImageArray[0].getFormat(), xoffset, destYOffset, dest); On 2011/11/15 22:10:40, ...
13 years, 11 months ago (2011-11-15 22:17:29 UTC) #3
John Bauman
On 2011/11/15 22:17:29, apatrick1 wrote: > http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp > File src/libGLESv2/Texture.cpp (right): > > http://codereview.appspot.com/5369113/diff/1005/src/libGLESv2/Texture.cpp#newcode2021 > ...
13 years, 11 months ago (2011-11-15 22:18:51 UTC) #4
dgkoch
we're dropping this one at this point, right?
13 years, 9 months ago (2011-12-21 15:41:35 UTC) #5
apatrick1
13 years, 9 months ago (2011-12-21 18:58:12 UTC) #6
On 2011/12/21 15:41:35, dgkoch wrote:
> we're dropping this one at this point, right?

Closed
Sign in to reply to this message.

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