Lines Matching refs:BufferObj
551 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_get_teximage()
559 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_get_teximage()
560 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); in _mesa_get_teximage()
588 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_get_teximage()
589 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj); in _mesa_get_teximage()
610 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_get_compressed_teximage()
613 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_get_compressed_teximage()
614 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj); in _mesa_get_compressed_teximage()
655 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_get_compressed_teximage()
656 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj); in _mesa_get_compressed_teximage()
772 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in getteximage_error_check()
783 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in getteximage_error_check()
785 if (_mesa_bufferobj_mapped(ctx->Pack.BufferObj)) { in getteximage_error_check()
821 if (!_mesa_is_bufferobj(ctx->Pack.BufferObj) && !pixels) { in _mesa_GetnTexImageARB()
909 if (!_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in getcompressedteximage_error_check()
920 (const GLubyte *) ctx->Pack.BufferObj->Size) { in getcompressedteximage_error_check()
927 if (_mesa_bufferobj_mapped(ctx->Pack.BufferObj)) { in getcompressedteximage_error_check()
951 if (!_mesa_is_bufferobj(ctx->Pack.BufferObj) && !img) { in _mesa_GetnCompressedTexImageARB()