<div dir="ltr">
<pre>From 5e91f6e5585c0d8db4183fb15f77a484b397044c Mon Sep 17 00:00:00 2001
From: kenmays <<a href="mailto:maybird1776@yahoo.com">maybird1776@yahoo.com</a>>
Date: Fri, 20 Sep 2019 19:06:42 +0000
Subject: [PATCH] hgl_context.h: add pipe_surface
<br>diff --git a/src/gallium/state_trackers/hgl/hgl_context.h.older b/src/gallium/state_trackers/hgl/hgl_context.h
index 5acb2f0..c5995f1 100644
--- a/src/gallium/state_trackers/hgl/hgl_context.h.older
+++ b/src/gallium/state_trackers/hgl/hgl_context.h
@@ -39,6 +39,8 @@ struct hgl_buffer
unsigned mask;
struct pipe_screen* screen;
+ struct pipe_surface* surface;
+
enum pipe_texture_target target;
struct pipe_resource* textures[ST_ATTACHMENT_COUNT];
@@ -80,6 +82,8 @@ struct hgl_context
struct hgl_buffer* read;
};
+// hgl_buffer from statetracker interface
+struct hgl_buffer* hgl_st_framebuffer(struct st_framebuffer_iface *stfbi);
// hgl state_tracker api
struct st_api* hgl_create_st_api(void);</pre>
</div>