summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-09-22 15:33:49 -0700
committerFrancisco Jerez <[email protected]>2013-10-29 12:40:55 -0700
commitc4e730e218a5e8fa329bb122b293b456f373b41b (patch)
treec2967fcd4c5a76ee017629ff4656daefc9e534a3 /src/mesa/drivers/dri/i965/brw_context.h
parent7a54db9ce51f6867c2c56f4324b65ca7bce34475 (diff)
i965: Define vtbl method that initializes an untyped R/W surface.
And add Gen7 implementation. v2: Fix off by one error in buffer size calculation. Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 57ed7d601ed..d13a88c9877 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -945,6 +945,13 @@ struct brw_context
uint32_t *out_offset,
bool dword_pitch);
+ void (*create_raw_surface)(struct brw_context *brw,
+ drm_intel_bo *bo,
+ uint32_t offset,
+ uint32_t size,
+ uint32_t *out_offset,
+ bool rw);
+
/** Upload a SAMPLER_STATE table. */
void (*upload_sampler_state_table)(struct brw_context *brw,
struct gl_program *prog,