Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2008-09-10 19:07:20 +0400
committerKent Mein <mein@cs.umn.edu>2008-09-10 19:07:20 +0400
commitbd518b8de6702ab1e276f7513bea735cee9417ef (patch)
tree505a326dce7222066cc1600c4316e4ca3a6fcb43 /source/blender/imbuf/intern/dds/ColorBlock.h
parent90272dfdad61a6de223d96ce14a4fe4c75a1347d (diff)
This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps It just updates the dds stuff. Provided by Amorilia Kent
Diffstat (limited to 'source/blender/imbuf/intern/dds/ColorBlock.h')
-rw-r--r--source/blender/imbuf/intern/dds/ColorBlock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/dds/ColorBlock.h b/source/blender/imbuf/intern/dds/ColorBlock.h
index 141411f37af..537c17346a1 100644
--- a/source/blender/imbuf/intern/dds/ColorBlock.h
+++ b/source/blender/imbuf/intern/dds/ColorBlock.h
@@ -41,6 +41,7 @@
struct ColorBlock
{
ColorBlock();
+ ColorBlock(const uint * linearImage);
ColorBlock(const ColorBlock & block);
ColorBlock(const Image * img, uint x, uint y);
@@ -51,6 +52,7 @@ struct ColorBlock
void splatY();
bool isSingleColor() const;
+ bool isSingleColorNoAlpha() const;
uint countUniqueColors() const;
Color32 averageColor() const;
bool hasAlpha() const;