- change storage class from static to extern
- rename validate_texbuffer_format to _mesa_validate_texbuffer_format
---
src/mesa/main/teximage.c | 7 ---
src/mesa/main/teximage.h | 4
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/
Add function to test if the buffer is already mapped and if so,
if the mapped range overlaps the given range.
Modify the _mesa_InvalidateBufferSubData function to use
the new function.
Enable buffer_object_subdata_range_good() to use bufferobj_range_mapped
---
src/mesa/main/bufferobj.c | 91 +
---
docs/relnotes/10.1.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/relnotes/10.1.html b/docs/relnotes/10.1.html
index dfb0969..778ae6a 100644
--- a/docs/relnotes/10.1.html
+++ b/docs/relnotes/10.1.html
@@ -45,6 +45,7 @@ Note: some of the new features are only available with
cert
- add xml file for extension
- add reference in gl_API.xml
- add pointer to device driver function table (dd.h)
- update dispatch_sanity.cpp
---
src/mapi/glapi/gen/ARB_clear_buffer_object.xml | 50 ++
src/mapi/glapi/gen/gl_API.xml | 6 +++-
src/mesa/ma
---
src/mesa/main/bufferobj.h | 59 ---
1 file changed, 45 insertions(+), 14 deletions(-)
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index b38519f..71988b0 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@
---
src/mesa/main/bufferobj.c | 43 +++
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 8f0dc8c..820cbcb 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -12
---
src/mesa/main/extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index cc85f78..2404d38 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -82,6 +82,7 @@ static const struct extension extension_table
---
src/mesa/main/teximage.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 0d436b2..f92dc1a 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -4054,15 +4054,10 @@ _mesa_validate_texbuffer
alpha, lumincance and intensity formats are illegal in a core context.
Add a check to return MESA_FORMAT_NONE if one of those is requested within
a core context.
---
src/mesa/main/teximage.c | 167 ---
1 file changed, 87 insertions(+), 80 deletions(-)
d
---
src/mesa/main/bufferobj.c | 271 ++
src/mesa/main/bufferobj.h | 4 +
2 files changed, 275 insertions(+)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 820cbcb..21f0ae1 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa
Hello,
third version of the patches to implement "ARB_clear_buffer_object".
I hope I got everything this time.
Best Regards,
Pi Tabred
Pi Tabred (10):
mesa: Add infrastructure for GL_ARB_clear_buffer_object
mesa: Make validate_texbuffer_format function available externally
me
I tried to tackle this issue:
>> There is still the issue regarding the following:
>> According to the spec, it should be possible to clear some part of a
>> buffer, even if a different, non-overlapping part is mapped, this is
>> currently not possible. It was suggested to implement ClearBufferSubD
I incorporated all hints except for the one regarding the malloc, not
sure about this one.
There is still the issue regarding the following:
According to the spec, it should be possible to clear some part of a
buffer, even if a different, non-overlapping part is mapped, this is
currently not possi
On 12.12.2013 01:39, Brian Paul wrote:
> On 12/11/2013 02:55 PM, Pi Tabred wrote:
>> - _mesa_buffer_clear_subdata: default callback for dd function table
>> - _mesa_ClearBufferData: API function
>> - _mesa_ClearBufferSubData: API function
>> - buffer_object_f
On 12.12.2013 01:39, Brian Paul wrote:
> On 12/11/2013 02:55 PM, Pi Tabred wrote:
>> - add xml file for extension
>> - add reference in gl_API.xml
>> - add pointer to device driver function table
>> - add new functions to list of available functions
>
>
alpha, lumincance and intensity formats are illegal in a core context.
Add a check to return MESA_FORMAT_NONE if one of those is requested within
a core context.
---
src/mesa/main/teximage.c | 167 ---
1 file changed, 87 insertions(+), 80 deletions(-)
d
---
src/mesa/main/teximage.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 21dcef5..cbe572c 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -4053,15 +4053,10 @@ _mesa_validate_texbuffer
---
src/mesa/main/extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 0828c60..6162802 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -82,6 +82,7 @@ static const struct extension extension_table
---
src/mesa/main/bufferobj.h | 59 ---
1 file changed, 45 insertions(+), 14 deletions(-)
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index b38519f..71988b0 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@
---
docs/relnotes/10.1.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/relnotes/10.1.html b/docs/relnotes/10.1.html
index dfb0969..778ae6a 100644
--- a/docs/relnotes/10.1.html
+++ b/docs/relnotes/10.1.html
@@ -45,6 +45,7 @@ Note: some of the new features are only available with
cert
- add xml file for extension
- add reference in gl_API.xml
- add pointer to device driver function table
- add new functions to list of available functions
---
src/mapi/glapi/gen/ARB_clear_buffer_object.xml | 50 ++
src/mapi/glapi/gen/gl_API.xml | 6 ++
---
src/mesa/main/bufferobj.c | 43 +++
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 98fd413..0e5b705 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -12
Add function to test if the buffer is already mapped and if so,
if the mapped range overlaps the given range.
Modify the _mesa_InvalidateBufferSubData function to use
the new function.
Enable buffer_object_subdata_range_good() to use bufferobj_range_mapped
---
src/mesa/main/bufferobj.c | 87 +
- _mesa_buffer_clear_subdata: default callback for dd function table
- _mesa_ClearBufferData: API function
- _mesa_ClearBufferSubData: API function
- buffer_object_format_good: helper function, check if the internalformat,
format and type parameter are legal
- buffer_object_convert_clear: h
- change storage class from static to extern
- rename validate_texbuffer_format to _mesa_validate_texbuffer_format
---
src/mesa/main/teximage.c | 7 ---
src/mesa/main/teximage.h | 4
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/
Hello,
second version of the patches to implement "ARB_clear_buffer_object" (as
suggested by Ian Romanick).
I tried to include all hints and hope I have not forgotten any.
Best Regards,
Pi Tabred
Pi Tabred (10):
mesa: Add infrastructure for GL_ARB_clear_buffer_object
On 11.12.2013 16:51, Brian Paul wrote:
> On 12/11/2013 05:21 AM, Pi Tabred wrote:
>>
>>
>> On 10.12.2013 17:44, Brian Paul wrote:
>>> On 12/10/2013 06:13 AM, Pi Tabred wrote:
>>>> ...
>>>> + }
>>>> + }
>>>>
On 10.12.2013 17:44, Brian Paul wrote:
> On 12/10/2013 06:13 AM, Pi Tabred wrote:
>> ...
>> + }
>> + }
>> +
>> + if (!_mesa_is_color_format(format)) {
>> + _mesa_error(ctx, GL_INVALID_ENUM,
>> + "glClearBufferD
On 10.12.2013 18:00, Marek Olšák wrote:
> On Tue, Dec 10, 2013 at 2:13 PM, Pi Tabred wrote:
>> - add xml file for extension
>> - add reference in gl_API.xml
>> - add pointer to device driver function table
>> - add new functions to list of available functions
&g
---
docs/relnotes/10.1.html| 1 +
src/mesa/main/extensions.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/relnotes/10.1.html b/docs/relnotes/10.1.html
index dfb0969..778ae6a 100644
--- a/docs/relnotes/10.1.html
+++ b/docs/relnotes/10.1.html
@@ -45,6 +45,7 @@ Note: some of the new
- _mesa_buffer_clear_subdata: default callback for dd function table
- _mesa_ClearBufferData: API function
- _mesa_ClearBufferSubData: API function
*NOTE* According to the spec, it should be possible to clear some part of
a buffer, even if a different, non-overlapping part is mapped, this is cu
- change storage class from static to extern
- rename validate_texbuffer_format to _mesa_validate_texbuffer_format
---
src/mesa/main/teximage.c | 398 ---
src/mesa/main/teximage.h | 4 +
2 files changed, 206 insertions(+), 196 deletions(-)
diff --gi
Add function to test if the buffer is already mapped and
if so, if the to be mapped range overlaps with the mapped range.
Modify the _mesa_InvalidateBufferSubData function to use
the new function.
---
src/mesa/main/bufferobj.c | 52 +--
1 file changed, 3
- add xml file for extension
- add reference in gl_API.xml
- add pointer to device driver function table
- add new functions to list of available functions
---
src/mapi/glapi/gen/ARB_clear_buffer_object.xml | 50 ++
src/mapi/glapi/gen/gl_API.xml | 6 ++
Hello,
these are some patches to implement "ARB_clear_buffer_object" (as suggested by
Ian Romanick).
I also wrote some piglit tests and will be submitting those in a minute.
Best Regards,
Pi Tabred
*Note* that I don't have write access.
Pi Tabred (5):
mesa: Add inf
35 matches
Mail list logo