projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r300/compiler: refactor fragment shader compilation
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
intel
/
intel_syncobj.c
diff --git
a/src/mesa/drivers/dri/intel/intel_syncobj.c
b/src/mesa/drivers/dri/intel/intel_syncobj.c
index 0d7889d3c258179bf74b6ee4ac28aeddbb79d805..c2d86432ff9ca0cbd685c479f14a3414683f67a7 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_syncobj.c
+++ b/
src/mesa/drivers/dri/intel/intel_syncobj.c
@@
-50,7
+50,7
@@
intel_new_sync_object(GLcontext *ctx, GLuint id)
{
struct intel_sync_object *sync;
{
struct intel_sync_object *sync;
- sync =
_mesa_calloc(
sizeof(struct intel_sync_object));
+ sync =
calloc(1,
sizeof(struct intel_sync_object));
return &sync->Base;
}
return &sync->Base;
}
@@
-61,7
+61,7
@@
intel_delete_sync_object(GLcontext *ctx, struct gl_sync_object *s)
struct intel_sync_object *sync = (struct intel_sync_object *)s;
drm_intel_bo_unreference(sync->bo);
struct intel_sync_object *sync = (struct intel_sync_object *)s;
drm_intel_bo_unreference(sync->bo);
-
_mesa_
free(sync);
+ free(sync);
}
static void
}
static void
@@
-77,7
+77,7
@@
intel_fence_sync(GLcontext *ctx, struct gl_sync_object *s,
sync->bo = intel->batch->buf;
drm_intel_bo_reference(sync->bo);
sync->bo = intel->batch->buf;
drm_intel_bo_reference(sync->bo);
- intel
F
lush(ctx);
+ intel
_f
lush(ctx);
}
/* We ignore the user-supplied timeout. This is weaselly -- we're allowed to
}
/* We ignore the user-supplied timeout. This is weaselly -- we're allowed to