summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/haiku-softpipe/GalliumContext.h
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2014-08-25 21:26:15 +0000
committerAlexander von Gluck IV <[email protected]>2014-08-28 21:27:29 -0400
commit311b59495c81f26ee3bee4d8c9e36c0ce15be155 (patch)
tree72a99e914c9626ce9130ea94368c5eec269f7dae /src/gallium/targets/haiku-softpipe/GalliumContext.h
parent86d1aa8531fabb41c32c128305af625458c0fa7f (diff)
gallium/targets: Break haiku state_tracker out to own directory
Ack'ed by Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/GalliumContext.h')
-rw-r--r--src/gallium/targets/haiku-softpipe/GalliumContext.h34
1 files changed, 3 insertions, 31 deletions
diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.h b/src/gallium/targets/haiku-softpipe/GalliumContext.h
index 6c11c0fdf46..cf8895e6826 100644
--- a/src/gallium/targets/haiku-softpipe/GalliumContext.h
+++ b/src/gallium/targets/haiku-softpipe/GalliumContext.h
@@ -13,44 +13,16 @@
#include <kernel/image.h>
extern "C" {
-#include "state_tracker/st_api.h"
+//#include "state_tracker/st_api.h"
#include "pipe/p_compiler.h"
#include "pipe/p_screen.h"
#include "postprocess/filters.h"
#include "os/os_thread.h"
+#include "hgl_context.h"
}
-#include "bitmap_wrapper.h"
-#include "GalliumFramebuffer.h"
-
-
-#define CONTEXT_MAX 32
-
-
-typedef int64 context_id;
-struct hgl_context
-{
- struct st_api* api;
- // State Tracker API
- struct st_manager* manager;
- // State Tracker Manager
- struct st_context_iface* st;
- // State Tracker Interface Object
- struct st_visual* stVisual;
- // State Tracker Visual
-
- struct pipe_resource* textures[ST_ATTACHMENT_COUNT];
-
- // Post processing
- struct pp_queue_t* postProcess;
- unsigned int postProcessEnable[PP_FILTERS];
-
- Bitmap* bitmap;
- color_space colorSpace;
+#include "bitmap_wrapper.h"
- GalliumFramebuffer* draw;
- GalliumFramebuffer* read;
-};
class GalliumContext {