Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mesa
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,903
Issues
1,903
List
Boards
Labels
Milestones
Merge Requests
318
Merge Requests
318
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mesa
mesa
Commits
b33fd3ce
Commit
b33fd3ce
authored
Mar 22, 2010
by
Michal Krol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gallium: Usage parameter of get_transfer/transfer_inline_write is a bitfield.
parent
9c1162d9
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
24 additions
and
24 deletions
+24
-24
src/gallium/auxiliary/util/u_resource.c
src/gallium/auxiliary/util/u_resource.c
+1
-1
src/gallium/auxiliary/util/u_transfer.c
src/gallium/auxiliary/util/u_transfer.c
+2
-2
src/gallium/auxiliary/util/u_transfer.h
src/gallium/auxiliary/util/u_transfer.h
+6
-6
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/cell/ppu/cell_texture.c
+1
-1
src/gallium/drivers/i915/i915_resource_buffer.c
src/gallium/drivers/i915/i915_resource_buffer.c
+1
-1
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/identity/id_context.c
+2
-2
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
+1
-1
src/gallium/drivers/nv50/nv50_transfer.c
src/gallium/drivers/nv50/nv50_transfer.c
+1
-1
src/gallium/drivers/nv50/nv50_transfer.h
src/gallium/drivers/nv50/nv50_transfer.h
+1
-1
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/nvfx/nvfx_transfer.c
+1
-1
src/gallium/drivers/nvfx/nvfx_transfer.h
src/gallium/drivers/nvfx/nvfx_transfer.h
+1
-1
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_texture.c
+1
-1
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_resource_texture.c
+1
-1
src/gallium/drivers/trace/tr_context.c
src/gallium/drivers/trace/tr_context.c
+2
-2
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_context.h
+2
-2
No files found.
src/gallium/auxiliary/util/u_resource.c
View file @
b33fd3ce
...
...
@@ -75,7 +75,7 @@ void u_transfer_unmap_vtbl( struct pipe_context *pipe,
void
u_transfer_inline_write_vtbl
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
src/gallium/auxiliary/util/u_transfer.c
View file @
b33fd3ce
...
...
@@ -10,7 +10,7 @@
void
u_default_transfer_inline_write
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
@@ -79,7 +79,7 @@ unsigned u_default_is_resource_referenced( struct pipe_context *pipe,
struct
pipe_transfer
*
u_default_get_transfer
(
struct
pipe_context
*
context
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
pipe_transfer
*
transfer
=
CALLOC_STRUCT
(
pipe_transfer
);
...
...
src/gallium/auxiliary/util/u_transfer.h
View file @
b33fd3ce
...
...
@@ -16,7 +16,7 @@ boolean u_default_resource_get_handle(struct pipe_screen *screen,
void
u_default_transfer_inline_write
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
@@ -33,7 +33,7 @@ unsigned u_default_is_resource_referenced( struct pipe_context *pipe,
struct
pipe_transfer
*
u_default_get_transfer
(
struct
pipe_context
*
context
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
);
void
u_default_transfer_unmap
(
struct
pipe_context
*
pipe
,
...
...
@@ -63,7 +63,7 @@ struct u_resource_vtbl {
struct
pipe_transfer
*
(
*
get_transfer
)(
struct
pipe_context
*
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
,
enum
pipe_transfer_
usage
,
unsigned
usage
,
const
struct
pipe_box
*
);
void
(
*
transfer_destroy
)(
struct
pipe_context
*
,
...
...
@@ -82,7 +82,7 @@ struct u_resource_vtbl {
void
(
*
transfer_inline_write
)(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
@@ -110,7 +110,7 @@ unsigned u_is_resource_referenced_vtbl( struct pipe_context *pipe,
struct
pipe_transfer
*
u_get_transfer_vtbl
(
struct
pipe_context
*
context
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
);
void
u_transfer_destroy_vtbl
(
struct
pipe_context
*
pipe
,
...
...
@@ -129,7 +129,7 @@ void u_transfer_unmap_vtbl( struct pipe_context *rm_ctx,
void
u_transfer_inline_write_vtbl
(
struct
pipe_context
*
rm_ctx
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
src/gallium/drivers/cell/ppu/cell_texture.c
View file @
b33fd3ce
...
...
@@ -360,7 +360,7 @@ static struct pipe_transfer *
cell_get_transfer
(
struct
pipe_context
*
ctx
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
cell_resource
*
ct
=
cell_resource
(
resource
);
...
...
src/gallium/drivers/i915/i915_resource_buffer.c
View file @
b33fd3ce
...
...
@@ -75,7 +75,7 @@ static void
i915_buffer_transfer_inline_write
(
struct
pipe_context
*
rm_ctx
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
src/gallium/drivers/identity/id_context.c
View file @
b33fd3ce
...
...
@@ -738,7 +738,7 @@ static struct pipe_transfer *
identity_context_get_transfer
(
struct
pipe_context
*
_context
,
struct
pipe_resource
*
_resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
identity_context
*
id_context
=
identity_context
(
_context
);
...
...
@@ -815,7 +815,7 @@ static void
identity_context_transfer_inline_write
(
struct
pipe_context
*
_context
,
struct
pipe_resource
*
_resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
src/gallium/drivers/llvmpipe/lp_texture.c
View file @
b33fd3ce
...
...
@@ -364,7 +364,7 @@ static struct pipe_transfer *
llvmpipe_get_transfer
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
llvmpipe_resource
*
lptex
=
llvmpipe_resource
(
resource
);
...
...
src/gallium/drivers/nv50/nv50_transfer.c
View file @
b33fd3ce
...
...
@@ -126,7 +126,7 @@ struct pipe_transfer *
nv50_miptree_transfer_new
(
struct
pipe_context
*
pcontext
,
struct
pipe_resource
*
pt
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
pipe_screen
*
pscreen
=
pcontext
->
screen
;
...
...
src/gallium/drivers/nv50/nv50_transfer.h
View file @
b33fd3ce
...
...
@@ -9,7 +9,7 @@ struct pipe_transfer *
nv50_miptree_transfer_new
(
struct
pipe_context
*
pcontext
,
struct
pipe_resource
*
pt
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
);
void
nv50_miptree_transfer_del
(
struct
pipe_context
*
pcontext
,
...
...
src/gallium/drivers/nvfx/nvfx_transfer.c
View file @
b33fd3ce
...
...
@@ -38,7 +38,7 @@ struct pipe_transfer *
nvfx_miptree_transfer_new
(
struct
pipe_context
*
pcontext
,
struct
pipe_resource
*
pt
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
pipe_screen
*
pscreen
=
pcontext
->
screen
;
...
...
src/gallium/drivers/nvfx/nvfx_transfer.h
View file @
b33fd3ce
...
...
@@ -10,7 +10,7 @@ struct pipe_transfer *
nvfx_miptree_transfer_new
(
struct
pipe_context
*
pcontext
,
struct
pipe_resource
*
pt
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
);
void
nvfx_miptree_transfer_del
(
struct
pipe_context
*
pcontext
,
...
...
src/gallium/drivers/softpipe/sp_texture.c
View file @
b33fd3ce
...
...
@@ -310,7 +310,7 @@ static struct pipe_transfer *
softpipe_get_transfer
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
softpipe_resource
*
sptex
=
softpipe_resource
(
resource
);
...
...
src/gallium/drivers/svga/svga_resource_texture.c
View file @
b33fd3ce
...
...
@@ -341,7 +341,7 @@ static struct pipe_transfer *
svga_texture_get_transfer
(
struct
pipe_context
*
pipe
,
struct
pipe_resource
*
texture
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
svga_screen
*
ss
=
svga_screen
(
pipe
->
screen
);
...
...
src/gallium/drivers/trace/tr_context.c
View file @
b33fd3ce
...
...
@@ -1305,7 +1305,7 @@ static struct pipe_transfer *
trace_context_get_transfer
(
struct
pipe_context
*
_context
,
struct
pipe_resource
*
_resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
)
{
struct
trace_context
*
tr_context
=
trace_context
(
_context
);
...
...
@@ -1457,7 +1457,7 @@ static void
trace_context_transfer_inline_write
(
struct
pipe_context
*
_context
,
struct
pipe_resource
*
_resource
,
struct
pipe_subresource
sr
,
enum
pipe_transfer_usage
usage
,
unsigned
usage
,
const
struct
pipe_box
*
box
,
const
void
*
data
,
unsigned
stride
,
...
...
src/gallium/include/pipe/p_context.h
View file @
b33fd3ce
...
...
@@ -315,7 +315,7 @@ struct pipe_context {
struct
pipe_transfer
*
(
*
get_transfer
)(
struct
pipe_context
*
,
struct
pipe_resource
*
resource
,
struct
pipe_subresource
,
enum
pipe_transfer_usage
,
unsigned
usage
,
/* a combination of PIPE_TRANSFER_x */
const
struct
pipe_box
*
);
void
(
*
transfer_destroy
)(
struct
pipe_context
*
,
...
...
@@ -342,7 +342,7 @@ struct pipe_context {
void
(
*
transfer_inline_write
)(
struct
pipe_context
*
,
struct
pipe_resource
*
,
struct
pipe_subresource
,
enum
pipe_transfer_usage
,
unsigned
usage
,
/* a combination of PIPE_TRANSFER_x */
const
struct
pipe_box
*
,
const
void
*
data
,
unsigned
stride
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment