yangqiaosheng / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

D3D11: Mipmap generation using GenerateMips. #974

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is an enhancement rather than a bug:

ANGLE manually generates the mipmap chain using CPU-side mipmap generation or 
draw calls.

D3D11 provides a GenerateMips method which generate the mipmap chain for a 
resource view which may be more efficient on some hardware.

Original issue reported on code.google.com by Gregory....@imgtec.com on 14 Apr 2015 at 12:45

GoogleCodeExporter commented 9 years ago
https://chromium-review.googlesource.com/#/c/265640/

Original comment by Gregory....@imgtec.com on 14 Apr 2015 at 12:48

GoogleCodeExporter commented 9 years ago
Project  : angle/angle
Branch   : master
Author   : Gregoire Payen de La Garanderie <Gregory.Payen@imgtec.com>
Committer: Jamie Madill <jmadill@chromium.org>
Commit   : 752ce192203b5ba301f7c959638ef7b06600ae8c

Code-Review  0 : Austin Kinross, Geoff Lang, Gregoire Payen de La Garanderie
Code-Review  +2: Jamie Madill
Verified     0 : Austin Kinross, Geoff Lang, Jamie Madill
Verified     +1: Gregoire Payen de La Garanderie
Commit Queue   : Chumped
Change-Id      : I95937fe7a0833de77c52f838ebb3ecba55dfbf8a
Reviewed-at    : https://chromium-review.googlesource.com/265640

D3D11: Use DX generateMips to generate mipmaps whenever possible.

BUG=angleproject:974

src/libANGLE/Texture.cpp
src/libANGLE/renderer/TextureImpl.h
src/libANGLE/renderer/d3d/RendererD3D.h
src/libANGLE/renderer/d3d/TextureD3D.cpp
src/libANGLE/renderer/d3d/TextureD3D.h
src/libANGLE/renderer/d3d/TextureStorage.h
src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp
src/libANGLE/renderer/d3d/d3d11/Renderer11.h
src/libANGLE/renderer/d3d/d3d11/TextureStorage11.cpp
src/libANGLE/renderer/d3d/d3d11/TextureStorage11.h
src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp
src/libANGLE/renderer/d3d/d3d11/formatutils11.h
src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp
src/libANGLE/renderer/d3d/d3d9/Renderer9.h
src/libANGLE/renderer/d3d/d3d9/TextureStorage9.cpp
src/libANGLE/renderer/d3d/d3d9/TextureStorage9.h
src/libANGLE/renderer/gl/TextureGL.cpp
src/libANGLE/renderer/gl/TextureGL.h

Original comment by bugdroid1@chromium.org on 22 Apr 2015 at 3:07

GoogleCodeExporter commented 9 years ago

Original comment by geofflang@chromium.org on 29 Apr 2015 at 7:18