summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.h
blob: 9d841ae23aaf2762388b1df17695b3933e2f48e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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