projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[Tizen] Add codes for Dali Windows Backend"
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
imaging
/
common
/
image-loader.cpp
diff --git
a/dali/internal/imaging/common/image-loader.cpp
b/dali/internal/imaging/common/image-loader.cpp
index
09c1d00
..
b83878e
100755
(executable)
--- a/
dali/internal/imaging/common/image-loader.cpp
+++ b/
dali/internal/imaging/common/image-loader.cpp
@@
-45,6
+45,7
@@
namespace
Integration::Log::Filter* gLogFilter = Debug::Filter::New( Debug::Concise, false, "LOG_IMAGE_LOADING" );
#endif
Integration::Log::Filter* gLogFilter = Debug::Filter::New( Debug::Concise, false, "LOG_IMAGE_LOADING" );
#endif
+static unsigned int gMaxTextureSize = 4096;
/**
* Enum for file formats, has to be in sync with BITMAP_LOADER_LOOKUP_TABLE
/**
* Enum for file formats, has to be in sync with BITMAP_LOADER_LOOKUP_TABLE
@@
-414,6
+415,16
@@
ImageDimensions GetClosestImageSize( Integration::ResourcePointer resourceBuffer
return ImageDimensions( width, height );
}
return ImageDimensions( width, height );
}
+void SetMaxTextureSize( unsigned int size )
+{
+ gMaxTextureSize = size;
+}
+
+unsigned int GetMaxTextureSize()
+{
+ return gMaxTextureSize;
+}
+
} // ImageLoader
} // TizenPlatform
} // Dali
} // ImageLoader
} // TizenPlatform
} // Dali