mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
This converts all usages of bmpman textures to OpenGL texture arrays. That means that all frames of an animation are stored in a single OpenGL texture object and can be accessed at the same time in a single draw call. This should significantly reduce the overhead of drawing lots of particles since all particles of a single animation can be drawn with a single draw call. This fixes #1169.
41 lines
782 B
C++
41 lines
782 B
C++
#pragma once
|
|
|
|
// This header is used for compiling the precompiled header file that is included in the entire code project
|
|
|
|
#include <stdio.h>
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <memory.h>
|
|
#include <math.h>
|
|
#include <time.h>
|
|
#include <inttypes.h>
|
|
#include <assert.h>
|
|
#include <stdarg.h>
|
|
|
|
#include <algorithm>
|
|
#include <stdexcept>
|
|
#include <vector>
|
|
#include <list>
|
|
#include <map>
|
|
#include <string>
|
|
#include <sstream>
|
|
#include <queue>
|
|
#include <unordered_map>
|
|
#include <bitset>
|
|
#include <functional>
|
|
#include <memory>
|
|
#include <cstdarg>
|
|
#include <csetjmp>
|
|
#include <iterator>
|
|
#include <iomanip>
|
|
#include <mutex>
|
|
#include <condition_variable>
|
|
#include <iostream>
|
|
#include <set>
|
|
#include <stack>
|
|
#include <fstream>
|
|
#include <random>
|
|
#include <future>
|
|
|