No files matched your search
|
|
|
@@ -10,3 +10,6 @@
|
|
|
|
|
[submodule "lib/system"]
|
|
|
|
|
path = lib/system
|
|
|
|
|
url = https://github.com/whoahq/system.git
|
|
|
|
|
[submodule "lib/bc"]
|
|
|
|
|
path = lib/bc
|
|
|
|
|
url = https://github.com/whoahq/bc
|
|
|
|
@@ -1,4 +1,5 @@
|
|
|
|
|
add_subdirectory(common)
|
|
|
|
|
add_subdirectory(squall)
|
|
|
|
|
add_subdirectory(system)
|
|
|
|
|
add_subdirectory(squall)
|
|
|
|
|
add_subdirectory(typhoon)
|
|
|
|
|
add_subdirectory(bc)
|
|
|
|
|
add_subdirectory(common)
|
Submodule
lib/bc added at
39f4bd35a3.
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
|
#include "gx/gll/CGxDeviceGLL.hpp"
|
|
|
|
|
#include "gx/Device.hpp"
|
|
|
|
|
#include "gx/Window.hpp"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
void MacOnKeyDown(NSEvent* event) {
|
|
|
|
|
BLIZZARD_ASSERT(false);
|
|
|
|
|
|
|
|
@@ -21,6 +21,7 @@ target_link_libraries(client
|
|
|
|
|
util
|
|
|
|
|
world
|
|
|
|
|
PUBLIC
|
|
|
|
|
bc
|
|
|
|
|
common
|
|
|
|
|
storm
|
|
|
|
|
)
|
|
|
|
@@ -11,10 +11,10 @@
|
|
|
|
|
#include "net/Poll.hpp"
|
|
|
|
|
#include "ui/FrameScript.hpp"
|
|
|
|
|
#include "ui/FrameXML.hpp"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include "util/CVar.hpp"
|
|
|
|
|
#include "world/World.hpp"
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
#include <common/Prop.hpp>
|
|
|
|
|
#include <storm/Error.hpp>
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -29,6 +29,7 @@ target_link_libraries(gx
|
|
|
|
|
ui
|
|
|
|
|
util
|
|
|
|
|
PUBLIC
|
|
|
|
|
bc
|
|
|
|
|
freetype-2.0
|
|
|
|
|
storm
|
|
|
|
|
tempest
|
|
|
|
|
|
|
|
@@ -10,6 +10,7 @@
|
|
|
|
|
#include <cmath>
|
|
|
|
|
#include <cstdio>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
GLEnum CGxDeviceGLL::s_glCubeMapFaces[] = {
|
|
|
|
|
GL_TEXTURE_CUBE_MAP_POSITIVE_X,
|
|
|
|
|
|
|
|
@@ -1,7 +1,8 @@
|
|
|
|
|
#include "gx/gll/GLBuffer.h"
|
|
|
|
|
#include "gx/gll/GLDevice.h"
|
|
|
|
|
#include "gx/gll/GLPool.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
#include <bc/Memory.hpp>
|
|
|
|
|
|
|
|
|
|
bool GLBuffer::m_UsingVBO = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -3,12 +3,12 @@
|
|
|
|
|
|
|
|
|
|
#include "gx/gll/GLAbstractWindow.h"
|
|
|
|
|
#include "gx/gll/GLTypes.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
#include <map>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <CoreFoundation/CoreFoundation.h>
|
|
|
|
|
#include <bc/Thread.hpp>
|
|
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
|
#include <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
@@ -1,6 +1,7 @@
|
|
|
|
|
#include "gx/gll/GLContext.h"
|
|
|
|
|
#include "gx/gll/GLDevice.h"
|
|
|
|
|
#include "util/Autorelease.hpp"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
NSOpenGLContext* GLContext::s_MainContext;
|
|
|
|
|
Blizzard::Thread::TLSSlot GLContext::s_CurrentContext;
|
|
|
|
|
|
|
|
@@ -7,6 +7,7 @@
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <type_traits>
|
|
|
|
|
#include <ApplicationServices/ApplicationServices.h>
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
#define GL_MAX_STREAM 4
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -15,11 +15,11 @@
|
|
|
|
|
#include "gx/gll/GLTypes.h"
|
|
|
|
|
#include "gx/gll/GLVertexArray.h"
|
|
|
|
|
#include "gx/gll/GLWorker.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
#include <list>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <bc/Thread.hpp>
|
|
|
|
|
|
|
|
|
|
class GLDevice {
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
@@ -3,6 +3,7 @@
|
|
|
|
|
#include "gx/gll/GLMipmap.h"
|
|
|
|
|
#include "gx/gll/GLPool.h"
|
|
|
|
|
#include "gx/gll/GLTypes.h"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
GLFramebuffer* GLFramebuffer::Create(bool a1) {
|
|
|
|
|
GLFramebuffer* framebuffer = new GLFramebuffer(a1);
|
|
|
|
|
|
|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
#include "gx/gll/GLCommand.h"
|
|
|
|
|
#include "gx/gll/GLDevice.h"
|
|
|
|
|
#include "gx/gll/GLFramebuffer.h"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
int32_t GLMipmap::GetDepthBits() {
|
|
|
|
|
return this->m_DepthBits;
|
|
|
|
|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
#include "gx/gll/GLObject.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
void GLObject::AddRefTwin() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -3,6 +3,7 @@
|
|
|
|
|
#include "gx/gll/GLPixelShader.h"
|
|
|
|
|
#include "gx/gll/GLPool.h"
|
|
|
|
|
#include "gx/gll/GLVertexShader.h"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
// TODO
|
|
|
|
|
// - threaded compiler support
|
|
|
|
|
|
|
|
@@ -5,6 +5,8 @@
|
|
|
|
|
#include "gx/gll/GLUtil.h"
|
|
|
|
|
#include "gx/texture/CGxTex.hpp"
|
|
|
|
|
#include <deque>
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
#include <bc/Memory.hpp>
|
|
|
|
|
|
|
|
|
|
Blizzard::Thread::TLSSlot GLTexture::m_Bindings[4];
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -4,9 +4,9 @@
|
|
|
|
|
#include "gx/gll/GL.h"
|
|
|
|
|
#include "gx/gll/GLObject.h"
|
|
|
|
|
#include "gx/gll/GLTypes.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <list>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <bc/Thread.hpp>
|
|
|
|
|
|
|
|
|
|
#define GLTFLAG_RENDERTARGET 0x1
|
|
|
|
|
#define GLTFLAG_DEPTH 0x2
|
|
|
|
|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
#include "gx/gll/GLUtil.h"
|
|
|
|
|
#include "util/BlizzardCore.hpp"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
uint32_t GLLTextureTypeToIndex(GLEnum textureType) {
|
|
|
|
|
uint32_t index;
|
|
|
|
|
|
|
|
@@ -1,5 +1,6 @@
|
|
|
|
|
#include "gx/gll/GLVertexArray.h"
|
|
|
|
|
#include "gx/gll/GLDevice.h"
|
|
|
|
|
#include <bc/Debug.hpp>
|
|
|
|
|
|
|
|
|
|
bool GLVertexArray::s_VertexArrayEnable = false;
|
|
|
|
|
|
|
|
|
|