Home | History | Annotate | Download | only in main

Lines Matching refs:Access

166  * Convert a GLbitfield describing the mapped buffer access flags
170 simplified_access_mode(GLbitfield access)
173 if ((access & rwFlags) == rwFlags)
175 if ((access & GL_MAP_READ_BIT) == GL_MAP_READ_BIT)
177 if ((access & GL_MAP_WRITE_BIT) == GL_MAP_WRITE_BIT)
509 GLsizeiptr length, GLbitfield access,
518 bufObj->AccessFlags = access;
1140 _mesa_MapBufferARB(GLenum target, GLenum access)
1150 switch (access) {
1169 _mesa_error(ctx, GL_INVALID_ENUM, "glMapBufferARB(access)");
1205 if (access == GL_WRITE_ONLY_ARB || access == GL_READ_WRITE_ARB)
1209 printf("glMapBufferARB(%u, sz %ld, access 0x%x)\n",
1210 bufObj->Name, bufObj->Size, access);
1211 if (access == GL_WRITE_ONLY_ARB) {
1252 if (bufObj->Access != GL_READ_ONLY_ARB) {
1508 GLbitfield access)
1534 if (access & ~(GL_MAP_READ_BIT |
1541 _mesa_error(ctx, GL_INVALID_VALUE, "glMapBufferRange(access)");
1545 if ((access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == 0) {
1547 "glMapBufferRange(access indicates neither read or write)");
1551 if ((access & GL_MAP_READ_BIT) &&
1552 (access & (GL_MAP_INVALIDATE_RANGE_BIT |
1556 "glMapBufferRange(invalid access flags)");
1560 if ((access & GL_MAP_FLUSH_EXPLICIT_BIT) &&
1561 ((access & GL_MAP_WRITE_BIT) == 0)) {
1563 "glMapBufferRange(invalid access flags)");
1595 bufObj->AccessFlags = access;
1600 map = ctx->Driver.MapBufferRange(ctx, offset, length, access, bufObj);
1612 ASSERT(bufObj->AccessFlags == access);