[Piglit] [PATCH 06/15] arb_direct_state_access: Testing CopyNamedBufferSubData.
Ilia Mirkin
imirkin at alum.mit.edu
Sat Oct 31 18:15:12 PDT 2015
What happened here? There are no references to NamedBuffer* in piglit.
On Wed, Apr 1, 2015 at 7:52 AM, Martin Peres
<martin.peres at linux.intel.com> wrote:
> On 23/01/15 21:03, Laura Ekstrand wrote:
>>
>> ---
>> tests/spec/arb_direct_state_access/namedbufferstorage.c | 7 +------
>> 1 file changed, 1 insertion(+), 6 deletions(-)
>>
>> diff --git a/tests/spec/arb_direct_state_access/namedbufferstorage.c
>> b/tests/spec/arb_direct_state_access/namedbufferstorage.c
>> index 6630467..c68bc27 100644
>> --- a/tests/spec/arb_direct_state_access/namedbufferstorage.c
>> +++ b/tests/spec/arb_direct_state_access/namedbufferstorage.c
>> @@ -218,15 +218,10 @@ read_subtest(GLboolean coherent, GLboolean
>> client_storage)
>> glClear(GL_COLOR_BUFFER_BIT);
>> glCreateBuffers(1, &srcbuf);
>> glNamedBufferData(srcbuf, BUF_SIZE, array, GL_STATIC_DRAW);
>> - glBindBuffer(GL_COPY_READ_BUFFER, srcbuf);
>> /* Copy some data to the mapped buffer and check if the CPU can
>> see it. */
>> - glBindBuffer(GL_COPY_WRITE_BUFFER, buffer);
>> - glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER,
>> - 0, 0, BUF_SIZE);
>> + glCopyNamedBufferSubData(srcbuf, buffer, 0, 0, BUF_SIZE);
>> - glBindBuffer(GL_COPY_READ_BUFFER, 0);
>> - glBindBuffer(GL_COPY_WRITE_BUFFER, 0);
>> glDeleteBuffers(1, &srcbuf);
>> if (!coherent)
>
> Same as patch 4.
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list