summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rw-r--r--indra/newview/lltexturefetch.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h
new file mode 100644
index 0000000000..9d841ae23a
--- /dev/null
+++ b/indra/newview/lltexturefetch.h
@@ -0,0 +1,28 @@
+/**
+ * @file lltexturefetch.h
+ * @brief Object for managing texture fetches.
+ *
+ * Copyright (c) 2000-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLTEXTUREFETCH_H
+#define LL_LLTEXTUREFETCH_H
+
+#include "llworkerthread.h"
+
+class LLViewerImage;
+
+// Interface class
+class LLTextureFetch
+{
+public:
+ static void initClass();
+ static void updateClass();
+ static void cleanupClass();
+
+ static LLWorkerClass::handle_t addRequest(LLImageFormatted* image, S32 discard);
+ static bool getRequestFinished(LLWorkerClass::handle_t handle);
+};
+
+#endif LL_LLTEXTUREFETCH_H