Subversion Repositories Kolibri OS

Rev

Rev 5361 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5361 Rev 6139
Line 5175... Line 5175...
5175
                return VA_STATUS_ERROR_INVALID_BUFFER;
5175
                return VA_STATUS_ERROR_INVALID_BUFFER;
5176
            buf_info->handle = name;
5176
            buf_info->handle = name;
5177
            break;
5177
            break;
5178
        }
5178
        }
5179
        case VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME: {
5179
        case VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME: {
5180
            int fd;
5180
            int fd = -1;
5181
//            if (drm_intel_bo_gem_export_to_prime(buffer_store->bo, &fd) != 0)
5181
//            if (drm_intel_bo_gem_export_to_prime(buffer_store->bo, &fd) != 0)
5182
//                return VA_STATUS_ERROR_INVALID_BUFFER;
5182
//                return VA_STATUS_ERROR_INVALID_BUFFER;
5183
            buf_info->handle = (intptr_t)fd;
5183
            buf_info->handle = (intptr_t)fd;
5184
            break;
5184
            break;
5185
        }
5185
        }